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?
Thats getting worse: I now used Start=1 # start directly Each=1 # check each call
export MallocCheckHeap
export MallocCheckHeap
./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 malloc. dylib 0x00007fffa9342657 szone_check_all + 3160 malloc. dylib 0x00007fffa9346149 malloc_zone_check + 58 malloc. dylib 0x00007fffa9345ea2 internal_check + 17 malloc. dylib 0x00007fffa9337f3b free + 358 GeForceGLDriver 0x00007fff8ed5083c 0x7fff8ea2c000 + 3295292 rcury.dylib 0x00007fffa1690eba gldDestroyTexture + 20 nTexture + 60 bject + 36 dStateAndHash + 217 DeleteContext + 56 :shutdown_ hardware( ) + 77 (wlapplication. cc:806) :~WLApplication () + 24 (wlapplication. cc:370) :~WLApplication () + 21 (wlapplication. cc:397)
0 libsystem_
1 libsystem_
2 libsystem_
3 libsystem_
4 com.apple.
5 libGPUSupportMe
6 libGFXShared.dylib 0x00007fff97c3fe3a gfxDestroyPlugi
7 GLEngine 0x00007fff98908801 gleFreeTextureO
8 libGFXShared.dylib 0x00007fff97c415ca gfxReleaseShare
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_
13 widelands 0x0000000107e74d84 Graphic::~Graphic() + 1220 (graphic.cc:125)
14 widelands 0x0000000107e751a5 Graphic::~Graphic() + 21 (graphic.cc:128)
15 widelands 0x0000000107d6332d WLApplication:
16 widelands 0x0000000107d62fe8 WLApplication:
17 widelands 0x0000000107d634b5 WLApplication:
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?