View Issue Details

IDProjectCategoryView StatusLast Update
0002802Spring engineGeneralpublic2011-12-04 12:59
Reporterabma Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityrandom
Status resolvedResolutionduplicate 
Product Version84.0 
Summary0002802: crash in onlinegame :-/
Descriptionrandomly crashes... happened already two times
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20111202_021828_Dead Reef Dry_84.0.sdf (Attachment missing)
Checked infolog.txt for Errors

Relationships

duplicate of 0002804 resolvedKloot Mid Game Crash in ZK 

Activities

abma

2011-12-02 02:46

administrator   ~0007789

no usefull stacktrace:

(gdb) thread apply all bt full

Thread 3 (Thread 0x7f31550e0700 (LWP 5421)):
#0 0x00007f316702e773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#1 0x00007f3166b3e03f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2 0x00007f3166b2f45c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
0000003 0x00007f3166b2fac9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
0000004 0x00007f3166b2fb80 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
0000005 0x00007f3166b3dfef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6 0x00007f3164800c78 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
No symbol table info available.
#7 0x00007f316a0e8efc in start_thread (arg=0x7f31550e0700) at pthread_create.c:304
        __res = <optimized out>
        pd = 0x7f31550e0700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4296919219088958102, 139850209504288, 139849857108416, 0, 3, -4196489156962508138, -4196390174602780010}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        robust = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8 0x00007f316703a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7f31548df700 (LWP 5422)):
#0 0x00007f316702e773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#1 0x00007f316033c481 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
#2 0x00007f3160340914 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
0000003 0x00007f316037d22a in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
0000004 0x00007f3167d3bd7b in ?? () from /usr/lib/libopenal.so.1
No symbol table info available.
0000005 0x00007f3167ccc2ea in ?? () from /usr/lib/libopenal.so.1
No symbol table info available.
#6 0x00007f316a0e8efc in start_thread (arg=0x7f31548df700) at pthread_create.c:304
        __res = <optimized out>
        pd = 0x7f31548df700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4296919219088958102, 139850209504288, 139849848715712, 0, 3, -4196492456034262378, -4196390174602780010}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
---Type <return> to continue, or q <return> to quit---
        robust = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7 0x00007f316703a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#8 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7f316a770760 (LWP 5417)):
#0 0x00007f316a0f0c3d in __libc_waitpid (pid=<optimized out>, stat_loc=<optimized out>, options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:41
        resultvar = <optimized out>
        oldtype = 0
        result = <optimized out>
#1 0x00000000009d8716 in X_MessageBox (
    msg=0x7f3132fc2b78 "Error in main(): Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /var/tmp/home/.spring/infolog.txt",
    caption=<optimized out>, flags=8) at /build/buildd/spring-84.0~11.10~ppa2/rts/System/Platform/Linux/X_MessageBox.cpp:101
        caption2 = "Spring crashed\n", '\000' <repeats 84 times>, "j"
        pid = <optimized out>
        status = <optimized out>
        len = <optimized out>
        msg2 = "Error in main(): Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /var/tmp/home/.spring/infolog.txt\n", '\000' <repeats 861 times>
#2 0x000000000096b1e3 in ExitMessage (msg=..., caption=..., flags=8, forced=false) at /build/buildd/spring-84.0~11.10~ppa2/rts/System/Platform/errorhandler.cpp:62
No locals.
0000003 0x000000000096b8f9 in ErrorMessageBox (msg=..., caption=..., flags=8) at /build/buildd/spring-84.0~11.10~ppa2/rts/System/Platform/errorhandler.cpp:122
        forcedExitThread = 0x7f315c0008b0
0000004 0x00000000009542be in Run (argc=<optimized out>, argv=<optimized out>) at /build/buildd/spring-84.0~11.10~ppa2/rts/System/Main.cpp:67
        ret = 0
        err = 0x184a0600
0000005 0x00007f3166f7a30d in __libc_start_main (main=0x4906f0 <main(int, char**)>, argc=3, ubp_av=0x7fff5a3bf9b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fff5a3bf9a8) at libc-start.c:226
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4296919219088958102, 4893776, 140734707268016, 0, 0, -4296701000559320426, -4196382142344158570}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0xcede90, 0x7fff5a3bf9b8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 13557392}}}
        not_first_call = <optimized out>
#6 0x00000000004aac79 in _start ()
No symbol table info available.

