Ticket #1350 (closed defect: needsinfo)
[NEEDS INFO] Cannot run 0ad-r11339, compiled from sources
| Reported by: | vitaliyy | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | |
| Component: | Core engine | Keywords: | |
| Cc: |
Description
Downloaded 0ad-r11339-alpha-unix-build.tar.xz and 0ad-r11339-alpha-unix-data.tar.xz and compiled successfully, but pyrogenesis cannot start, because of next (strace for pyrogenesis log is attached):
[vit@localhost system]$ ./pyrogenesis AL lib: alcConfig.c:153: config parse error: option without a value: "(define" AL lib: alcConfig.c:153: config parse error: option without a value: "(define" Cache: 500 (total: 3962) MiB TIMER| InitVfs: 133.558 ms TIMER| InitScripting: 51.3976 ms TIMER| CONFIG_Init: 51.0788 ms ERROR: CVFSFile: file hwdetect/hwdetect.js couldn't be opened (vfs_load: -110100) ERROR: Failed to load hardware detection script TIMER| RunHardwareDetection: 318.177 us TIMER| write_sys_info: 32.103 ms ERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110100) ERROR: Failed to read grammar shaders/program.rng TIMER| InitRenderer: 1.35188 ms ERROR: Failed to find font 'mono-10' unifont.cpp(212): Function call failed: return value was -110100 (VFS directory not found) Function call failed: return value was -110100 (VFS directory not found) Location: unifont.cpp:212 (unifont_linespacing) Call stack: (0x7dc43a) ./pyrogenesis() [0x7dc43a] (0x7824d1) ./pyrogenesis() [0x7824d1] (0x7831ae) ./pyrogenesis() [0x7831ae] (0x7829a9) ./pyrogenesis() [0x7829a9] (0x7b5b8a) ./pyrogenesis() [0x7b5b8a] (0x586ab9) ./pyrogenesis() [0x586ab9] (0x58a09d) ./pyrogenesis() [0x58a09d] (0x41c466) ./pyrogenesis() [0x41c466] (0x413147) ./pyrogenesis() [0x413147] (0x38f2c2143d) /lib64/libc.so.6(__libc_start_main+0xed) [0x38f2c2143d] (0x41b885) ./pyrogenesis() [0x41b885] errno = 0 (No error reported here) OS error = ? unifont.cpp(235): Function call failed: return value was -110100 (VFS directory not found) Function call failed: return value was -110100 (VFS directory not found) Location: unifont.cpp:235 (unifont_character_width) Call stack: (0x7dc43a) ./pyrogenesis() [0x7dc43a] (0x7824d1) ./pyrogenesis() [0x7824d1] (0x7831ae) ./pyrogenesis() [0x7831ae] (0x7829a9) ./pyrogenesis() [0x7829a9] (0x7b5e02) ./pyrogenesis() [0x7b5e02] (0x586ad0) ./pyrogenesis() [0x586ad0] (0x58a09d) ./pyrogenesis() [0x58a09d] (0x41c466) ./pyrogenesis() [0x41c466] (0x413147) ./pyrogenesis() [0x413147] (0x38f2c2143d) /lib64/libc.so.6(__libc_start_main+0xed) [0x38f2c2143d] (0x41b885) ./pyrogenesis() [0x41b885] errno = 0 (No error reported here) OS error = ? unifont.cpp(205): Function call failed: return value was -110100 (VFS directory not found) Function call failed: return value was -110100 (VFS directory not found) Location: unifont.cpp:205 (unifont_unload) Call stack: (0x7dc43a) ./pyrogenesis() [0x7dc43a] (0x7824d1) ./pyrogenesis() [0x7824d1] (0x7831ae) ./pyrogenesis() [0x7831ae] (0x7829a9) ./pyrogenesis() [0x7829a9] (0x7b5aaa) ./pyrogenesis() [0x7b5aaa] (0x586afe) ./pyrogenesis() [0x586afe] (0x58a09d) ./pyrogenesis() [0x58a09d] (0x41c466) ./pyrogenesis() [0x41c466] (0x413147) ./pyrogenesis() [0x413147] (0x38f2c2143d) /lib64/libc.so.6(__libc_start_main+0xed) [0x38f2c2143d] (0x41b885) ./pyrogenesis() [0x41b885] errno = 0 (No error reported here) OS error = ? TIMER| ps_console: 14.3276 s TIMER| ps_lang_hotkeys: 696.294 us ERROR: CCacheLoader failed to find archived or source file for: "gui/page_pregame.xml" ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_solid.xml" ERROR: Failed to load effect 'model_solid' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_solid_instancing.xml" ERROR: Failed to load effect 'model_solid_instancing' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_solid_player.xml" ERROR: Failed to load effect 'model_solid_player' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_solid_player_instancing.xml" ERROR: Failed to load effect 'model_solid_player_instancing' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_normal.xml" ERROR: Failed to load effect 'model_normal' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_normal_instancing.xml" ERROR: Failed to load effect 'model_normal_instancing' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_normal.xml" ERROR: Failed to load effect 'model_normal' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_normal_instancing.xml" ERROR: Failed to load effect 'model_normal_instancing' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_transparent.xml" ERROR: Failed to load effect 'model_transparent' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_transparent_opaque.xml" ERROR: Failed to load effect 'model_transparent_opaque' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_transparent_blend.xml" ERROR: Failed to load effect 'model_transparent_blend' ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/model_transparent_shadow.xml" ERROR: Failed to load effect 'model_transparent_shadow' ERROR: Failed to find font 'mono-stroke-10' unifont.cpp(212): Function call failed: return value was -110100 (VFS directory not found) Function call failed: return value was -110100 (VFS directory not found) Location: unifont.cpp:212 (unifont_linespacing) Call stack: (0x7dc43a) ./pyrogenesis() [0x7dc43a] (0x7824d1) ./pyrogenesis() [0x7824d1] (0x7831ae) ./pyrogenesis() [0x7831ae] (0x7829a9) ./pyrogenesis() [0x7829a9] (0x7b5b8a) ./pyrogenesis() [0x7b5b8a] (0x57cf5e) ./pyrogenesis() [0x57cf5e] (0x58707f) ./pyrogenesis() [0x58707f] (0x41d263) ./pyrogenesis() [0x41d263] (0x413147) ./pyrogenesis() [0x413147] (0x38f2c2143d) /lib64/libc.so.6(__libc_start_main+0xed) [0x38f2c2143d] (0x41b885) ./pyrogenesis() [0x41b885] errno = 0 (Try again later) OS error = ? ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/gui_text.xml" ERROR: Failed to load effect 'gui_text' Segmentation fault (core dumped) [vit@localhost system]$ uname -a Linux localhost 2.6.38.6-26.rc1.fc15.x86_64 #1 SMP Mon May 9 20:45:15 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux [vit@localhost system]$
Attachments
Change History
comment:1 follow-up: ↓ 3 Changed 13 months ago by historic_bruno
It's not finding your data, where did you extract it and which build options did you use?
comment:3 in reply to: ↑ 1 Changed 13 months ago by vitaliyy
Replying to historic_bruno:
It's not finding your data, where did you extract it and which build options did you use?
I did it according to Compiling on Linux, i. e. both 0ad-r11339-alpha-unix-build.tar.xz and 0ad-r11339-alpha-unix-data.tar.xz were extracted into one dir and built according to Building.
comment:4 Changed 13 months ago by Philip
open("/home/vit/Download/games/0ad/0ad-r11339-alpha/binaries/data/mods/public/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
It expects the data.tar.xz to have been extracted so that you have a /home/vit/Download/games/0ad/0ad-r11339-alpha/binaries/data/mods/public/public.zip, which apparently doesn't exist.
Rather than crashing it should eventually print an error.
Yeah, the current data-files-not-found behaviour is very unhelpful.
comment:5 Changed 9 months ago by historic_bruno
- Status changed from new to closed
- Summary changed from Cannot run 0ad-r11339, compiled from sources to [NEEDS INFO] Cannot run 0ad-r11339, compiled from sources
- Resolution set to needsinfo
- Milestone Backlog deleted
comment:6 follow-up: ↓ 7 Changed 9 months ago by fabio
This is still missing on this ticket:
Rather than crashing it should eventually print an error.
Yeah, the current data-files-not-found behaviour is very unhelpful.
comment:7 in reply to: ↑ 6 Changed 9 months ago by historic_bruno
Replying to fabio:
This is still missing on this ticket:
Rather than crashing it should eventually print an error.
Yeah, the current data-files-not-found behaviour is very unhelpful.
Agreed but I would rather create a new ticket for that. The original report can't be resolved without knowing how the user tried to install the game/data :)
