[Bug 286378] openscad dumps core at start
Date: Sun, 27 Apr 2025 02:15:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286378
Bug ID: 286378
Summary: openscad dumps core at start
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: ntremble@gmail.com
OpenSCAD as installed by pkg dumps core on start when running on FreeBSD 14.2.
I was running on FreeBSD 14.1 without issue, but after the update to
openscad-2024.10.11_6 it always dumps core when started without options. See
below.
When started with -v it runs normally, but of course terminates.
When started with --info it dumps core. See below.
After reviewing #286074 which looks very similar, I updated to
openscad-devel-2025.02.08_1 and installed Qt6, but the behaviour is identical.
neilt@toad:~ % uname -a
FreeBSD toad 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
neilt@toad:~ % openscad -v
OpenSCAD version 2025.04.14
neilt@toad:~ % openscad
Segmentation fault (core dumped)
neilt@toad:~ % lldb --core ./openscad.core openscad
(lldb) target create "openscad" --core "./openscad.core"
Core file '/home/neilt/openscad.core' (x86_64) was loaded.
(lldb) target create "openscad" --core "./openscad.core"
Core file '/home/neilt/openscad.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'openscad', stop reason = signal SIGSEGV
* frame #0: 0x0000000000bcfab1 openscad`mi_free_generic(mi_segment_s const*,
bool, void*) + 65
frame #1: 0x000000089edb9da8 libLLVM.so.19.1`___lldb_unnamed_symbol54428 +
360
frame #2: 0x000000089edb948e
libLLVM.so.19.1`llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) +
78
frame #3: 0x00000008a221276e libLLVM.so.19.1`___lldb_unnamed_symbol137856 +
126
frame #4: 0x0000000830936129
libc++.so.1`std::__1::__call_once(flag=0x00000008a26a5de0,
arg=0x000000082102efa8, func=(libLLVM.so.19.1`___lldb_unnamed_symbol53753)) at
call_once.cpp:57:5
frame #5: 0x00000008a22126da
libLLVM.so.19.1`llvm::initializeScopInlinerPass(llvm::PassRegistry&) + 90
frame #6: 0x00000008a2122cae
libLLVM.so.19.1`polly::initializePollyPasses(llvm::PassRegistry&) + 174
frame #7: 0x00000008a2137925 libLLVM.so.19.1`___lldb_unnamed_symbol136560 +
3893
frame #8: 0x00003d5313f581fd
ld-elf.so.1`objlist_call_init(list=0x000000082102fa58,
lockstate=0x000000082102f9e0) at rtld.c:3125:7
frame #9: 0x00003d5313f5c693
ld-elf.so.1`dlopen_object(name="/usr/local/lib/dri/iris_dri.so", fd=-1,
refobj=<unavailable>, lo_flags=<unavailable>, mode=258,
lockstate=0x000000082102f9e0) at rtld.c:3871:2
frame #10: 0x00003d5313f591f3
ld-elf.so.1`rtld_dlopen(name="/usr/local/lib/dri/iris_dri.so", fd=-1,
mode=<unavailable>) at rtld.c:3733:13
frame #11: 0x000000088e96fb1d libGLX_mesa.so.0`___lldb_unnamed_symbol2867 +
381
frame #12: 0x000000088e96fc3f libGLX_mesa.so.0`___lldb_unnamed_symbol2868 +
63
frame #13: 0x000000088e93f836 libGLX_mesa.so.0`___lldb_unnamed_symbol2392 +
54
frame #14: 0x000000088e9551b5 libGLX_mesa.so.0`___lldb_unnamed_symbol2748 +
277
frame #15: 0x000000088e946b87 libGLX_mesa.so.0`___lldb_unnamed_symbol2531 +
151
frame #16: 0x000000088e946736 libGLX_mesa.so.0`___lldb_unnamed_symbol2526 +
790
frame #17: 0x000000088e943fb9 libGLX_mesa.so.0`___lldb_unnamed_symbol2486 +
25
frame #18: 0x000000088e943df5 libGLX_mesa.so.0`___lldb_unnamed_symbol2485 +
53
frame #19: 0x00000008266565d9 libGLX.so.0`glXChooseFBConfig + 57
frame #20: 0x000000088be81919
libqxcb-glx-integration.so`___lldb_unnamed_symbol546 + 281
frame #21: 0x000000088be7dfe0
libqxcb-glx-integration.so`___lldb_unnamed_symbol509 + 192
frame #22: 0x000000088be7d78f
libqxcb-glx-integration.so`___lldb_unnamed_symbol492 + 143
frame #23: 0x00000008320ca0ea libQt5Gui.so.5`QOpenGLContext::create() + 74
frame #24: 0x000000086a2dd4ad
KDEPlasmaPlatformTheme5.so`___lldb_unnamed_symbol2317 + 317
frame #25: 0x000000083782b45a
libQt5Core.so.5`QCoreApplicationPrivate::init() + 1610
frame #26: 0x00000008320791ea libQt5Gui.so.5`QGuiApplicationPrivate::init()
+ 42
frame #27: 0x0000000833e94c2e
libQt5Widgets.so.5`QApplicationPrivate::init() + 14
frame #28: 0x0000000000b3f8e4 openscad`OpenSCADApp::OpenSCADApp(int&,
char**) + 20
frame #29: 0x0000000000ae2ea4
openscad`gui(std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>>,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char>>>>&, std::__1::__fs::filesystem::path const&, int,
char**) + 68
frame #30: 0x000000000079c66f openscad`main + 19327
frame #31: 0x0000000832d59c3a libc.so.7`__libc_start1(argc=1,
argv=0x0000000821033ad0, env=0x0000000821033ae0, cleanup=<unavailable>,
mainX=(openscad`main)) at libc_start1.c:157:7
frame #32: 0x000000000050bc50 openscad`_start at crt1_s.S:83
(lldb) q
neilt@toad:~ % openscad --info
QObject::startTimer: Timers can only be used with threads started with QThread
OpenSCAD Version: 2025.04.14
System information: FreeBSD 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC
amd64 FreeBSD 14.2-RELEASE-p3 12 CPUs 31.72 GB RAM
User Agent: OpenSCAD/2025.04.14 (FreeBSD amd64; FreeBSD 14.2-RELEASE-p3)
Compiler: Clang "18.1.6 (https://github.com/llvm/llvm-project.git
llvmorg-18.1.6-0-g1118c2e05e67)" 64bit
MinGW build: No
Debug build: No
Boost version: 1_87
Eigen version: 3.4.0
CGAL version, kernels: 5.5.1, Cartesian<Gmpq>, Extended_cartesian<Gmpq>, Epeck
OpenCSG version: OpenCSG 1.6.0
Clipper2 version: 1.5.2
Manifold version: 3.0.1
Qt version: 5.15.16
QScintilla version: 2.14.1
InputDrivers:
GLib version: 2.80.5
lodepng version: 20230410
libzip version: 1.11.2
fontconfig version: 2.15.0
freetype version: 2.13.3
harfbuzz version: 10.3.0
cairo version: 1.18.2
lib3mf version: (not enabled)
Application Path: /usr/local/bin
Documents Path: /home/neilt/.local/share
User Documents Path: /home/neilt/Documents
Resource Path: /usr/local/share/openscad
User Library Path: /home/neilt/.local/share/OpenSCAD/libraries
User Config Path: /home/neilt/.config/OpenSCAD
Backup Path: /home/neilt/.local/share/OpenSCAD/backups
OPENSCADPATH: <not set>
OpenSCAD library path:
/home/neilt/.local/share/OpenSCAD/libraries
/usr/local/share/openscad/libraries
OPENSCAD_FONT_PATH: <not set>
OpenSCAD font path:
/home/neilt/.local/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/home/neilt/.fonts
/usr/X11/lib/X11/fonts
/System/Library/Fonts
/Library/Fonts
/home/neilt/Library/Fonts
/usr/local/share/fonts/100dpi
/usr/local/share/fonts/75dpi
/usr/local/share/fonts/Caladea
/usr/local/share/fonts/Carlito
/usr/local/share/fonts/Droid
/usr/local/share/fonts/GentiumBasic
/usr/local/share/fonts/Liberation
/usr/local/share/fonts/LinLibertineG
/usr/local/share/fonts/OTF
/usr/local/share/fonts/TTF
/usr/local/share/fonts/Type1
/usr/local/share/fonts/cyrillic
/usr/local/share/fonts/dejavu
/usr/local/share/fonts/encodings
/usr/local/share/fonts/hack-font
/usr/local/share/fonts/kanjistrokeorders
/usr/local/share/fonts/misc
/usr/local/share/fonts/noto
/usr/local/share/fonts/twemoji-color-font-ttf
/usr/local/share/fonts/urw-base35-fonts
/home/neilt/.fonts/g
/home/neilt/.fonts/s
/usr/local/share/fonts/encodings/large
Segmentation fault (core dumped)
neilt@toad:~ %
--
You are receiving this mail because:
You are the assignee for the bug.