abma

2011-12-02 02:57

administrator   ~0007790

end of demo is frame 0034198, doesn't crash when run with spring-headless

abma

2011-12-02 05:00

administrator   ~0007791

note: it looked like other players didn't crash

abma

2011-12-04 12:58

administrator   ~0007821

SIGFPE in demo, too:

(gdb) bt full
#0 0x0000000000aa593f in float3::operator/ (this=0x7fffffffcfb0, f=0) at /home/abma/spring/rts/System/float3.h:254
        inv = 0
#1 0x0000000000f94177 in CBeamLaserProjectile::Update (this=0x1645f6e0)
    at /home/abma/spring/rts/Sim/Projectiles/WeaponProjectiles/BeamLaserProjectile.cpp:95
No locals.
#2 0x0000000000f6d7ac in CProjectileHandler::UpdateProjectileContainer (this=0x6d5f480, pc=..., synced=true)
    at /home/abma/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:224
        p = 0x1645f6e0
        pci =
        __PRETTY_FUNCTION__ = "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)"
0000003 0x0000000000f6dab2 in CProjectileHandler::Update (this=0x6d5f480) at /home/abma/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:245
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name =
    "ProjectileHandler::Update", starttime = 193749}, autoShowGraph = false}
        gfi = <error reading variable gfi (Cannot access memory at address 0x10)>
0000004 0x0000000000ac42bf in CGame::SimFrame (this=0x2048ff0) at /home/abma/spring/rts/Game/Game.cpp:1430
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 193741},
          autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame (Update)",
            starttime = 193742}, autoShowGraph = false}
0000005 0x0000000000b43010 in CGame::ClientReadNet (this=0x2048ff0) at /home/abma/spring/rts/Game/NetCommands.cpp:362
        inbuf = 0x7fffec031220 "\002X\001\354\377\177"
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffec031b80, pn = {pi_ = 0x7fffec015860}}
        procstarttime = 193509
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#6 0x0000000000ac1aeb in CGame::Update (this=0x2048ff0) at /home/abma/spring/rts/Game/Game.cpp:884
        timeNow = 193509
        difTime = 274
---Type <return> to continue, or q <return> to quit---
        dif = 0.274000019
#7 0x00000000010d2165 in SpringApp::UpdateSim (this=0x7fffffffde80, ac=0x2048ff0) at /home/abma/spring/rts/System/SpringApp.cpp:988
        ret = false
#8 0x00000000010d21e3 in SpringApp::Update (this=0x7fffffffde80) at /home/abma/spring/rts/System/SpringApp.cpp:1057
        updateSim = true
        ret = 1
#9 0x00000000010d23eb in SpringApp::Run (this=0x7fffffffde80, argc=2, argv=0x7fffffffe048)
    at /home/abma/spring/rts/System/SpringApp.cpp:1168
No locals.
0000010 0x00000000010af32b in MainFunc (argc=2, argv=0x7fffffffe048, ret=0x7fffffffdf1c) at /home/abma/spring/rts/System/Main.cpp:51
        app = {cmdline = 0x1c09e60, lastRequiredDraw = 18213, static ogc = 0x0}
#11 0x00000000010af5be in Run (argc=2, argv=0x7fffffffe048) at /home/abma/spring/rts/System/Main.cpp:62
        ret = -1
        err = 0x159eac5
0000012 0x00000000010af657 in main (argc=2, argv=0x7fffffffe048) at /home/abma/spring/rts/System/Main.cpp:92
No locals.

Issue History

Date Modified Username Field Change
2011-12-02 02:46 abma New Issue
2011-12-02 02:46 abma File Added: infolog.txt
2011-12-02 02:46 abma Note Added: 0007789
2011-12-02 02:47 abma File Added: 20111202_021828_Dead Reef Dry_84.0.sdf
2011-12-02 02:57 abma Note Added: 0007790
2011-12-02 05:00 abma Note Added: 0007791
2011-12-03 05:36 abma Relationship added related to 0002804
2011-12-04 12:58 abma Note Added: 0007821
2011-12-04 12:59 abma Relationship replaced duplicate of 0002804
2011-12-04 12:59 abma Duplicate ID 0 => 2804
2011-12-04 12:59 abma Status new => resolved
2011-12-04 12:59 abma Resolution open => duplicate
2011-12-04 12:59 abma Assigned To => abma