kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pca006133 has joined #openscad
pca006132 has quit [Ping timeout: 248 seconds]
pca006133 is now known as pca006132
ferdna has joined #openscad
hyperair has joined #openscad
guso78k has quit [Quit: Client closed]
guso78k has joined #openscad
<guso78k>
kintel, i put a printf right at the beginning of main() and an exit() after, and the SIGKILL still happened. so its nothing which can be fixed within the code.
<guso78k>
it rather looks like it happens during loading all its attached libraries(what log also suggests). Any strategies around to downtrack the root cause ?
Guest95 has joined #openscad
Guest95 has quit [Client Quit]
hyperair has quit [Read error: Connection reset by peer]
pca006133 has quit [Remote host closed the connection]
pca006132 has quit [Ping timeout: 255 seconds]
lostapathy has quit [Ping timeout: 248 seconds]
mtm has quit [Ping timeout: 260 seconds]
mtm has joined #openscad
zauberfisch has quit [Ping timeout: 264 seconds]
kintel has joined #openscad
<kintel>
guso78 The first step is likely "otool -L OpenSCAD.app/Contents/MacOS/OpenSCAD"
<kintel>
..which will show which libraries are linked
<kintel>
Any libraries we build should be looked up via @rpath
<kintel>
Any libraries built by homebrew _may_ look different
<guso78>
Ahh target IS only to use native libs using rpath
<kintel>
yeah, that's one technique to make libraries relocatable. That way we can copy the libraries into the app bundle
<guso78>
Kintel i know that you are Off tomorrow, but IS IT generally interesting to you to Debug your Scripts in different macOs by granting you ssh Access ?
<kintel>
Generally yes, although I prefer building community knowledge in how to troubleshoot this :)
<kintel>
Anyway, if the otool output looks ok, some next steps:
<kintel>
1. investigate runtime behavior: man dyld, and set e.g. DYLD_PRINT_LIBRARIES to see what's actually being loaded
<kintel>
2. run macdeployqt and run the sanity check script. You can edit the script to set it in verbose mode
<kintel>
3. completely uninstall and reinstall homebrew, and remove the ../libraries folder and rebuild from source
<kintel>
FYI: I can successfully build and run OpenSCAD on macOS 14.5 in a VM
<guso78>
That Looks Like a concept. My Idea was to reduce openscad to a Single Main function, remove all libs, then gradually add libs again until Error Comes Back.
J24k91 has quit [Quit: Client closed]
J24k has joined #openscad
<kintel>
the sanity check script essentially just recursively runs otool -L on all libraries to verify correctness
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]