<peeps>
pca006132: RelWithDebInfo i think does higher optimization than -Og by default, not sure which one wins out when added to CMAKE_CXX_FLAGS (whichever shows up last on the compiler command line typically)
<peeps>
for a pure CMAKE_BUILD_TYPE=Debug build however, it seems to default to no optimizations at all, so the -Og helps there
<peeps>
in the past when I was doing a lot more stack tracing and profiling, i also found -fno-omit-frame-pointer seemed to help with more complete traces in some cases
peeps is now known as peeps[zen]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
dalias has joined #openscad
fling has quit [Ping timeout: 240 seconds]
dalias has quit [Ping timeout: 255 seconds]
LordOfBikes has quit [Ping timeout: 255 seconds]
fling has joined #openscad
misterfish has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
LordOfBikes has joined #openscad
qeed has quit [Quit: qeed]
qeed has joined #openscad
erectus has quit [Remote host closed the connection]
<pca006132>
it seems that it is from some OpenGL stuff
<pca006132>
tried disabling mimalloc but it does not make a difference
<pca006132>
I would be great if someone with a physical machine can test this, to rule out potential issue from mesa3d on windows
<kintel>
Thx!
<kintel>
Well, perhaps time has come for me to try successively reinstalling Windows components until I can build again : (
<pca006132>
I feel like this might be due to mesa because otherwise someone should have already complained...
<pca006132>
btw, you should run it under gdb and prepare to interrupt it when you see the RAM spike...
<pca006132>
or you will get OOM in 1s
dalias has joined #openscad
<kintel>
pca006132 it just sits expanding memory use after F6, without any user interaction?
<kintel>
..yet it seems to keep calling rendering-related functions when it should not be redrawing?
mmu_man has joined #openscad
dalias has quit [Ping timeout: 256 seconds]
<kintel>
..and this is both with/without manifold enabled as well?
<pca006132>
no, it immediately consume all the memory after you hit render
<pca006132>
it doesn't even finish the F6 render
<kintel>
Does it fail in cmd-line mode too, or just GUI?
<pca006132>
just GUI
<pca006132>
I think it is with manifold enabled, but I don't think it is related
<pca006132>
for memory usage increase by about 1kb per vertex, I added a breakpoint to the VertexArray::createVertex function and was stepping through it
<pca006132>
when I reach the end of the function gdb said the heap was corrupted so it cannot be stepped. When I do a continue the program is trapped in another call to createVertex and the memory usage increased by about 1kb
<kintel>
pca006132 Did you try the latest binary snapshot too? ..just to focus to problem to self-built binaries
<kintel>
I'll try fixing up my Windows box, but it may take a day or two to get anywhere
<pca006132>
no, forgot to try that
<pca006132>
will try
<pca006132>
let me finish up with the manifold fuzzer thing first
<kintel>
..but your diagnosis should allow me to look for problems by reading code too. I just want to have a good repro case :)
<kintel>
At least I know how the vertex array code works now. For some definition of "works"
<teepee>
not as cool as that one, but openclipart hopefully has some images that should work
dalias has joined #openscad
misterfish has quit [Ping timeout: 255 seconds]
greenbigfrog has quit [Ping timeout: 256 seconds]
<teepee>
hmm, the lid is not clipping in as well as I want, but otherwise it's fine https://imgur.com/a/2A93V5e
greenbigfrog has joined #openscad
misterfish has joined #openscad
zauberfisch has joined #openscad
dalias has quit [Ping timeout: 256 seconds]
dalias has joined #openscad
<InPhase>
teepee: Run a gluestick around the outer edge of the insert lip if the lid, then let it dry fully. Then observe it magically stay in place better. :)
<InPhase>
It's like printing a thin grippy layer. ;)
<InPhase>
File under 75% chance of success.
<InPhase>
Washable if it fails to help.
mmu_man has quit [Ping timeout: 256 seconds]
misterfish has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
kintel has joined #openscad
<teepee>
haha, magic closed box
<teepee>
printed a new lid meanwhile, perfect now :P
<teepee>
3 days
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]