Giter Club home page Giter Club logo

Comments (6)

stopthejunk1 avatar stopthejunk1 commented on July 18, 2024

I've found an issue that may be related. It causes openscad to crash when compiling/rendering even the simplest command. I'm running Mac OSX 10.5.8. Here's the steps I took:

  1. I downloaded the latest dmg ("OpenSCAD-2011.12.dmg"), mounted the disk image and ran the OpenScad.app.
  2. Typed in the command cube([2,3,4]);
  3. hit F6 to compile/render

Result: openscad crashed, and the crash report gives these details:

Process: OpenSCAD [6456]
Path: /Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
Identifier: org.openscad.OpenSCAD
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [113]

Interval Since Last Report: 2980 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 75 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2012-02-04 18:15:04.299 -0500
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: 2EA49516-031C-492E-AB22-97A9813B8368

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Symbol not found: __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
Referenced from: /Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
Expected in: /usr/lib/libstdc++.6.dylib

I then downloaded an older openscad dmg ("OpenSCAD-2011.04.dmg") from github and did the same steps as above, and the cube rendered just fine.

from openscad.

kintel avatar kintel commented on July 18, 2024

stopthejunk1: This is probably not related, but it really should be fixed. Could you test a few things for me?

  1. Run OpenSCAD in 32-bit more and check if the same error occurs (Cmd-I on OpenSCAD.app, check "Open in 32-bit mode", rerun)
  2. Download and run the latest development snapshot: http://www.kintel.net/public/OpenSCAD-2012.01.25.dmg

from openscad.

kintel avatar kintel commented on July 18, 2024

Just posting a link to help fix this:
http://stackoverflow.com/questions/3484043/os-x-program-runs-on-dev-machine-crashing-horribly-on-others

from openscad.

 avatar commented on July 18, 2024

Hi,

I have the same problem as stopthejunk1. openscad 2011-06 works fine (made myself a nice dock for my phone with it), but newer versions crash on f5 or f6 of a simple cube([2,3,4]);. I tried to open in 32-bit mode, same result. I made the test with versions
2012-02-19, 2012-01-25 (the one linked above), 2011-12-??.

Crash result for version 2012-01-25 :

Process: OpenSCAD [2223]
Path: /Applications/3D/OpenSCAD_2012-01-25.app/Contents/MacOS/OpenSCAD
Identifier: org.openscad.OpenSCAD
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [67]

Interval Since Last Report: 1097 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 16 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2012-02-27 19:13:57.172 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 8F853DF7-F1BE-4ED4-9287-6B4DCE00BF6F

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Symbol not found: _ZNSi10_M_extractIdEERSiRT
Referenced from: /Applications/3D/OpenSCAD_2012-01-25.app/Contents/MacOS/OpenSCAD
Expected in: /usr/lib/libstdc++.6.dylib

from openscad.

kintel avatar kintel commented on July 18, 2024

Just FYI:
This problem is apparently due to a backwards compativility bug/limitation of Apple's c++ library.
Compiling on 10.5 would make it work, as might be compiling against the 10.5 SDK on later versions of OS X.

from openscad.

donbright avatar donbright commented on July 18, 2024

patch for original issue accepted July 2012. thank you

from openscad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.