BelfrySCAD / BOSL2

The Belfry OpenScad Library, v2.0. An OpenSCAD library of shapes, masks, and manipulators to make working with OpenSCAD easier. BETA
https://github.com/BelfrySCAD/BOSL2/wiki
BSD 2-Clause "Simplified" License
1.01k stars 115 forks source link

SIGSEGV crash on a simple program #1448

Closed bobblkabb closed 5 months ago

bobblkabb commented 5 months ago

Describe the bug openSCAD crashes after opening a certain program. User interface appears for a moment, maybe a 2-3 seconds.

Started from terminal:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
fish: Job 1, './gearlever_openscad_2b7bbd.app…' terminated by signal SIGSEGV (Address range error)

(Second line appears on crash)

Code To Reproduce Bug

include <BOSL2/std.scad>
include <BOSL2/rounding.scad>

$fn = 50;

difference() {
    rotate_extrude(angle=21)
    translate([55, 0, 0])
    rotate(a = [0, 180, 0])
    stroke(smooth_path(square([5,25]), closed=true, splinesteps=100), width=1.5);
    translate([47,-3,1.5])
    rotate(a = [0, 0, 12])
    cube([5, 23, 22]);
}

Expected behavior Leave openSCAD and its program open to edit.

Additional context

adrianVmariano commented 5 months ago

If OpenSCAD crashes that is not a BOSL2 bug. You need to post this on the OpenSCAD github.