2025-07-21 20:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003434Spring engineGeneralpublic2013-02-02 15:24
Reporterafgod 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version91.0.1+git 
Summary0003434: git crash and hang everytime I quit
Descriptionthe game works ok, but crashes every exit, and starts the internal debugger:

[f=0000357] User exited
*** glibc detected *** "/usr/local/bin/spring": free(): invalid pointer: 0x0000000001301960 ***
======= Backtrace: =========
/lib/libc.so.6(+0x73526)[0x7ffff3ffd526]
/lib/libc.so.6(cfree+0x6c)[0x7ffff40013fc]
"/usr/local/bin/spring"[0x7a9c4b]
"/usr/local/bin/spring"[0x7ab593]
"/usr/local/bin/spring"[0x7435cc]
"/usr/local/bin/spring"[0x743879]
"/usr/local/bin/spring"[0x71e266]
"/usr/local/bin/spring"[0x4e2330]
"/usr/local/bin/spring"[0x4e2ac9]
"/usr/local/bin/spring"[0x9c6b0b]
"/usr/local/bin/spring"[0x9c8845]
"/usr/local/bin/spring"[0x9a43ca]
"/usr/local/bin/spring"[0x49df4c]
/lib/libc.so.6(__libc_start_main+0xed)[0x7ffff3fab17d]
"/usr/local/bin/spring"[0x4b8e71]
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009686

afgod (reporter)

gdb output

Program received signal SIGABRT, Aborted.
0x00007ffff3fbe8c5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3fbe8c5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff3fbfd3b in __GI_abort () at abort.c:93
#2 0x00007ffff3ff760e in __libc_message (do_abort=2, fmt=0x7ffff40d1b68 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
0000003 0x00007ffff3ffd526 in malloc_printerr (action=3, str=0x7ffff40ceb31 "free(): invalid pointer", ptr=<optimized out>)
    at malloc.c:6283
0000004 0x00007ffff40013fc in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
0000005 0x00000000007a9c4b in Shader::NullProgramObject::~NullProgramObject (this=0x1301960 <Shader::nullProgramObject_>,
    __in_chrg=<optimized out>) at /usr/src/spring/rts/Rendering/Shaders/Shader.h:129
#6 0x00000000007ab593 in CShaderHandler::ReleaseProgramObjects (this=0x1301a40 <CShaderHandler::GetInstance()::shaHandler>,
    poClass=...) at /usr/src/spring/rts/Rendering/Shaders/ShaderHandler.cpp:35
#7 0x00000000007435cc in CGroundDecalHandler::~CGroundDecalHandler (this=0x7fffc41caf40, __in_chrg=<optimized out>)
    at /usr/src/spring/rts/Rendering/Env/Decals/GroundDecalHandler.cpp:139
#8 0x0000000000743879 in CGroundDecalHandler::~CGroundDecalHandler (this=0x7fffc41caf40, __in_chrg=<optimized out>)
    at /usr/src/spring/rts/Rendering/Env/Decals/GroundDecalHandler.cpp:141
#9 0x000000000071e266 in IGroundDecalDrawer::FreeInstance () at /usr/src/spring/rts/Rendering/Env/IGroundDecalDrawer.cpp:50
0000010 0x00000000004e2330 in SafeDelete<CWorldDrawer*> (a=@0x7fffe042d128: 0x0) at /usr/src/spring/rts/System/Util.h:158
#11 CGame::~CGame (this=0x7fffe042cfd0, __in_chrg=<optimized out>) at /usr/src/spring/rts/Game/Game.cpp:377
0000012 0x00000000004e2ac9 in CGame::~CGame (this=0x7fffe042cfd0, __in_chrg=<optimized out>)
    at /usr/src/spring/rts/Game/Game.cpp:443
0000013 0x00000000009c6b0b in SafeDelete<CGame*> (a=<optimized out>) at /usr/src/spring/rts/System/Util.h:158
0000014 SpringApp::Shutdown () at /usr/src/spring/rts/System/SpringApp.cpp:1050
#15 0x00000000009c8845 in SpringApp::Run (this=0x7fffffffe520, argc=2, argv=<optimized out>)
    at /usr/src/spring/rts/System/SpringApp.cpp:1035
#16 0x00000000009a43ca in Run (argc=2, argv=0x7fffffffe938) at /usr/src/spring/rts/System/Main.cpp:64
#17 0x000000000049df4c in main (argc=2, argv=0x7fffffffe938) at /usr/src/spring/rts/System/Main.cpp:149
(gdb) q
A debugging session is active.

    Inferior 1 [process 19943] will be killed.

Quit anyway? (y or n) y

~0009687

afgod (reporter)

f4b4913b

isnt in git devel yet? did you push it to git://github.com/spring/spring.git already?

~0009688

Kloot (developer)

It is on the release branch if you want to test.
+Notes

-Issue History
Date Modified Username Field Change
2013-02-02 13:29 afgod New Issue
2013-02-02 13:32 afgod Note Added: 0009686
2013-02-02 13:46 Kloot Changeset attached => spring release f4b4913b
2013-02-02 13:46 Kloot Assigned To => Kloot
2013-02-02 13:46 Kloot Status new => resolved
2013-02-02 13:46 Kloot Resolution open => fixed
2013-02-02 14:50 afgod Note Added: 0009687
2013-02-02 14:50 afgod Status resolved => feedback
2013-02-02 14:50 afgod Resolution fixed => reopened
2013-02-02 15:23 Kloot Note Added: 0009688
2013-02-02 15:24 Kloot Status feedback => resolved
2013-02-02 15:24 Kloot Fixed in Version => 91.0.1+git
2013-02-02 15:24 Kloot Resolution reopened => fixed
+Issue History