Jump to content

Ravenman

Community Newbie
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Ravenman

  1. What version of the game is this?

    Can you run it in a debugger? ("gdb /usr/bin/pyrogenesis", "r", wait for crash, "bt full")

    This is the latest version: r07970 in Arch Linux system.

    This is the outcome from gdb:


    [user@archerpc ~]$ gdb /opt/0ad/system/pyrogenesis
    GNU gdb (GDB) 7.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /opt/0ad/system/pyrogenesis...done.
    (gdb) r
    Starting program: /opt/0ad/system/pyrogenesis
    [Thread debugging using libthread_db enabled]
    ERROR: Error initializing FAM; hotloading will be disabled
    TIMER| InitVfs: 5.36425 ms
    [New Thread 0x7ffff7ff8710 (LWP 3095)]
    [New Thread 0x7fffec43f710 (LWP 3096)]
    TIMER| InitScripting: 725.74 us
    TIMER| CONFIG_Init: 2.32214 ms
    TIMER| write_sys_info: 1.93597 ms
    Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.
    TIMER| InitRenderer: 328.497 ms
    TIMER| ps_console: 1.6314 ms
    TIMER| ps_lang_hotkeys: 1.4252 ms
    TIMER| common/setup.xml: 893.04 us
    TIMER| common/styles.xml: 275.587 us
    TIMER| common/sprite1.xml: 1.94887 ms
    TIMER| common/init.xml: 1.66723 ms
    TIMER| pregame/sprites.xml: 646.652 us
    TIMER| pregame/styles.xml: 113.394 us
    TIMER| pregame/mainmenu.xml: 8.23929 ms
    TIMER| common/global.xml: 504.343 us
    TIMER| common/setup.xml: 484.363 us
    TIMER| common/styles.xml: 222.712 us
    TIMER| common/sprite1.xml: 1.89339 ms
    TIMER| msgbox/msgbox.xml: 863.22 us
    [Thread 0x7ffff7ff8710 (LWP 3095) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3097)]
    [Thread 0x7ffff7ff8710 (LWP 3097) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3098)]
    TIMER| common/setup.xml: 519.035 us
    TIMER| common/styles.xml: 219.764 us
    TIMER| common/sprite1.xml: 1.82453 ms
    TIMER| gamesetup/setup.xml: 372.066 us
    TIMER| gamesetup/sprites.xml: 115.712 us
    TIMER| gamesetup/styles.xml: 136.3 us
    TIMER| gamesetup/gamesetup_mp.xml: 4.57322 ms
    [Thread 0x7ffff7ff8710 (LWP 3098) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3099)]
    TIMER| common/setup.xml: 553.983 us
    TIMER| common/styles.xml: 296.036 us
    TIMER| common/sprite1.xml: 1.99145 ms
    TIMER| gamesetup/setup.xml: 82.559 us
    TIMER| gamesetup/sprites.xml: 51.449 us
    TIMER| gamesetup/styles.xml: 66.613 us
    TIMER| gamesetup/gamesetup.xml: 4.43206 ms
    [Thread 0x7ffff7ff8710 (LWP 3099) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3100)]
    [Thread 0x7ffff7ff8710 (LWP 3100) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3101)]
    TIMER| common/setup.xml: 569.491 us
    TIMER| common/styles.xml: 286.61 us
    TIMER| common/sprite1.xml: 1.93573 ms
    TIMER| common/init.xml: 1.66176 ms
    TIMER| loading/loading.xml: 963.624 us
    TIMER| common/global.xml: 327.529 us
    TIMER| common/setup.xml: 577.34 us
    TIMER| common/styles.xml: 299.012 us
    TIMER| common/sprite1.xml: 1.89901 ms
    TIMER| common/icon_sprites.xml: 5.62878 ms
    TIMER| session_new/sprites.xml: 995.378 us
    TIMER| session_new/styles.xml: 224.682 us
    TIMER| session_new/session.xml: 37.7509 ms
    TIMER| common/global.xml: 1.16057 ms
    [New Thread 0x7fffe64b3710 (LWP 3102)]
    SND| alc_init: success, using ALSA Software
    GAME STARTED, ALL INIT COMPLETE
    [Thread 0x7ffff7ff8710 (LWP 3101) exited]
    [New Thread 0x7ffff7ff8710 (LWP 3103)]

    Program received signal SIGSEGV, Segmentation fault.
    0x00007fffeb648296 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
    (gdb) bt full
    #0 0x00007fffeb648296 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
    No symbol table info available.
    Cannot access memory at address 0x7fffffffda78
    (gdb)

  2. It looks like those are all just warnings (not errors) in third-party code (FCollada, SpiderMonkey), and probably harmless in practice, so I think it's fine to just ignore them for now :)

    But when I'm launching the game, the console shows this:


    mkdir failed with errno=13
    vfs_lookup.cpp(81): Assertion failed: "0"
    udbg_bfd_init: loading symbols from /opt/0ad/system/pyrogenesis_dbg.
    debug.cpp(233): Unable to open crashlog.txt for writing (please ensure the log directory is writable)
    Unable to open crashlog.txt for writing (please ensure the log directory is writable)
    Location: debug.cpp:233 (debug_WriteCrashlog)

    Call stack:

    (0x009b859e) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned long, void*, char const*)
    (0x00972739) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
    (0x00972bdc) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned long, void*, char const*, char const*, int, char const*, unsigned char*)
    (0x009724e9) debug.cpp:234 debug_WriteCrashlog(wchar_t const*)
    (0x00972bec) debug.cpp:502 debug_DisplayError(wchar_t const*, unsigned long, void*, char const*, char const*, int, char const*, unsigned char*)
    (0x00972fd5) debug.cpp:578 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
    (0x009c5739) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned long)
    (0x0098efd6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned long, unsigned long)
    (0x0069c64b) GameSetup.cpp:553 InitVfs
    (0x0069db4b) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
    (0x005d2909) main.cpp:395 RunGameOrAtlas
    (0x005d29c1) main.cpp:412 main
    (0xe949d9ed) /lib/libc.so.6:0 __libc_start_main
    (0x005d1c59) none:0 _start

    errno = 0 (?)
    OS error = ?


    (C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?

  3. Hi to everyone:

    I'm installing this game into one Arch Linux system and i'd taken some messages in console while I'd compiled and installed the 0. a. d game:


    FCollada/FCDocument/FCDGeometryPolygons.cpp: In member function 'int32 FCDGeometryPolygons::TestPolyType() const':
    FCollada/FCDocument/FCDGeometryPolygons.cpp:281: warning: statement has no effect
    FCollada/FCDocument/FCDGeometryPolygonsInput.cpp
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:908: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:909: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:910: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:957: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp: In function 'void FCDGeometryPolygonsTools::RevertUniqueIndices(const FCDGeometryPolygonsInput&, FCDGeometryPolygonsInput&, const FCDGeometryIndexTranslationMap&)':
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:1031: warning: statement has no effect
    FCollada/FCDocument/FCDGeometrySource.cpp


    FCollada/FUtils/FUDebug.cpp
    FCollada/FUtils/FUDebug.cpp: In static member function 'static void FUDebug::DebugOutV(uint8, const char*, uint32, const char*, __va_list_tag (&)[1])':
    FCollada/FUtils/FUDebug.cpp:73: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'uint32'
    FCollada/FUtils/FUDebug.cpp:73: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'uint32'


    In file included from FCollada/FUtils/FUSemaphore.cpp:10:
    FCollada/FUtils/FUSemaphore.h:36:2: warning: #warning "FUSemaphore: Semaphore not implemented for non Windows"
    FCollada/FUtils/FUStringBuilder.cpp
    FCollada/FUtils/FUStringConversion.cpp
    FCollada/FUtils/FUSynchronizableObject.cpp
    FCollada/FUtils/FUThread.cpp
    In file included from FCollada/FUtils/FUThread.cpp:10:
    FCollada/FUtils/FUThread.h:30:2: warning: #warning "Threads not yet implemented for non Windows."
    FCollada/FUtils/FUTracker.cpp


    Collada/FCDocument/FCDGeometryInstance.cpp
    FCollada/FCDocument/FCDGeometryMesh.cpp
    FCollada/FCDocument/FCDGeometryNURBSSurface.cpp
    FCollada/FCDocument/FCDGeometryPolygons.cpp
    FCollada/FCDocument/FCDGeometryPolygons.cpp: In member function 'int32 FCDGeometryPolygons::TestPolyType() const':
    FCollada/FCDocument/FCDGeometryPolygons.cpp:281: warning: statement has no effect
    FCollada/FCDocument/FCDGeometryPolygonsInput.cpp
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:908: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:909: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:910: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:957: warning: ignoring #pragma warning
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp: In function 'void FCDGeometryPolygonsTools::RevertUniqueIndices(const FCDGeometryPolygonsInput&, FCDGeometryPolygonsInput&, const FCDGeometryIndexTranslationMap&)':
    FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:1031: warning: statement has no effect
    FCollada/FCDocument/FCDGeometrySource.cpp


    FCollada/FUtils/FUDaeEnum.cpp
    FCollada/FUtils/FUDateTime.cpp
    FCollada/FUtils/FUDebug.cpp
    FCollada/FUtils/FUDebug.cpp: In static member function 'static void FUDebug::DebugOutV(uint8, const char*, uint32, const char*, __va_list_tag (&)[1])':
    FCollada/FUtils/FUDebug.cpp:73: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'uint32'
    FCollada/FUtils/FUDebug.cpp:73: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'uint32'
    FCollada/FUtils/FUError.cpp
    FCollada/FUtils/FUErrorLog.cpp
    FCollada/FUtils/FUFile.cpp
    FCollada/FUtils/FUFileManager.cpp
    FCollada/FUtils/FULogFile.cpp
    FCollada/FUtils/FUObject.cpp
    FCollada/FUtils/FUObjectType.cpp
    FCollada/FUtils/FUParameter.cpp
    FCollada/FUtils/FUParameterizable.cpp
    FCollada/FUtils/FUPluginManager.cpp
    FCollada/FUtils/FUSemaphore.cpp
    In file included from FCollada/FUtils/FUSemaphore.cpp:10:
    FCollada/FUtils/FUSemaphore.h:36:2: warning: #warning "FUSemaphore: Semaphore not implemented for non Windows"
    FCollada/FUtils/FUStringBuilder.cpp
    FCollada/FUtils/FUStringConversion.cpp
    In file included from FCollada/FUtils/FUStringConversion.cpp:18:
    FCollada/FUtils/FUStringConversion.hpp: In static member function 'static FMVector4 FUStringConversion::ToVector4(const CH**) [with CH = char]':
    FCollada/FUtils/FUStringConversion.hpp:242: warning: 'p.FMVector4::w' may be used uninitialized in this function
    FCollada/FUtils/FUStringConversion.hpp:242: warning: 'p.FMVector4::z' may be used uninitialized in this function
    FCollada/FUtils/FUStringConversion.hpp:242: warning: 'p.FMVector4::y' may be used uninitialized in this function
    FCollada/FUtils/FUStringConversion.hpp:242: warning: 'p.FMVector4::x' may be used uninitialized in this function
    FCollada/FUtils/FUSynchronizableObject.cpp
    FCollada/FUtils/FUThread.cpp
    In file included from FCollada/FUtils/FUThread.cpp:10:
    FCollada/FUtils/FUThread.h:30:2: warning: #warning "Threads not yet implemented for non Windows."
    FCollada/FUtils/FUTracker.cpp


    /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'CHAR *'
    editline.c:1051: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    editline.c:1051: note: expected 'const char *' but argument is of type 'CHAR *'
    editline.c:1051: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    editline.c:1051: note: expected 'const char *' but argument is of type 'CHAR *'
    editline.c:1051: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'CHAR *'
    editline.c:1051: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    editline.c:1051: note: expected 'const char *' but argument is of type 'CHAR *'
    editline.c:1051: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    editline.c:1051: note: expected 'const char *' but argument is of type 'CHAR *'


    e_asin.c: In function '__ieee754_asin':
    e_asin.c:115: warning: 't' may be used uninitialized in this function


    e_cosh.c: In function '__ieee754_cosh':
    e_cosh.c:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
    e_cosh.c:125: warning: suggest parentheses around '&&' within '||'
    e_cosh.c:123: warning: dereferencing pointer 'one.4' does break strict-aliasing rules
    e_cosh.c:123: note: initialized from here


    e_exp.c: In function '__ieee754_exp':
    e_exp.c:148: warning: 'hi' may be used uninitialized in this function
    e_exp.c:148: warning: 'lo' may be used uninitialized in this function
    e_exp.c:149: warning: 'k' may be used uninitialized in this function


    e_j0.c: In function 'pzero':
    e_j0.c:370: warning: 'p' may be used uninitialized in this function
    e_j0.c:370: warning: 'q' may be used uninitialized in this function
    e_j0.c: In function 'qzero':
    e_j0.c:507: warning: 'p' may be used uninitialized in this function
    e_j0.c:507: warning: 'q' may be used uninitialized in this function


    e_j1.c: In function 'pone':
    e_j1.c:368: warning: 'p' may be used uninitialized in this function
    e_j1.c:368: warning: 'q' may be used uninitialized in this function
    e_j1.c: In function 'qone':
    e_j1.c:506: warning: 'p' may be used uninitialized in this function
    e_j1.c:506: warning: 'q' may be used uninitialized in this function

    											 
    e_sinh.c: In function '__ieee754_sinh':
    e_sinh.c:113: warning: dereferencing type-punned pointer will break strict-aliasing rules
    e_sinh.c:114: warning: suggest parentheses around '&&' within '||'
    e_sinh.c:113: warning: dereferencing pointer 'one.3' does break strict-aliasing rules
    e_sinh.c:113: note: initialized from here


    s_expm1.c: In function 'fd_expm1':
    s_expm1.c:236: warning: suggest explicit braces to avoid ambiguous 'else'
    s_expm1.c:176: warning: 'c' may be used uninitialized in this function


    s_log1p.c: In function 'fd_log1p':
    s_log1p.c:200: warning: suggest explicit braces to avoid ambiguous 'else'
    s_log1p.c:144: warning: 'c' may be used uninitialized in this function


    jsapi.c: In function 'JS_ConvertArgumentsVA':
    jsapi.c:263: warning: passing argument 5 of 'TryArgumentFormatter' from incompatible pointer type
    jsapi.c:132: note: expected 'struct __va_list_tag (*)[1]' but argument is of type 'struct __va_list_tag **'
    jsapi.c: In function 'JS_PushArgumentsVA':
    jsapi.c:366: warning: passing argument 5 of 'TryArgumentFormatter' from incompatible pointer type
    jsapi.c:132: note: expected 'struct __va_list_tag (*)[1]' but argument is of type 'struct __va_list_tag **'


    jsdtoa.c: In function 'JS_strtod':
    jsdtoa.c:1234: warning: 'rv0' may be used uninitialized in this function


    jsinterp.c: In function 'js_Interpret':
    jsinterp.c:1743: warning: 'op' may be used uninitialized in this function
    jsinterp.c:1744: warning: 'cs' may be used uninitialized in this function
    jsinterp.c:1761: warning: 'tracefp' may be used uninitialized in this function


    jsstr.c: In function 'str_split':
    jsstr.c:1910: warning: 'tmp.length' may be used uninitialized in this function

    ==== Building AtlasScript ====

    ScriptInterface.cpp  

×
×
  • Create New...