califax has quit [Remote host closed the connection]
califax has joined #openscad
kanzure has joined #openscad
castaway has joined #openscad
Alexer- has joined #openscad
Alexer has quit [Ping timeout: 255 seconds]
Guest25 has joined #openscad
Guest25 has quit [Quit: Client closed]
LordOfBikes has quit [Ping timeout: 260 seconds]
LordOfBikes has joined #openscad
hyvoid has quit [Quit: WeeChat 4.0.4]
J23k51 has joined #openscad
J23k92 has quit [Ping timeout: 246 seconds]
mmu_man has quit [Ping timeout: 250 seconds]
<gbruno>
[github] inks007 opened issue #4732 (Manifold - Minkowski fails on concave polyhedron with render mode (but works if you preview first)) https://github.com/openscad/openscad/issues/4732
<gbruno>
[github] inks007 edited issue #4732 (Manifold - Minkowski fails on concave polyhedron with render mode (but works if you preview first)) https://github.com/openscad/openscad/issues/4732
<gbruno>
[github] inks007 edited issue #4732 (Manifold - Minkowski fails on concave polyhedron with render mode (but works if you preview first)) https://github.com/openscad/openscad/issues/4732
<guso78k>
why is python interpreter/executable needed in master for compiling openscad. missing any dependency?
peeps[work] has joined #openscad
guso78k has quit [Ping timeout: 246 seconds]
guso78k has joined #openscad
<guso78k>
i just realized that ENABLE_PYTHON is active :')
mmu_man has joined #openscad
guso78k has quit [Ping timeout: 246 seconds]
hyperair has quit [Remote host closed the connection]
guso78k has joined #openscad
<guso78k>
whenever i compile openscad with MXE i get a linking error: all symbols of libdoubleconversion are double defined in libdoubleconversion.a and libQt5core.a and, sso I manually remove libdoubleconversion.a from the library list. is there a better option ?
<Scopeuk>
Looks like it might be a recent addition to qt https://doc.qt.io/qt-5/qtcore-attribution-doubleconversion.html, I guess at that point a full solution is to have the build system if it has double conversion and only link double conversion if not
<teepee>
I've never seen that with our builds, but we build a static version, so maybe you just need to switch to that
<buZz>
how can i force QT to draw openscad's menubars at smaller sizes?
guso78k has joined #openscad
<buZz>
i guess.. the menubar is GTK? hmm
<guso78k>
Scopeuk, i am talking about recent master and i suppose that there are still daily builds. i am wondering, how these are different from my setup.
<kintel>
I guess this is Windows' way of saying welcome back.
<InPhase>
ndnihil: It emphasizes our excellent UX design. :)
<InPhase>
kintel: Perhaps library or compiler version specific optimization-triggered UB.
<kintel>
Possible, I upgraded all packages in msys2 and built with -DCMAKE_BUILD_TYPE=Debug though
<InPhase>
Does our Debug disable optimization?
<InPhase>
And you mean it still crashed under a Debug build outside of gdb?
<kintel>
yup, crashed in debug mode under gdb
<kintel>
*outside gdb
<kintel>
I can look into optimization flags, that's a good idea
<kintel>
CI is green though, so it feels related to my system
<kintel>
argh, after updating msys2, I'm back to pillow not installing
<InPhase>
For the record, you also voted for the python testing thing being a good idea. ;) *dodges-blame*
<InPhase>
It sure has been dodgy under msys2 though.
<kintel>
Yeah, I had no idea how badly msys would misbehave : (
<kintel>
..but we have -DENABLE_TESTING=0 ;)
<kintel>
I pledge to uninstall Windows as soon as my WGL patch is tested
rue_mohr has left #openscad [Leaving]
<kintel>
Looks like manifold build flags overrides my attempts at building without optimizations..
<kintel>
I probably need to slow down, clear my desk, and strap in for the long one : /
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
be7b5 has joined #openscad
be7b5 has quit [Client Quit]
tachoknight has joined #openscad
<teepee>
kintel: the manifold update branch has some manifold fixes including at least leaking -Werror into our flags. that might solve the optimization flags to
<teepee>
*too
<InPhase>
kintel: Hopefully you're still habitually checking logs. If you want to get extra hacky in attacking this problem, you can try duct-taping in this segfault stack dumping code of mine. You can just brutally slap it above main, and then call RCdbg::Segfault::SetHandler(); like done in the example. An example of what you can get out of it after demangling is shown. https://bpa.st/IMTDS
<teepee>
I have not merged yet as for some strange reason the 2 "invalid stl" tardis door test cases broke after forcing predictible STL output, not sure yet why
<InPhase>
This slightly thwarts usage of debuggers for segfault tracking, but if things are working right on that trace, you get a view of where you were in the code, which makes up for it. I think with msys2/mingw you also need the -rdynamic flag on the compile line to make this work.
<teepee>
oh, that looks useful
<InPhase>
If you want to leave it in all the time, you also can. I ship code with segfault dumps like this in routinely. Although I also try very hard to not have segfaults. :)
<teepee>
:)
<InPhase>
The caveat is that you sometimes DON'T get a trace like this under Windows in certain conditions where the segfault happened within some library, due to an architectural choice of how those signals are handled in a memory block specific manner.
<teepee>
having it available, maybe with a command line flag to activate might be good
<InPhase>
teepee: Well, if one is going to put it in, the smarter choice is probably a flag to remove it.
<InPhase>
For users of compiled code, there are no good outcomes after a segfault other than information that can be reported.
<teepee>
hmm, not so sure, at least on Linux some distros have those automatic bug reporters
<InPhase>
It's developers who would sometimes not want it.
<InPhase>
teepee: Does anybody actually use those or find them ever useful?
<teepee>
no idea
<teepee>
in general I like it better to keep system functions in place, not force overriding them
<teepee>
but it might be true this is not used much anymore, I suppose that would mean poking distro people about their bugtracker statistics
<InPhase>
A reasonable principle. Although there's no actionable data other than the segfault exit code (which this also returns), or a core dump if those are enabled, which this would block.
<InPhase>
So it's really the core dumps that it prevents.
<teepee>
oh, they do collect backtraces if available and also execute ldd for lib dependencies and installed version of those
<InPhase>
Although I suppose you could try to trigger another segfault at the end of the handler if you wanted. ;)
<InPhase>
Although that might loop... Maybe turn the handler off first. Which is getting hacky on hacky.
<teepee>
but yeah, I would not be opposed to just have a --disable-our-segfault-handler first and see if anyone complains :)
<InPhase>
Also, technically calling fprintf inside of a segfault handler is both undefined behavior AND a POSIX violation. But it works, usually.
<InPhase>
And I don't care about standards post-segfault. I do these things only to maximize the chances of returned information from users.
<teepee>
especially on Windows that could be a huge win as usually there's not really any information other than "it crashed"
<InPhase>
I do alternate versions of this where I log the information to a file with datetime stamps. That tends to be more valuable for windows users who never launch from a terminal.
<InPhase>
The example in the pastebin uses a single fprintf call to output to stderr, so the conversion to a file output is obvious.
<guso78k>
i have seen some projects on github which do backtraces on several systems but i did not have time to look into that closely.
<guso78k>
having this in place would help me to debug my indexed-pr error
guso78k has quit [Ping timeout: 246 seconds]
<teepee>
as for a totally different topic, any pointers to self-hosted CI system? I do want to have something on the new file server, specifically first for auto-deploying the WASM playground
<teepee>
I know the obvious candidates like gitlab and jenkins
<teepee>
I looked at flow.ci but could not get that to work, it looks not bad, but it just threw an error without any text so not too helpful
<teepee>
so far I'm impressed by concourse
<teepee>
slightly unusual that one
<teepee>
I did not look closer at Abstruse CI but the name is already the strangest of the bunch ;-)
<teepee>
pluse 1 commit in the last 2 years
<InPhase>
teepee: I never dabbled in that. Maybe #C++-General would have someone with a suggestion? (Just ignore the harsh retorts about all your life choices being wrong.)