MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: titi on 1 August 2013, 21:39:57

Title: [fixed] stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
Post by: titi on 1 August 2013, 21:39:57
I completly have no idea when this happened!? I just found this stacktrace in my logfile when I got another error. I report it because its a proper stacktrace which maybe helps to find a simple bug.

Code: [Select]
[2013-07-27 22:01:39] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x766f97] line: 653
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x76765f] line: 5533
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f89552a14a0] line: 0
./megaglest:Glest::Game::Renderer::renderQuad(int, int, int, int, Shared::Graphics::Texture2D const*)address [0x6ef330] line: 8402
./megaglest:Glest::Game::Renderer::renderTextureQuad(int, int, int, int, Shared::Graphics::Texture2D const*, float, Shared::Graphics::Vec3<float> const*)address [0x712cbb] line: 1955
./megaglest:Glest::Game::Renderer::renderMouse2d(int, int, int, float)address [0x712e0e] line: 1707
./megaglest:Glest::Game::Game::render2d()address [0x65c8af] line: 5367
./megaglest:Glest::Game::Game::renderWorker()address [0x65d70e] line: 3125
./megaglest:Glest::Game::Game::render()address [0x65dc00] line: 3079
./megaglest:Glest::Game::Program::loopWorker()address [0x79a52b] line: 424
./megaglest:Glest::Game::glestMain(int, char**)address [0x78e746] line: 5379
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x792411] line: 5626
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x7925f8] line: 5698
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f895528c76d] line: 0
./megaglest() [0x5ea339]address [0x5ea339]
Title: Re: stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
Post by: softcoder on 1 August 2013, 22:23:08
I can only see this happeneing if the down click image was a null texture. I added a check in svn and if this is the case it will not crash but output an error to the console.
Title: Re: stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
Post by: tomreyn on 13 September 2013, 18:15:59
Same thing (I assume based on the stacktrace) happened to lyra, who was hosting on a Gentoo (rolling release) x86_64 today:

Code: [Select]
[2013-09-13 11:03:52] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x766f97] line: 653
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x76765f] line: 5533
/lib64/libc.so.6:()address [0x7fdc5d125e90] line: 0
./megaglest:Glest::Game::Renderer::renderQuad(int, int, int, int, Shared::Graphics::Texture2D const*)address [0x6ef330] line: 8402
./megaglest:Glest::Game::Renderer::renderTextureQuad(int, int, int, int, Shared::Graphics::Texture2D const*, float, Shared::Graphics::Vec3<float> const*)address [0x712cbb] line: 1955
./megaglest:Glest::Game::Renderer::renderMouse2d(int, int, int, float)address [0x712e0e] line: 1707
./megaglest:Glest::Game::Game::render2d()address [0x65c8af] line: 5367
./megaglest:Glest::Game::Game::renderWorker()address [0x65d70e] line: 3125
./megaglest:Glest::Game::Game::render()address [0x65dc00] line: 3079
./megaglest:Glest::Game::Program::loopWorker()address [0x79a52b] line: 424
./megaglest:Glest::Game::glestMain(int, char**)address [0x78e746] line: 5379
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x792411] line: 5626
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x7925f8] line: 5698
/lib64/libc.so.6:__libc_start_main()address [0x7fdc5d11271d] line: 0
./megaglest() [0x5ea339]address [0x5ea339]

She had three mixed platform clients connected, and we had been playing for half an hour when the server crashed with this segfault.
Title: Re: stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
Post by: titi on 14 September 2013, 23:59:02
I hope it's fixed with rev4531