Time Nick Message 11:41 sfan5 merging #14106, #14096 in 10m 11:41 ShadowBot https://github.com/minetest/minetest/issues/14106 -- Update porting.h to fix build errors on MacOS 14 / Xcode 15 by superfloh247 11:41 ShadowBot https://github.com/minetest/minetest/issues/14096 -- [no squash] MapBlock structure optimizations by sfan5 12:40 MTDiscord Thank you for the review, grorp! 12:41 MTDiscord I would like to contribute to fixing the Windows crash if I can, because I have a Windows machine. 18:12 MTDiscord MSVC is issuing warnings about the header being deprecated (https://en.cppreference.com/w/cpp/header/codecvt). 18:12 MTDiscord This is going to go away completely in C++26, without a replacement yet. 18:20 MTDiscord Anyway, sfan5: https://github.com/minetest/irrlicht/pull/261. 18:33 MTDiscord this line is causing the win 32-bit crash: 18:33 MTDiscord https://github.com/minetest/irrlicht/blob/9b52d6fb0db1e491b1d2787ef33c5c74aebb3558/source/Irrlicht/mt_opengl_loader.cpp#L761 18:33 MTDiscord it's absolutely obliterating the stack 18:36 Krock @paradust what if you revert 8c521939b9a938 ? 18:47 Krock or set a breakpoint before the .reserve() call 18:53 MTDiscord if I comment out line 759 to 776, it works 18:54 MTDiscord turns out the second part is also corrupting the stack, not as badly, but enough to cause another weird issue 18:54 MTDiscord i'll try reverting that, one sec 18:56 Krock are you sure it's corrupting the stack? ContextManager resides in heap, as well as the unordered_set 18:57 Krock oh. OpenGLProcedures GL; is in stack 18:58 MTDiscord reverting 8c521939b9a938 is not enough, it still crashes 18:59 Krock same reason? if so, the corruption must've happened earlier 18:59 MTDiscord but if I comment out the remaining part of LoadAllProcedures, it works again 19:00 MTDiscord something might be wrong with with the codes for EXTENSIONS and NUM_EXTENSIONS, not sure. I couldn't find the OpenGL doc where it lists the code 19:01 Krock grep GL_NUM_EXTENSIONS /usr/include/GL/*.h reveals that it's code 0x821D 19:03 MTDiscord Unfortunately I gotta sleep. Brain shutting off. But I'll be back in 11 hours or so. I'll take a look again if it is still a mystery 19:05 Krock you could also try to reproduce the issue with the software OpenGL driver: https://fdossena.com/?p=mesa/index.frag 19:05 Krock drop the opengl32.dll file next to minetest.exe 22:46 lhofhansl Hi all. Planning to merge #14073 is a few. 22:46 ShadowBot https://github.com/minetest/minetest/issues/14073 -- Allow cheaper culling checks at a distance by lhofhansl 23:04 lhofhansl Done.