JPRuehmann Posted March 12, 2021 Report Share Posted March 12, 2021 Hello I´ve updated via your dev repository on kubuntu 18.04 LTE (32Bit) Erverytime I try to start 0ad I get the following instead of starting the Game. TIMER| InitVfs: 11.0023 ms Writing the mainlog at /home/ruehmann/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 5.47659 ms file_system.cpp(122): Function call failed: return value was -1 (Function failed (no details available)) Function call failed: return value was -1 (Function failed (no details available)) Location: file_system.cpp:122 (GetDirectoryEntries) Call stack: (0xaaf205) /usr/games/pyrogenesis(+0x606205) [0xaaf205] (0xa5355d) /usr/games/pyrogenesis(+0x5aa55d) [0xa5355d] (0xa552de) /usr/games/pyrogenesis(+0x5ac2de) [0xa552de] (0xa654fe) /usr/games/pyrogenesis(+0x5bc4fe) [0xa654fe] (0xa8068b) /usr/games/pyrogenesis(+0x5d768b) [0xa8068b] (0xa7b590) /usr/games/pyrogenesis(+0x5d2590) [0xa7b590] (0xa7a47b) /usr/games/pyrogenesis(+0x5d147b) [0xa7a47b] (0xa6e1ee) /usr/games/pyrogenesis(+0x5c51ee) [0xa6e1ee] (0x6f8e10) /usr/games/pyrogenesis(+0x24fe10) [0x6f8e10] (0x738c72) /usr/games/pyrogenesis(+0x28fc72) [0x738c72] (0x73beb9) /usr/games/pyrogenesis(+0x292eb9) [0x73beb9] (0x71348a) /usr/games/pyrogenesis(+0x26a48a) [0x71348a] (0x4e6cd3) /usr/games/pyrogenesis(+0x3dcd3) [0x4e6cd3] (0x4d07d6) /usr/games/pyrogenesis(+0x277d6) [0x4d07d6] (0xb64e0f21) /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xb64e0f21] (0x4df9ac) /usr/games/pyrogenesis(+0x369ac) [0x4df9ac] errno = 0 (?) OS error = ? What has gone wrong and how can I make it run? Thanks, Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted March 12, 2021 Report Share Posted March 12, 2021 Hi @JPRuehmann! Could you attach logs and system_info from the logs folder. You might find it for your system at https://trac.wildfiregames.com/wiki/GameDataPaths#Linux Quote Link to comment Share on other sites More sharing options...
JPRuehmann Posted March 12, 2021 Author Report Share Posted March 12, 2021 Here are the Files from ~/.config/0ad/logs/ Hope that helps. mainlog.html interestinglog.html crashlog.txt Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 12, 2021 Report Share Posted March 12, 2021 (edited) 4 hours ago, JPRuehmann said: file_system.cpp(122): Function call failed: return value was -1 There the stat() starts. Here are the options when -1 is returned https://pubs.opengroup.org/onlinepubs/009695399/functions/stat.html Try to start the game from strace: strace -o debug.txt -f -s 1000 /usr/games/pyrogenesis and attach the output: grep -E '(open|stat)' debug.txt Edited March 12, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
JPRuehmann Posted March 13, 2021 Author Report Share Posted March 13, 2021 Hope that helps. Worrks only the First time. debug.zip Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 13, 2021 Report Share Posted March 13, 2021 17 minutes ago, JPRuehmann said: Hope that helps. Worrks only the First time. 31012 openat(AT_FDCWD, "/usr/share/games/0ad/mods/public", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 7 31012 fstat64(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 31012 getdents(7, /* 3 entries */, 32768) = 56 31012 stat64("/usr/share/games/0ad/mods/public/public.zip", {st_mode=S_IFREG|0644, st_size=2644800852, ...}) = 0 31012 write(1, "file_system.cpp(122): Function call failed: return value was -1 (Function failed (no details available))\n", 105) = 105 The game doesn't like the file /usr/share/games/0ad/mods/public/public.zip Quote Link to comment Share on other sites More sharing options...
Silier Posted March 13, 2021 Report Share Posted March 13, 2021 can you try to unzip it and run the game then? just make sure there is only one /public and not /public/public also may wanna do backup of public.zip Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 13, 2021 Report Share Posted March 13, 2021 In short, in the game, the maximum (off_t) file size is allocated on your system = 2147483647 bytes. But public.zip file 2644800852 byte Quote Link to comment Share on other sites More sharing options...
JPRuehmann Posted March 13, 2021 Author Report Share Posted March 13, 2021 After doin the same with the mods.zip I now get this. TIMER| InitVfs: 5.33531 ms Writing the mainlog at /home/ruehmann/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 3.48867 ms Sound: AlcInit success, using OpenAL Soft TIMER| shutdown ConfigDB: 0.32 us TIMER| resource modules: 4.73496 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 c (0x) tc_png_decode: 0 c (0x) tc_dds_transform: 0 c (0x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x) ----------------------------------------------------- TIMER| shutdown misc: 7.39339 ms TIMER| InitVfs: 921.46 us Writing the mainlog at /home/ruehmann/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 144.465 ms Sound: AlcInit success, using OpenAL Soft topology.cpp(105): Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0" Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0" Location: topology.cpp:105 (MaxLogicalPerCore) Call stack: (0xa45205) /usr/games/pyrogenesis(+0x606205) [0xa45205] (0x9e955d) /usr/games/pyrogenesis(+0x5aa55d) [0x9e955d] (0x9ebbdd) /usr/games/pyrogenesis(+0x5acbdd) [0x9ebbdd] (0xa3d4b9) /usr/games/pyrogenesis(+0x5fe4b9) [0xa3d4b9] (0xa75992) /usr/games/pyrogenesis(+0x636992) [0xa75992] (0xa3d5e0) /usr/games/pyrogenesis(+0x5fe5e0) [0xa3d5e0] (0x6b7911) /usr/games/pyrogenesis(+0x278911) [0x6b7911] (0x6a779f) /usr/games/pyrogenesis(+0x26879f) [0x6a779f] (0x47d037) /usr/games/pyrogenesis(+0x3e037) [0x47d037] (0x4667d6) /usr/games/pyrogenesis(+0x277d6) [0x4667d6] (0xb6547f21) /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xb6547f21] (0x4759ac) /usr/games/pyrogenesis(+0x369ac) [0x4759ac] errno = 0 (No error reported here) OS error = ? If I then Click Continue it runs normaly. Thanks, Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 13, 2021 Report Share Posted March 13, 2021 50 minutes ago, JPRuehmann said: After doin the same with the mods.zip I now get this. TIMER| InitVfs: 5.33531 ms Writing the mainlog at /home/ruehmann/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 3.48867 ms Sound: AlcInit success, using OpenAL Soft TIMER| shutdown ConfigDB: 0.32 us TIMER| resource modules: 4.73496 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 c (0x) tc_png_decode: 0 c (0x) tc_dds_transform: 0 c (0x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x) ----------------------------------------------------- TIMER| shutdown misc: 7.39339 ms TIMER| InitVfs: 921.46 us Writing the mainlog at /home/ruehmann/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 144.465 ms Sound: AlcInit success, using OpenAL Soft topology.cpp(105): Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0" Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0" Location: topology.cpp:105 (MaxLogicalPerCore) Call stack: (0xa45205) /usr/games/pyrogenesis(+0x606205) [0xa45205] (0x9e955d) /usr/games/pyrogenesis(+0x5aa55d) [0x9e955d] (0x9ebbdd) /usr/games/pyrogenesis(+0x5acbdd) [0x9ebbdd] (0xa3d4b9) /usr/games/pyrogenesis(+0x5fe4b9) [0xa3d4b9] (0xa75992) /usr/games/pyrogenesis(+0x636992) [0xa75992] (0xa3d5e0) /usr/games/pyrogenesis(+0x5fe5e0) [0xa3d5e0] (0x6b7911) /usr/games/pyrogenesis(+0x278911) [0x6b7911] (0x6a779f) /usr/games/pyrogenesis(+0x26879f) [0x6a779f] (0x47d037) /usr/games/pyrogenesis(+0x3e037) [0x47d037] (0x4667d6) /usr/games/pyrogenesis(+0x277d6) [0x4667d6] (0xb6547f21) /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xb6547f21] (0x4759ac) /usr/games/pyrogenesis(+0x369ac) [0x4759ac] errno = 0 (No error reported here) OS error = ? If I then Click Continue it runs normaly. Thanks, known bug on x32. it also works for me. my bugnoteshttps://trac.wildfiregames.com/ticket/6028https://code.wildfiregames.com/D3575 Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 13, 2021 Report Share Posted March 13, 2021 If possible, write the exact model of the processor. This will help resolve this issue cat /proc/cpuinfo Quote Link to comment Share on other sites More sharing options...
JPRuehmann Posted March 13, 2021 Author Report Share Posted March 13, 2021 Intel i5-7500T (4) @ 3.300GHz By the way is it correct that if I try to get mods and so from the Internet I only get error messages in the Mod Window before the game? Thanks, Quote Link to comment Share on other sites More sharing options...
nwtour Posted March 14, 2021 Report Share Posted March 14, 2021 8 hours ago, JPRuehmann said: By the way is it correct that if I try to get mods and so from the Internet I only get error messages in the Mod Window before the game? Do not pay attention. There, a buggy code was added for x86/unix - it defines a different number of logical cores on processors (on Intel processors without hypertrading), depending on random situations. Compiler switches, code blocks - everything can be enabled/disabled by this window. 8 hours ago, JPRuehmann said: Intel i5-7500T (4) @ 3.300GHz Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.