teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
linext_ has quit [*.net *.split]
castaway has quit [*.net *.split]
abff has quit [*.net *.split]
kanzure has quit [*.net *.split]
abff has joined #openscad
abff has quit [Changing host]
abff has joined #openscad
linext has joined #openscad
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
hyperair has joined #openscad
hyvoid has joined #openscad
_whitelogger has joined #openscad
hyvoid has quit [Ping timeout: 255 seconds]
jonasbits has quit [Server closed connection]
jonasbits has joined #openscad
abff has quit [Quit: everybody gets one]
germ has quit [Quit: ZNC 1.8.2 - https://znc.in]
germ has joined #openscad
abff has joined #openscad
qeed has joined #openscad
qeed_ has quit [Ping timeout: 246 seconds]
marcus has quit [Remote host closed the connection]
marcus has joined #openscad
guso78k has joined #openscad
<guso78k> today when compiling master branch of openscad with MXE , i get this error:
peeps[work] has quit [Server closed connection]
<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 ?
guso78k has quit [Ping timeout: 246 seconds]
<gbruno> [github] kintel synchronize pull request #4585 (Test using msys2 python for tests) https://github.com/openscad/openscad/pull/4585
<gbruno> [github] kintel pushed 1 additions 1 modifications (time) https://github.com/openscad/openscad/commit/61fe9a2e651dc5077da521517077ff7e98a5c568
<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.
<guso78k> this is my quick fix and it compiles fine. however its very ugly.  i want to resolve the absolute path
<guso78k> IST(FILTER TARGET_LIBRARIES EXCLUDE REGEX .*libdouble-conversion.a )
<guso78k> LIST ... does the job
<Scopeuk> guso78k it looks like it is a qt build option
<Scopeuk> Used in Qt Core. Configure with -system-doubleconversion or -no-doubleconversion to avoid.
<Scopeuk> Where is your qt from?
<guso78k> no special qt version. i just run the ./scripts/mingw-x-build-dependencies.sh 64 as documented.
Alexer- is now known as Alexer
<teepee> and MXE_TARGETS=x86_64-w64-mingw32.static.posix
<teepee> the build-depends should take care of the needed flags
juri_ has quit [Ping timeout: 260 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
snaked has quit [Quit: Leaving]
snaked has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
juri_ has joined #openscad
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guso78k has quit [Ping timeout: 246 seconds]
guso78k has joined #openscad
juri_ has quit [Ping timeout: 255 seconds]
kintel has joined #openscad
<kintel> This may be an existing issue; have anyone seen flaky behavior with fast-csg on Windows?
<kintel> The following design segfaults _most_ of the time on a local msys2 build:
<kintel> difference() { cylinder(r=1, h=1, center=true); cylinder(r=0.5, h=2, center=true); }
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ndnihil> found your headquarters
<J23k51> Savannah College of Art and Design
juri_ has joined #openscad
kintel has joined #openscad
<kintel> ^ To make it more interesting, it doesn't fail under gdb and doesn't dump core when crashing
<InPhase> ndnihil: This is the better perspective: https://goo.gl/maps/AF2M98mePg5v1jFb9
<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.)
<InPhase> It's probably a bad sign that my first reaction to that image was, "Looks like a normal lab except for them wearing safety goggles."
<teepee> :)
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #openscad