Author Topic: [fixed] stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )  (Read 580 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,225
    • View Profile
    • http://www.titusgames.de
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]
« Last Edit: 15 September 2013, 00:03:58 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
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.
« Last Edit: 1 August 2013, 22:35:28 by titi »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
« Reply #2 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.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,225
    • View Profile
    • http://www.titusgames.de
Re: stacktrace in logfile 3.8.0 beta ( But I cannot remember a crash )
« Reply #3 on: 14 September 2013, 23:59:02 »
I hope it's fixed with rev4531 
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything