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
Smeef has joined #openscad
TheAssassin has quit [Ping timeout: 264 seconds]
snaked has joined #openscad
TheAssassin has joined #openscad
L29Ah has quit [Read error: Connection timed out]
J25k43 has quit [Quit: Client closed]
J25k43 has joined #openscad
J25k42 has joined #openscad
foul_owl has quit [Ping timeout: 245 seconds]
J25k43 has quit [Ping timeout: 240 seconds]
foul_owl has joined #openscad
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #openscad
howiemnt has joined #openscad
howiemnt1 has quit [Ping timeout: 260 seconds]
ccox has quit [Ping timeout: 272 seconds]
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
ccox has joined #openscad
howiemnt has quit [Remote host closed the connection]
howiemnt has joined #openscad
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
howiemnt1 has joined #openscad
howiemnt has quit [Ping timeout: 276 seconds]
howiemnt has joined #openscad
howiemnt1 has quit [Ping timeout: 248 seconds]
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
TheAssassin has quit [Remote host closed the connection]
L29Ah has joined #openscad
TheAssassin has joined #openscad
snaked has quit [Remote host closed the connection]
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
fling has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
GNUmoon has quit [Ping timeout: 264 seconds]
GNUmoon has joined #openscad
drfff has quit [Ping timeout: 244 seconds]
drfff has joined #openscad
deathonater has joined #openscad
Smeef has quit [Ping timeout: 252 seconds]
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
<dalias> i'm getting segfaults in the form of a call to strlen(0) trying to export pngs from command line (but not in gui) right after debug output:
<dalias> Camera: Camera()
<dalias> Camera: Camera()
<dalias> i know i should do a proper debug build but any ideas right off where i might should look?
<teepee> what's the command line? any special flags?
<dalias> happens with most basic
<dalias> openscad -o foo.png foo.scad
<dalias> i was using more options but took them off to test
<dalias> it's a git snapshot made into a local distro package. updating that is a pain becuase i have to make hashes & refs for all the submodules to download to be built as a package
<dalias> so i'll probably build a non-packaged version to debug if i need to, or edit the package to add -g
<dalias> it's probably gonna be something stupid :/
<dalias> the strlen call is direct from the openscad .text, not from any shared lib
<teepee> no crash with some example file
<dalias> any file does it
<dalias> even empty or single-sphere test
<teepee> both cube() and CSG example file are ok here
<dalias> so it's something either about my build or about the snapshot version
<dalias> not about the file contents
<teepee> that's the package build, let me try a freshly built version
<dalias> commit of my pkg is 39de7704dfe1a948dacb4fcef48f99fdcaf579ae
<teepee> that's like 3 pages of commits in the past
<teepee> and having older links to mimalloc, opencsg and manifold
<teepee> well, lets see what that does anyway
<teepee> no crash
<teepee> lets see if release-mode makes a difference
<dalias> oh i have an idea
<dalias> ill read the disasm for adjacent calls thru the got..
<dalias> then i can read the got entries to see what those calls are to
<dalias> and that'll pinpoint where this code is from
<InPhase> dalias: Step one. Please make sure you are doing a fully clean build.
<InPhase> dalias: It either helps or it doesn't, but this is so much faster than a long chase through the code for mysterious problems. Incremental builds will segfault rarely, but just often enough that this is worth doing as a step one anytime you hit this scenario.
<InPhase> Especially for a "how is this not happening for everyone?" segfault. :)
<InPhase> In the meantime, I'll do a pull and clean build myself to check on my end.
<teepee> no crash in release mode
<InPhase> My cube worked with no crash.
<InPhase> That's a 2 month old commit though. Not sure if it's worth even trying to downgrade to that. If there's a bug fixed since then, we should just move past it. :)
arebil has quit [Ping timeout: 244 seconds]
arebil has joined #openscad
<gbruno> [github] kintel synchronize pull request #5826 (Refactor tests to align CGAL and Manifold tests) https://github.com/openscad/openscad/pull/5826
<gbruno> [github] kintel pushed 1495 additions 1510 removals (Rename tests: Remove unnecessary test suffix) https://github.com/openscad/openscad/commit/5674482552a6e12d66425e2622e774b266355e5a
kintel has joined #openscad
<kintel> If anyone have PRs with a lot of tests pending, now is the time to merge, before my large refactor goes through: https://github.com/openscad/openscad/pull/5826
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
<gbruno> [github] kintel pushed 1495 additions 1 modifications 1510 removals (Rename tests: Remove unnecessary test suffix) https://github.com/openscad/openscad/commit/d1a756de4b36284a893ade1ede88ea2f2e47ca62
<gbruno> [github] kintel synchronize pull request #5826 (Refactor tests to align CGAL and Manifold tests) https://github.com/openscad/openscad/pull/5826
<dalias> inphase, it was fully clean because it was done by abuild
<InPhase> Not familiar with that tool, but okay.
<teepee> arch package build?
<InPhase> Rarely known is the origin of that acronym, Add Random Crashes Hackily.
<InPhase> I have yet to understand the basis for this. :) But the statistical ratio does seem odd.
<InPhase> It must have something to do with how all the dependencies are prepared and slapped together on that platform.
<teepee> or new compiler trying better optimization triggering some bad stuff undetected so far
<teepee> because older libs and compilers we have in a wide variety
foul_owl has quit [Ping timeout: 252 seconds]
foul_owl has joined #openscad
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<InPhase> Could be.
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
J25k42 has quit [Quit: Client closed]
J25k42 has joined #openscad
deathonater is now known as Smeef
ccox has quit [Read error: Connection reset by peer]
ccox has joined #openscad
snaked has joined #openscad
HumanG331 has quit [Ping timeout: 244 seconds]
HumanG331 has joined #openscad
arebil has quit [Ping timeout: 252 seconds]
howiemnt1 has joined #openscad
howiemnt has quit [Ping timeout: 248 seconds]
arebil has joined #openscad
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad