Well, what do you know? I get no crash when compiling with -O0. I had time for one more test, where I tried commenting out the
export DEB_BUILD_MAINT_OPTIONS = hardening=+all But that crashed too. Attached are the gdb logs from these two builds. I'm leaving for a few days. I'd be happy to test further when I get back. - Jason
GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/games/openclonk...Reading symbols from /usr/lib/debug/.build-id/f6/1c822c8dda0c47963d5271c1c308773b795705.debug...done. done. (gdb) run Starting program: /usr/games/openclonk [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". [02:47:41] Using XRandR version 1.3 [02:47:41] Command line: /usr/games/openclonk [02:47:41] OpenClonk Beyond the Rocks Delta [02:47:41] Version: 5.3.2 [024] Delta linux-x86 (a3e9cf2b0d46) [02:47:41] No Gamepad found [02:47:41] Loading graphics... [02:47:41] SDL_mixer runtime version is 1.2.12 (compiled with 1.2.12) [02:47:48] Scenario: /usr/share/games/openclonk//Tutorial.ocf/Tutorial01.ocs [02:47:48] Scenario uses specified object definitions. [02:47:48] Loading extras... [02:47:48] Loading graphics... [02:47:49] Loading object definitions: [02:47:49] Objects.ocd... [02:47:54] 258 definitions loaded. [02:47:54] Tutorial.ocf... [02:47:54] 5 definitions loaded. [02:47:54] Tutorial01.ocs... [02:47:54] 0 definitions loaded. [02:47:55] C4AulScriptEngine linked - 43190 lines, 0 warnings, 0 errors [02:47:55] Texture table holds 39 entries. [02:47:56] 30 textures loaded. [02:47:56] 20 materials loaded. [02:47:56] Creating landscape... [02:47:57] gl: Texturing uses 29 slots at 512x512, 6 levels (44 MB total) [02:47:57] gl: Shader 1 linked successfully [02:47:58] Placing environment objects... [02:47:58] Local music file: /usr/share/games/openclonk//Music.ocg [02:47:58] Game started. [02:47:58] Player join: JasonWoof [New Thread 0xb51bcb70 (LWP 16148)] [New Thread 0xb071ab70 (LWP 16149)] [Thread 0xb071ab70 (LWP 16149) exited] [New Thread 0xb071ab70 (LWP 16150)] Program received signal SIGSEGV, Segmentation fault. compare (face2=..., face1=..., this=0xbfffedd4) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:92 92 float z21 = get_z(m_vertices[face2.Vertices[0]]); (gdb) bt full #0 compare (face2=..., face1=..., this=0xbfffedd4) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:92 z12 = 4.73528671 z21 = <optimized out> z23 = <optimized out> z11 = <error reading variable z11 (Could not find type for DW_OP_GNU_const_type)> z13 = -nan(0x400000) z22 = <optimized out> #1 StdMeshFaceCmp (face1=..., face2=...) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:240 No locals. #2 0x80302f47 in binary_insertion_find (size=<optimized out>, x=..., dst=0x832bea80) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:136 i = 3 c = <optimized out> lx = {Vertices = {0, 2, 3}} l = 0 r = <optimized out> cx = {Vertices = {3221218632, 3053503428, 3043248781}} #3 binary_insertion_sort_start (dst=dst@entry=0x2, start=start@entry=1, size=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:183 j = <optimized out> x = {Vertices = {0, 1, 2}} i = <optimized out> #4 0x80303e36 in StdMesh_binary_insertion_sort (dst=0x2, dst@entry=0x832bea80, size=size@entry=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:195 No locals. #5 0x80304888 in StdMesh_tim_sort (dst=0x832bea80, size=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:553 _store = {alloc = 67, storage = 0x0} store = <optimized out> len = <optimized out> run = <optimized out> curr = <optimized out> run_stack = {{start = 36514151736, length = -9186105204766644736}, {start = 2154413528, length = -5332046709004442032}, {start = 34359738369, length = -5383060856298799101}, {start = 15041061704, length = 71940695968}, { start = 0, length = 124554051584}, {start = -9186569575748349944, length = -9135909700796153848}, {start = 2203273296, length = -9186423015119572296}, {start = 137438957440, length = -8983781753013403616}, { start = -9186479158979259936, length = -9192490704444752392}, {start = 32, length = -5382747053103251456}, {start = -4611710497537706568, length = -5377641071427715024}, {start = -9188275383023323544, length = -5332046710070987160}, {start = 2155720928, length = -5380343952320861088}, {start = -4611710497584933992, length = 48}, {start = 0, length = -5332046712225660928}, {start = 2155720928, length = -5386970184915456928}, {start = -9188133339865170472, length = 70368744177664}, {start = -9188280521958883328, length = -5377641308724664344}, {start = -9188133339865170632, length = -5262550612154727484}, { start = -4611710293582544895, length = -5377607377409277952}, {start = -9188133339865170632, length = -5377634419764837436}, {start = -9135909697864389120, length = 3968}, {start = 6449641064, length = -5387126455161323519}, { start = 6450620928, length = -5854910409802258464}, {start = 7348470724, length = -9192488988613541888}, {start = 2155655224, length = -5332046712225656960}, {start = 4294967297, length = -5378802344685207551}, { start = 6449641064, length = -5332046709004441632}, {start = 36514151736, length = -9186105204766644736}, {start = 530435390936, length = -5332046712225660928}, {start = 34359738369, length = -5383060856298799101}, { start = 15041061704, length = 71940696416}, {start = -9188280521958883328, length = -5332046709004441552}, {start = -9186569578786848748, length = -4611705208341266424}, {start = 2157457376, length = -9186423015165457360}, { start = 103079215200, length = -9180856602268270568}, {start = -9186479158979259936, length = -9192490704444752392}, {start = 24, length = -5382747053103251456}, {start = -4611708573438243448, length = -5332046712225660880}, { start = 2155720928, length = -5332046710069892000}, {start = 2155720928, length = -5380343952320861088}, {start = -4611708573439585384, length = -5386651869865050064}, {start = 867583393792, length = 71648644431983}, { start = -4611708644315103232, length = 70368744177664}, {start = -4611708575595626368, length = 0}, {start = 0, length = 0}, {start = 0, length = -5386651869865050112}, {start = 0, length = -5262550615208230912}, { start = 412316860416, length = -5377634419764837436}, {start = -4611705205409494528, length = -9188280539138752416}, {start = -4611711528377472116, length = -5262550612154727484}, {start = -9188811551715360767, length = -5854879623644396604}, {start = 7348470724, length = -5377630918125027328}, {start = 2155655224, length = -4611705208341266336}, {start = -9188280519803229304, length = 51539607563}, {start = 2155653632, length = -9188282219544712784}, {start = -9180827548953826428, length = 4294967320}, {start = 12884901888, length = 12884901888}, {start = -9188280556318621696, length = 32219444840}, {start = -9192488196184885256, length = -5332046712225660925}, {start = 0, length = -5387106258070423960}, {start = 12, length = 128849018880}, {start = 8, length = 287762808832}, {start = 0, length = 124554051584}, {start = -5265460932292640768, length = 5}, {start = -5265460932292637680, length = 0}, {start = 96, length = 0}, {start = 0, length = 0}, {start = 0, length = -5386651869865050112}, {start = 0, length = -5386651869865050112}, {start = 317827579904, length = 71098888617984}, {start = 317827579904, length = 71098888617984}, {start = 66305705115663, length = -5262550612154727484}, {start = -9188811551715360767, length = -5386920985167346748}, {start = -9188816032622656988, length = -9188129631167840208}, {start = -5262550999599702176, length = 6449641464}, {start = -9192488181159689864, length = 51539607563}, {start = -9188129010537875864, length = -5332046710070986760}, { start = -9192488814660175840, length = -5387273461147256840}, {start = -9188816239664973832, length = 4294967297}, {start = -9188280556318621696, length = 32219444840}, {start = -9192488196184885256, length = -5332046712225660927}, {start = 0, length = -5387106258070423960}, {start = -4611709002936702464, length = 103079215104}, {start = -9188129012692549630, length = -5332046710069500896}, {start = -9181259090087439904, length = 16}, {start = -9192488988613541873, length = 21}, {start = -9188130556726362664, length = 2156074812}, {start = 0, length = 4294967300}, {start = 8589934592, length = 0}, {start = 38654705664, length = 17179869184}, { start = 4294967296, length = 0}, {start = 3, length = 0}, {start = -4611708161123112448, length = -5332046712225660928}, {start = -4611708006505269656, length = -5383055332970856448}, {start = -4611708006505269656, length = 68719476736}, {start = 0, length = -5379711486182555648}, {start = 292733977934803168, length = 30064771072}, {start = -9192490703379239716, length = 7348470724}, {start = -9186479158979246864, length = -5384428959075144704}, {start = 0, length = -9209733390922628156}, {start = 0, length = -5332046709172157500}, {start = -9187993186491060000, length = -5384413669159287868}, {start = 38654705664, length = 17179869184}, {start = 4294967296, length = 0}, {start = 3, length = 0}, {start = 2155720928, length = -5384099463134241384}, {start = 2155685796, length = -5332046707930693898}, {start = 2155720928, length = -5384393160690449468}, {start = -5332046710069940000, length = -5332046710069940000}, {start = 2155720928, length = -5383185846280970856}, {start = -9186423015167119136, length = 7516187848}, {start = 4294967296, length = 12884901888}, {start = -5332046712225660928, length = -5386062924613832480}, {start = -5383815902959501288, length = 41708209092}, {start = -5332046712225660925, length = 1545}, {start = 4, length = 1}, { start = -5383468577544208384, length = -5385122759669922876}, {start = 2155980584, length = -9199056180431965984}, {start = -9199056182587686912, length = -9213950435525809864}, {start = 17179869184, length = -5332046712225660927}, {start = -9187993186491059969, length = -5380400450476438047}, {start = -4611704916283490176, length = 3311419786239}, {start = -4683742505445883904, length = -9199056180416898952}, { start = -9187993188646780920, length = 4628717191548633096}, {start = 4935241505248856029, length = -5332046711069081600}, {start = 6449637688, length = -5380391050933327560}, {start = 15262174523616, length = 3311419785216}} stack_curr = <optimized out> #6 0x803070c3 in StdMeshInstance::ReorderFaces (this=0x8329de60, global_trans=0xbfffee80) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:1199 pred = {m_vertices = 0x8331b948, m_face_ordering = StdSubMeshInstance::FO_FarthestToNearest, m_global_trans = @0xbfffede0} inst = @0x832d0690: {Vertices = {<std::_Vector_base<StdMeshVertex, std::allocator<StdMeshVertex> >> = { _M_impl = {<std::allocator<StdMeshVertex>> = {<__gnu_cxx::new_allocator<StdMeshVertex>> = {<No data fields>}, <No data fields>}, _M_start = 0x8331b948, _M_finish = 0x8331b9c8, _M_end_of_storage = 0x8331b9c8}}, <No data fields>}, Faces = {<std::_Vector_base<StdMeshFace, std::allocator<StdMeshFace> >> = { _M_impl = {<std::allocator<StdMeshFace>> = {<__gnu_cxx::new_allocator<StdMeshFace>> = {<No data fields>}, <No data fields>}, _M_start = 0x832bea80, _M_finish = 0x832bea98, _M_end_of_storage = 0x832bea98}}, <No data fields>}, Material = 0x82ad45cc, PassData = {<std::_Vector_base<StdSubMeshInstance::Pass, std::allocator<StdSubMeshInstance::Pass> >> = { _M_impl = {<std::allocator<StdSubMeshInstance::Pass>> = {<__gnu_cxx::new_allocator<StdSubMeshInstance::Pass>> = {<No data fields>}, <No data fields>}, _M_start = 0x832d06c0, _M_finish = 0x832d06cc, _M_end_of_storage = 0x832d06cc}}, <No data fields>}, CurrentFaceOrdering = StdSubMeshInstance::FO_FarthestToNearest} i = <optimized out> #7 0x8020e5af in C4Draw::RenderMesh (this=0x806da938, instance=..., sfcTarget=0x806da400, tx=878, ty=104, twdt=320, thgt=320, dwPlayerColor=0, pTransform=0xbffff108) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/graphics/C4Draw.cpp:738 mat = {a = {{0.50000006, 0.865999997, -2.18556941e-08, 0.865999997}, {0.432999939, -0.25000003, -0.865999997, -3.25}, {0.749000013, -0.433000028, 0.49999997, -5.43300009}}} #8 0x803963bd in C4DefGraphics::Draw (this=0x82aa0200, cgo=..., iColor=0, pObj=0x8136d0f0, iPhaseX=0, iPhaseY=0, trans=0xbffff108) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4DefGraphics.cpp:349 instance = 0x8329de60 value = {Data = {Int = -2094942784, Ptr = 0x8321b5c0, PropList = 0x8321b5c0, Str = 0x8321b5c0, Array = 0x8321b5c0, Fn = 0x8321b5c0}, NextRef = 0x0, Type = C4V_Array} matrix = {a = {{0.865999997, 0, 0.5, 0.865999997}, {-0.25, 0.865999997, 0.432999998, -3.25}, {-0.432999998, -0.5, 0.749000013, -5.43300009}}} dummy = {_M_ptr = 0x0} fctPicRect = {x = 0, y = 0, Wdt = -2094408096, Hgt = 0} fctPicture = {Surface = 0x0, X = 0, Y = 0, Wdt = 0, Hgt = 0} #9 0x8038d05c in C4Def::Draw (this=0x82a9fb30, cgo=..., fSelected=false, iColor=0, pObj=0x8136d0f0, iPhaseX=0, iPhaseY=0, trans=0xbffff108) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4Def.cpp:490 graphics = <optimized out> #10 0x803c1f28 in C4Object::DrawPicture (this=0x8136d0f0, cgo=..., fSelected=false, pRegions=0x0, transform=0xbffff108) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4Object.cpp:2451 No locals. #11 0x80396eee in C4GraphicsOverlay::Draw (this=0x83704218, cgo=..., pForObj=0x836e95e0, iByPlayer=0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4DefGraphics.cpp:957 fctTarget = {Surface = 0x806da400, X = 878, Y = 104, Wdt = 320, Hgt = 320} __PRETTY_FUNCTION__ = "void C4GraphicsOverlay::Draw(C4TargetFacet&, C4Object*, int32_t)" offX = 1038 offY = 264 newzoom = 1 zdsi = {<ZoomData> = {Zoom = 1, X = 0, Y = 50}, <No data fields>} #12 0x803d8354 in C4Object::Draw (this=0x836e95e0, cgo=..., iByPlayer=0, eDrawMode=C4Object::ODM_Normal, offX=1038, offY=264) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4Object.cpp:2078 pGfxOvrl = 0x83704218 ccgo = {Surface = 0x0, X = 0, Y = 0, Wdt = 0, Hgt = 0} newzoom = 1 zdsi = {<ZoomData> = {Zoom = 1, X = 0, Y = 50}, <No data fields>} fYStretchObject = 24 fOldClrModEnabled = false pActionDef = 0x0 #13 0x803e05a3 in C4ObjectList::DrawIfCategory (this=0x805af8c0, cgo=..., iPlayer=0, dwCat=32768, fInvert=false) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4ObjectList.cpp:449 clnk = 0x83596a40 #14 0x801dadfd in C4Viewport::Draw (this=this@entry=0x8349e5b0, cgo0=..., fDrawOverlay=fDrawOverlay@entry=true) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:292 fGUIZoom = <optimized out> gui_cgo = {<C4Facet> = {Surface = 0x806da400, X = 0, Y = 50, Wdt = 1920, Hgt = 1014}, TargetX = 1597.87488, TargetY = 973.249939, Zoom = 1} cgo = {<C4Facet> = {Surface = 0x806da400, X = 0, Y = 50, Wdt = 400, Hgt = 212}, TargetX = 1597.87488, TargetY = 973.249939, Zoom = 4.80000019} GameZoom = {Zoom = 4.80000019, X = 0, Y = 50} #15 0x801db2dd in C4Viewport::Execute (this=this@entry=0x8349e5b0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:353 RegionUpdate = 4 cgo = {<C4Facet> = {Surface = 0x806da400, X = 0, Y = 50, Wdt = 400, Hgt = 212}, TargetX = 1597.87488, TargetY = 973.249939, Zoom = 4.80000019} w = 0x805afb20 #16 0x801db82c in C4ViewportList::Execute (this=0x805c9740, DrawBackground=false) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:764 cvp = 0x8349e5b0 #17 0x801d863f in C4GraphicsSystem::Execute (this=0x805c93a0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4GraphicsSystem.cpp:139 fBGDrawn = <optimized out> #18 0x801c213d in C4FullScreen::PerformUpdate (this=0x805afb20) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4FullScreen.cpp:179 No locals. #19 0x80153daf in C4Window::RequestUpdate (this=0x805afb20) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/C4WindowGTK.cpp:991 No locals. #20 0x801c23d1 in C4FullScreen::Execute (this=0x805afb20) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4FullScreen.cpp:85 No locals. #21 0x801c0e9e in C4Application::Draw (this=this@entry=0x805afc60) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Application.cpp:681 No locals. #22 0x801c1595 in Execute (this=0x806d84e8, iTimeout=<optimized out>) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Application.cpp:865 Now = <optimized out> #23 C4ApplicationGameTimer::Execute (this=0x806d84e8, iTimeout=0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Application.cpp:845 No locals. #24 0x80411505 in StdScheduler::ScheduleProcs (this=0x805afc60, iTimeout=500) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/StdScheduler.cpp:293 j = 3924723016 begin = 3221223036 end = 1 any_executed = false fds = {<std::_Vector_base<pollfd, std::allocator<pollfd> >> = {_M_impl = {<std::allocator<pollfd>> = {<__gnu_cxx::new_allocator<pollfd>> = {<No data fields>}, <No data fields>}, _M_start = 0x83595420, _M_finish = 0x83595448, _M_end_of_storage = 0x83595450}}, <No data fields>} fds_for_proc = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<StdSchedulerProc* const, std::pair<unsigned int, unsigned int> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<StdSchedulerProc* const, std::pair<unsigned int, unsigned int> > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<StdSchedulerProc*, StdSchedulerProc*, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x835953e0, _M_left = 0x811c99f0, _M_right = 0x83595458}, _M_node_count = 4}}} cnt = -370244280 fSuccess = true #25 0x8040385b in C4AbstractApp::ScheduleProcs (this=this@entry=0x805afc60, iTimeout=iTimeout@entry=-1) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/C4App.cpp:39 No locals. #26 0x80403880 in C4AbstractApp::Run (this=0x805afc60) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/C4App.cpp:27 No locals. #27 0x80141907 in main (argc=1, argv=0xbffff804) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/ClonkMain.cpp:193 No locals. (gdb) quit A debugging session is active. Inferior 1 [process 16145] will be killed. Quit anyway? (y or n)
GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/games/openclonk...Reading symbols from /usr/lib/debug/.build-id/9a/edba0c7a407e9806662ac1a998cc488f78b028.debug...done. done. (gdb) run Starting program: /usr/games/openclonk [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". [14:16:47] Using XRandR version 1.3 [14:16:48] Command line: /usr/games/openclonk [14:16:48] OpenClonk Beyond the Rocks Delta [14:16:48] Version: 5.3.2 [024] Delta linux-x86 (a3e9cf2b0d46) [14:16:49] No Gamepad found [14:16:50] Loading graphics... [14:16:50] SDL_mixer runtime version is 1.2.12 (compiled with 1.2.12) [14:16:56] Scenario: /usr/share/games/openclonk//Tutorial.ocf/Tutorial01.ocs [14:16:56] Scenario uses specified object definitions. [14:16:56] Loading extras... [14:16:56] Loading graphics... [14:16:57] Loading object definitions: [14:16:57] Objects.ocd... [14:17:02] 258 definitions loaded. [14:17:02] Tutorial.ocf... [14:17:02] 5 definitions loaded. [14:17:02] Tutorial01.ocs... [14:17:02] 0 definitions loaded. [14:17:03] C4AulScriptEngine linked - 43190 lines, 0 warnings, 0 errors [14:17:03] Texture table holds 39 entries. [14:17:04] 30 textures loaded. [14:17:04] 20 materials loaded. [14:17:04] Creating landscape... [14:17:05] gl: Texturing uses 29 slots at 512x512, 6 levels (44 MB total) [14:17:05] gl: Shader 1 linked successfully [14:17:06] Placing environment objects... [14:17:06] Local music file: /usr/share/games/openclonk//Music.ocg [14:17:06] Game started. [14:17:06] Player join: JasonWoof [New Thread 0xb51bcb70 (LWP 26718)] [New Thread 0xb071ab70 (LWP 26719)] [Thread 0xb071ab70 (LWP 26719) exited] [New Thread 0xb071ab70 (LWP 26720)] Program received signal SIGSEGV, Segmentation fault. compare (face2=..., face1=..., this=0xbfffef34) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:92 92 float z21 = get_z(m_vertices[face2.Vertices[0]]); (gdb) bt full #0 compare (face2=..., face1=..., this=0xbfffef34) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:92 z12 = 4.56590176 z21 = <optimized out> z23 = <optimized out> z11 = <error reading variable z11 (Could not find type for DW_OP_GNU_const_type)> z13 = -nan(0x400000) z22 = <optimized out> #1 StdMeshFaceCmp (face1=..., face2=...) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:240 No locals. #2 0x082feb86 in binary_insertion_find (size=<optimized out>, x=..., dst=0xa9d20b70) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:136 i = 3 c = <optimized out> lx = {Vertices = {0, 2, 3}} l = 0 r = <optimized out> cx = {Vertices = {52, 3, 3042616772}} #3 binary_insertion_sort_start (dst=dst@entry=0xa9d20b70, start=start@entry=1, size=1, size@entry=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:183 j = <optimized out> x = {Vertices = {0, 1, 2}} i = <optimized out> #4 0x082ffa02 in StdMesh_binary_insertion_sort (dst=dst@entry=0xa9d20b70, size=size@entry=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:195 No locals. #5 0x08300312 in StdMesh_tim_sort (dst=0xa9d20b70, size=2) at /home/jasonwoof/software/debian/openclonk-5.3.2/thirdparty/timsort/sort.h:553 _store = {alloc = 67, storage = 0x0} store = <optimized out> len = <optimized out> run = <optimized out> curr = <optimized out> run_stack = {{start = 611035101738261816, length = -5332046709004441680}, {start = 34359738369, length = -5377607377409277949}, {start = 611035101738261816, length = 71940696320}, {start = 611035101597270016, length = 11}, { start = 4436219664, length = -5387126455161323519}, {start = 4437199528, length = 612741271986890800}, {start = 137438957440, length = 606676019029475360}, {start = 612685125095829984, length = -5332046712083374640}, { start = 4294967297, length = -5378802344685207551}, {start = 4436219664, length = -5332046709004441552}, {start = 34500730168, length = -5386970186928486912}, {start = 611034792500616664, length = -5332046712083313608}, { start = 610884485684133889, length = -5377641308724664056}, {start = 611034792500616504, length = 71940696496}, {start = 0, length = -5377607377266930632}, {start = 611034792500616504, length = -5386970187071225848}, { start = 611034792500616664, length = 143856512}, {start = 4436219664, length = -5387126455161323519}, {start = 4437199528, length = 606674304263776512}, {start = 24, length = 606676019029475328}, {start = 611034792500616504, length = -5332046712225656960}, {start = 4294967297, length = -5378802344685207551}, {start = 4436219664, length = -5332046709004441344}, {start = 34500730168, length = 613059079308445184}, {start = 140991960, length = -5332046712225656960}, {start = 34359738369, length = -5383060856298799101}, {start = 13027640136, length = 71940696704}, {start = 4294967296, length = -5332046709004441264}, {start = 612594707442654520, length = -4611704040110161912}, {start = 144036912, length = 612741268909527936}, {start = 103079215200, length = 617858327161864216}, {start = 612685125095829984, length = 606674301184843216}, {start = 24, length = 610882784877084672}, {start = 612594707443895340, length = -5332046712225660920}, {start = 142299320, length = -5380343954334282696}, {start = -4611707407221902440, length = 617858327161864240}, { start = 612685125095829984, length = 606674301184843216}, {start = 24, length = 610882784877084672}, {start = -4611707407222289364, length = -5332047554039250944}, {start = 142299320, length = -5380343954334282696}, { start = -4611707063624518760, length = -5380343954476629968}, {start = -4611706994905042024, length = 71657234366512}, {start = -4611707132486615040, length = -5262550615208230912}, {start = 412316860416, length = -5377634419764837436}, {start = -4611704037177410816, length = 610884468504264800}, {start = -4611710293440312268, length = 124554051584}, {start = 0, length = -5850673994721656832}, {start = 7348470724, length = -5377630918125027328}, {start = 142233616, length = -4611704040110161824}, {start = 610884485826366512, length = 610884468504264800}, {start = 142232628, length = 610882788098304720}, {start = 618342988593646636, length = 4294967320}, {start = 12884901888, length = -5377630918125027328}, {start = 0, length = -4611703696512778144}, {start = 610884485826366512, length = -5262550615208230488}, {start = 1, length = 610882788098304800}, { start = 12, length = 128849018880}, {start = 8, length = 287762808832}, {start = 0, length = 124554051584}, {start = 611034792500877072, length = -5332046712084408160}, {start = 606676190969419976, length = -5387273463160678240}, {start = 96, length = -5386651869865050112}, {start = 0, length = 0}, {start = 785979015174, length = 71567040053248}, {start = 0, length = -5386651869865050112}, {start = 700370765092706464, length = -5386938039241002499}, {start = 335007449088, length = 71116068487172}, {start = -5262550933035810816, length = -5262550744057249364}, {start = -5262549863588954111, length = -5386920985167346748}, { start = 610348975020349624, length = 611033555409043504}, {start = -5262551001613123952, length = 4436220064}, {start = 606676826483326976, length = 51539607563}, {start = 611035101738522384, length = -5332046712084408160}, { start = 606676190969419976, length = -5387273463160678240}, {start = 610348765964621984, length = -5332046712225660927}, {start = 610884451324395520, length = 30206023440}, {start = 606676809444710560, length = -5332046712225660927}, {start = 0, length = -5387106260083845360}, {start = -4611707767999542616, length = 103079215104}, {start = 611035101597270018, length = -5332046712082922464}, {start = 618303457715073504, length = 16}, {start = 606676019029475343, length = 21}, {start = 7335624688, length = 142653244}, {start = 0, length = 4294967300}, {start = 8589934592, length = 0}, {start = 38654705664, length = 17179869184}, { start = 4294967296, length = 0}, {start = 3, length = 0}, {start = -4611706926185952600, length = -5332046712225660928}, {start = -4611706771568109808, length = -5383055332970856448}, {start = -4611706771568109808, length = -5379711486182555648}, {start = 581808798478061752, length = 0}, {start = 0, length = 7348470724}, {start = 606674304263777788, length = 4294967296}, {start = 612685125095843056, length = -5383077852558136032}, { start = 581808798478061752, length = 0}, {start = 0, length = -5384413669159287868}, {start = 581808798478061752, length = 4438739592}, {start = 38654705664, length = 17179869184}, {start = 4294967296, length = 0}, { start = 3, length = 0}, {start = 1138308632760, length = -5332046712225660928}, {start = 142299320, length = 8589934326}, {start = 536870646, length = 612698012926665977}, {start = -5332046712225660904, length = -5332046712083361608}, {start = 142299320, length = -5383185848294392424}, {start = 612741268907970744, length = 7516188136}, {start = 4294967296, length = 12884901888}, {start = -5332046712225660928, length = -5386062926627254088}, {start = -5383815902959501288, length = 41708209092}, {start = -5332046712225660925, length = 1545}, {start = 4, length = 1}, {start = -5383468577544208384, length = -5385122759669922876}, { start = -4611705465896745216, length = 142299320}, {start = 3221221272, length = 586154483826814872}, {start = 17179869184, length = -5332046712225660927}, {start = 142299391, length = -5380583794040372477}, { start = 4393892792568, length = 3311419785986}, {start = 611170925785597696, length = -5380400450476438047}, {start = 3311419785344, length = 611170925643039490}, {start = 43984760081889, length = 606658804800562688}, { start = 1, length = -5380582063027304200}, {start = 3311419785986, length = -5332046712225660158}, {start = 700350011669479425, length = -5380391052946749192}, {start = 15260161102008, length = 700352451210903552}, { start = -5380391405275316223, length = 586021173573723864}, {start = -4611704057290027551, length = -4131903784}, {start = 4294967296, length = -5332046711160307712}} stack_curr = <optimized out> #6 0x083029b2 in StdMeshInstance::ReorderFaces (this=0xa9d039d0, global_trans=0xbfffefe0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/lib/StdMesh.cpp:1199 pred = {m_vertices = 0xa9d253c8, m_face_ordering = StdSubMeshInstance::FO_FarthestToNearest, m_global_trans = @0xbfffef40} inst = @0xafa9d008: {Vertices = {<std::_Vector_base<StdMeshVertex, std::allocator<StdMeshVertex> >> = { _M_impl = {<std::allocator<StdMeshVertex>> = {<__gnu_cxx::new_allocator<StdMeshVertex>> = {<No data fields>}, <No data fields>}, _M_start = 0xa9d253c8, _M_finish = 0xa9d25448, _M_end_of_storage = 0xa9d25448}}, <No data fields>}, Faces = {<std::_Vector_base<StdMeshFace, std::allocator<StdMeshFace> >> = { _M_impl = {<std::allocator<StdMeshFace>> = {<__gnu_cxx::new_allocator<StdMeshFace>> = {<No data fields>}, <No data fields>}, _M_start = 0xa9d20b70, _M_finish = 0xa9d20b88, _M_end_of_storage = 0xa9d20b88}}, <No data fields>}, Material = 0x96108fc, PassData = {<std::_Vector_base<StdSubMeshInstance::Pass, std::allocator<StdSubMeshInstance::Pass> >> = { _M_impl = {<std::allocator<StdSubMeshInstance::Pass>> = {<__gnu_cxx::new_allocator<StdSubMeshInstance::Pass>> = {<No data fields>}, <No data fields>}, _M_start = 0xafa9d038, _M_finish = 0xafa9d044, _M_end_of_storage = 0xafa9d044}}, <No data fields>}, CurrentFaceOrdering = StdSubMeshInstance::FO_FarthestToNearest} i = <optimized out> #7 0x0821e423 in C4Draw::RenderMesh (this=0x86b48f8, instance=..., sfcTarget=0x86b4400, tx=353, ty=971, twdt=96, thgt=96, dwPlayerColor=0, pTransform=0xbffff208) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/graphics/C4Draw.cpp:738 mat = {a = {{0.50000006, 0.865999997, -2.18556941e-08, 0.865999997}, {0.432999939, -0.25000003, -0.865999997, -3.25}, {0.749000013, -0.433000028, 0.49999997, -5.43300009}}} #8 0x08386003 in C4DefGraphics::Draw (this=0xaa79b40, cgo=..., iColor=0, pObj=0xa9d88988, iPhaseX=0, iPhaseY=0, trans=0xbffff208) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4DefGraphics.cpp:349 instance = 0xa9d039d0 value = {Data = {Int = 186600384, Ptr = 0xb1f4bc0, PropList = 0xb1f4bc0, Str = 0xb1f4bc0, Array = 0xb1f4bc0, Fn = 0xb1f4bc0}, NextRef = 0x0, Type = C4V_Array} matrix = {a = {{0.865999997, 0, 0.5, 0.865999997}, {-0.25, 0.865999997, 0.432999998, -3.25}, {-0.432999998, -0.5, 0.749000013, -5.43300009}}} dummy = {_M_ptr = 0x0} fctPicRect = {x = 0, y = 0, Wdt = -1445971504, Hgt = -1073745808} fctPicture = {Surface = 0x0, X = 0, Y = 0, Wdt = 0, Hgt = 0} #9 0x083ae7c9 in C4Object::DrawPicture (this=0xa9d88988, cgo=..., fSelected=false, pRegions=0x0, transform=0xbffff208) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4Object.cpp:2451 No locals. #10 0x08386a2f in C4GraphicsOverlay::Draw (this=0xa9422a10, cgo=..., pForObj=0xa943b458, iByPlayer=0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4DefGraphics.cpp:957 fctTarget = {Surface = 0x86b4400, X = 353, Y = 971, Wdt = 96, Hgt = 96} __PRETTY_FUNCTION__ = "void C4GraphicsOverlay::Draw(C4TargetFacet&, C4Object*, int32_t)" offX = 401 offY = 1019 newzoom = 1 zdsi = {<ZoomData> = {Zoom = 1, X = 0, Y = 50}, <No data fields>} #11 0x083c3aa0 in C4Object::Draw (this=0xa943b458, cgo=..., iByPlayer=0, eDrawMode=C4Object::ODM_Normal, offX=401, offY=1019) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4Object.cpp:2078 pGfxOvrl = 0xa9422a10 ccgo = {Surface = 0x0, X = 0, Y = 0, Wdt = 0, Hgt = 0} newzoom = 1 zdsi = {<ZoomData> = {Zoom = 1, X = 0, Y = 50}, <No data fields>} fYStretchObject = 16 fOldClrModEnabled = false pActionDef = 0x0 #12 0x083cb377 in C4ObjectList::DrawIfCategory (this=0x858a4c0, cgo=..., iPlayer=0, dwCat=32768, fInvert=false) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/object/C4ObjectList.cpp:449 clnk = 0xa97602d0 #13 0x081ef8c5 in C4Viewport::Draw (this=this@entry=0xa9619238, cgo0=..., fDrawOverlay=fDrawOverlay@entry=true) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:292 fGUIZoom = <optimized out> gui_cgo = {<C4Facet> = {Surface = 0x86b4400, X = 0, Y = 50, Wdt = 1920, Hgt = 1014}, TargetX = 1594.87488, TargetY = 988.500122, Zoom = 1} cgo = {<C4Facet> = {Surface = 0x86b4400, X = 0, Y = 50, Wdt = 400, Hgt = 212}, TargetX = 1594.87488, TargetY = 988.500122, Zoom = 4.80000019} GameZoom = {Zoom = 4.80000019, X = 0, Y = 50} #14 0x081efd1c in C4Viewport::Execute (this=this@entry=0xa9619238) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:353 RegionUpdate = 2 cgo = {<C4Facet> = {Surface = 0x86b4400, X = 0, Y = 50, Wdt = 400, Hgt = 212}, TargetX = 1594.87488, TargetY = 988.500122, Zoom = 4.80000019} w = 0x858a720 #15 0x081f019c in C4ViewportList::Execute (this=0x85a4340, DrawBackground=false) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Viewport.cpp:764 cvp = 0xa9619238 #16 0x081ed4b4 in C4GraphicsSystem::Execute (this=0x85a3fa0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4GraphicsSystem.cpp:139 fBGDrawn = <optimized out> #17 0x081d8770 in Execute (this=0x86b4808, iTimeout=<optimized out>) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Application.cpp:865 Now = <optimized out> #18 C4ApplicationGameTimer::Execute (this=0x86b4808, iTimeout=0) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/C4Application.cpp:845 No locals. #19 0x083f7979 in StdScheduler::ScheduleProcs (this=0x858a860, iTimeout=670) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/StdScheduler.cpp:293 j = 2668870856 begin = 4 end = 1 any_executed = false fds = {<std::_Vector_base<pollfd, std::allocator<pollfd> >> = {_M_impl = {<std::allocator<pollfd>> = {<__gnu_cxx::new_allocator<pollfd>> = {<No data fields>}, <No data fields>}, _M_start = 0xa9420978, _M_finish = 0xa94209a0, _M_end_of_storage = 0xa94209a8}}, <No data fields>} fds_for_proc = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<StdSchedulerProc* const, std::pair<unsigned int, unsigned int> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<StdSchedulerProc* const, std::pair<unsigned int, unsigned int> > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<StdSchedulerProc*, StdSchedulerProc*, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0xa943f0e0, _M_left = 0xa975f720, _M_right = 0xa96fe508}, _M_node_count = 4}}} cnt = -1626096440 fSuccess = true #20 0x083eb220 in C4AbstractApp::Run (this=0x858a860) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/platform/C4App.cpp:27 No locals. #21 0x081634b0 in main (argc=1, argv=0xbffff804) at /home/jasonwoof/software/debian/openclonk-5.3.2/src/game/ClonkMain.cpp:193 No locals. (gdb) quit A debugging session is active. Inferior 1 [process 26715] will be killed. Quit anyway? (y or n)