Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1350 closed defect (needsinfo)

[NEEDS INFO] Cannot run 0ad-r11339, compiled from sources

Reported by: Vi+ Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

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 (1)

pyrogenesis.strace.txt (248.8 KB ) - added by Vi+ 12 years ago.

Download all attachments as: .zip

Change History (8)

by Vi+, 12 years ago

Attachment: pyrogenesis.strace.txt added

comment:1 by historic_bruno, 12 years ago

It's not finding your data, where did you extract it and which build options did you use?

comment:2 by fabio, 12 years ago

Rather than crashing it should eventually print an error.

in reply to:  1 comment:3 by Vi+, 12 years ago

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 by Philip Taylor, 12 years ago

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 by historic_bruno, 12 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed
Summary: Cannot run 0ad-r11339, compiled from sources[NEEDS INFO] Cannot run 0ad-r11339, compiled from sources

comment:6 by fabio, 12 years ago

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.

in reply to:  6 comment:7 by historic_bruno, 12 years ago

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 :)

Note: See TracTickets for help on using tickets.