View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002105 | Spring engine | General | public | 2010-09-11 19:50 | 2010-09-15 00:13 | ||||
Reporter | hoijui | ||||||||
Assigned To | hoijui | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002105: SIGSEGV at start in current master | ||||||||
Description | run in GDB, as otherwise there is no usable stack trace. i guess one of the recent changes by zerver cause this. i remember master working fine here a few days ago. if required, i could bisect. crashed here: SDL_Surface *screen = SDL_SetVideoMode(screenWidth, screenHeight, 32, sdlflags); with these values: SDL_Surface *screen = SDL_SetVideoMode(1024, 768, 32, 18); | ||||||||
Additional Information | Program received signal SIGSEGV, Segmentation fault. 0x00007ffff77db4ff in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 (gdb) bt #0 0x00007ffff77db4ff in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #1 0x00007ffff77e0048 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #2 0x00007ffff77d3ff1 in glXCreateContext () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 0000003 0x00007ffff7bb349b in ?? () from /usr/lib/libSDL-1.2.so.0 0000004 0x00007ffff7bb88a8 in ?? () from /usr/lib/libSDL-1.2.so.0 0000005 0x00007ffff7bb8a19 in ?? () from /usr/lib/libSDL-1.2.so.0 #6 0x00007ffff7ba89bd in SDL_SetVideoMode () from /usr/lib/libSDL-1.2.so.0 #7 0x0000000000dbe4b3 in SpringApp::SetSDLVideoMode (this=0x7fffeea3ad30) at /home/robin/Projects/spring/repos/master/rts/System/SpringApp.cpp:398 #8 0x0000000000dbf1dc in SpringApp::InitWindow (this=0x7fffeea3ad30, title=0x1add9c8 "Spring 0.82+.4") at /home/robin/Projects/spring/repos/master/rts/System/SpringApp.cpp:357 #9 0x0000000000dbf5bf in SpringApp::Initialize (this=0x7fffeea3ad30) at /home/robin/Projects/spring/repos/master/rts/System/SpringApp.cpp:176 0000010 0x0000000000dbfb4f in SpringApp::Run (this=0x7fffeea3ad30, argc=1, argv=0x7fffffffdb58) at /home/robin/Projects/spring/repos/master/rts/System/SpringApp.cpp:1166 #11 0x0000000000dee7b5 in MainFunc () at /home/robin/Projects/spring/repos/master/rts/System/Main.cpp:60 0000012 0x0000000000deed79 in boost::detail::thread_data<void (*)()>::run (this=0x1985860) at /usr/include/boost-1_41/boost/thread/detail/thread.hpp:56 0000013 0x00007ffff609b9c5 in thread_proxy () from /usr/lib/libboost_thread-mt-1_41.so.1.41.0 0000014 0x00007ffff7963507 in start_thread () from /lib/libpthread.so.0 #15 0x00007ffff456e28d in clone () from /lib/libc.so.6 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
zerver (reporter) 2010-09-12 17:04 |
Seems to work on windows, both built with GCC and MSVC |
hoijui (reporter) 2010-09-14 14:44 Last edited: 2010-09-14 22:34 |
i bisected. guilty commit is: http://github.com/spring/spring/commit/90c6bc391f1c62f3f4a5f79ea28c862fede10daa edit: :O i start spring through a shell script of mine. when using that, it crashes, when starting directly, it works! script looks like: export __GL_SINGLE_THREADED=1 spring |
zerver (reporter) 2010-09-14 23:08 |
__GL_SINGLE_THREADED supposedly fixes buggy dynamic loader in linux if and only if the application is single threaded. Spring isn't exactly single threaded anymore. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-11 19:50 | hoijui | New Issue | |
2010-09-12 17:04 | zerver | Note Added: 0005502 | |
2010-09-14 14:44 | hoijui | Note Added: 0005521 | |
2010-09-14 15:19 | hoijui | File Added: infolog.txt | |
2010-09-14 15:21 | hoijui | Note Edited: 0005521 | |
2010-09-14 15:25 | hoijui | Note Edited: 0005521 | |
2010-09-14 22:34 | hoijui | Note Edited: 0005521 | |
2010-09-14 23:08 | zerver | Note Added: 0005527 | |
2010-09-15 00:12 | hoijui | Priority | high => normal |
2010-09-15 00:13 | hoijui | Status | new => resolved |
2010-09-15 00:13 | hoijui | Resolution | open => no change required |
2010-09-15 00:13 | hoijui | Assigned To | => hoijui |