Comment 12 for bug 1690519

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Thats getting worse: I now used
export MallocCheckHeapStart=1 # start directly
export MallocCheckHeapEach=1 # check each call
 ./widelands --verbose --coredum=true --fullscreen=false --xres=1024 --yres=768

when quitting via the keyboard only this works, when using the mouse
(or perhpas using some graphics) It crashes when quitting:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_malloc.dylib 0x00007fffa9342657 szone_check_all + 3160
1 libsystem_malloc.dylib 0x00007fffa9346149 malloc_zone_check + 58
2 libsystem_malloc.dylib 0x00007fffa9345ea2 internal_check + 17
3 libsystem_malloc.dylib 0x00007fffa9337f3b free + 358
4 com.apple.GeForceGLDriver 0x00007fff8ed5083c 0x7fff8ea2c000 + 3295292
5 libGPUSupportMercury.dylib 0x00007fffa1690eba gldDestroyTexture + 20
6 libGFXShared.dylib 0x00007fff97c3fe3a gfxDestroyPluginTexture + 60
7 GLEngine 0x00007fff98908801 gleFreeTextureObject + 36
8 libGFXShared.dylib 0x00007fff97c415ca gfxReleaseSharedStateAndHash + 217
9 GLEngine 0x00007fff987d9621 gliDestroyContext + 175
10 com.apple.opengl 0x00007fff987b3232 CGLReleaseContext + 187
11 com.apple.AppKit 0x00007fff913e5551 -[NSOpenGLContext dealloc] + 58
12 libSDL2-2.0.0.dylib 0x00000001098910fd Cocoa_GL_DeleteContext + 56
13 widelands 0x0000000107e74d84 Graphic::~Graphic() + 1220 (graphic.cc:125)
14 widelands 0x0000000107e751a5 Graphic::~Graphic() + 21 (graphic.cc:128)
15 widelands 0x0000000107d6332d WLApplication::shutdown_hardware() + 77 (wlapplication.cc:806)
16 widelands 0x0000000107d62fe8 WLApplication::~WLApplication() + 24 (wlapplication.cc:370)
17 widelands 0x0000000107d634b5 WLApplication::~WLApplication() + 21 (wlapplication.cc:397)
18 widelands 0x0000000107d588b1 main + 689 (main.cc:51)

So I would assume the very first drawing on the start screen already causes Problems. (!)
can someone confirm wiht some other tool?