[OpenSCAD] Polyhedron rendering bug?

Jesse Donaldson jesse.donaldson at gmail.com
Thu Dec 23 07:09:27 CET 2010


Hi folks,

I've written some code to generate polyhedrons, and they seem to render fine
in preview mode, but when I compile & render it with CGAL, OpenSCAD crashes.
This happens with both the 2010.5 release, and the latest posted development
snapshots.  I didn't try building from the latest sources.  I'm on MacOS X,
10.5.8.


Here's a small sample:

polyhedron(points=[[30,0,50],[0,30,50],[-30,0,50],[0,-30,50],[0,0,50],[30,0,0],[0,30,0],[-30,0,0],[0,-30,0],[0,0,0]],
triangles=[[3,0,4],[0,1,4],[1,2,4],[2,3,4],[0,3,8],[5,0,8],[1,0,5],[6,1,5],[2,1,6],[7,2,6],[3,2,7],[8,3,7],[8,5,9],[5,6,9],[6,7,9],[7,8,9]],
convexity=2);

And here's the output on the console:
12/22/10 9:26:02 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]
SystemFlippers: didn't consume all data for long ID 0 (pBase = 0x114835fb0,
p = 0x114835fb4, pEnd = 0x114835fb8)
12/22/10 9:26:02 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]
SystemFlippers: didn't consume all data for long ID 0 (pBase = 0x114819a50,
p = 0x114819a54, pEnd = 0x114819a58)
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]
CGAL::Polyhedron_incremental_builder_3<HDS>::
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]
lookup_halfedge(): input error: facet dyld: lazy symbol binding failed:
Symbol not found: __ZNSo9_M_insertImEERSoT_
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]   Referenced
from: /Users/jessedonaldson/Downloads/OpenSCAD.app/Contents/MacOS/OpenSCAD
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]   Expected
in: /usr/lib/libstdc++.6.dylib
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824] dyld: Symbol
not found: __ZNSo9_M_insertImEERSoT_
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]   Referenced
f
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824] rom:
/Users/jessedonaldson/Downloads/OpenSCAD.app/Contents/MacOS/OpenSCAD
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]   Expected
in: /usr/lib/libstdc++.6.dylib
12/22/10 10:05:11 PM [0x0-0x21f21f].org.openscad.OpenSCAD[8824]   Expected
in: /usr/lib/libstdc++.6.dylib
12/22/10 10:05:15 PM com.apple.launchd[87]
([0x0-0x21f21f].org.openscad.OpenSCAD[8824]) Exited abnormally: Trace/BPT
trap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20101223/c993069a/attachment-0001.html


More information about the OpenSCAD mailing list