[Bug 285150] cad/openscad segmentation fault running in Xvfb with error "Unable to initialize EGL: EGL_BAD_DISPLAY"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 04 Mar 2025 06:46:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285150

            Bug ID: 285150
           Summary: cad/openscad segmentation fault running in Xvfb with
                    error "Unable to initialize EGL: EGL_BAD_DISPLAY"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mr@FreeBSD.org
          Reporter: bblister@gmail.com
          Assignee: mr@FreeBSD.org
             Flags: maintainer-feedback?(mr@FreeBSD.org)

After the latest update of cad/openscad with the commit message of
"devel/boost: bump consumers after Boost-1.87 update" at 14 Feb 2025 03:17:22,
openscad segmentation faults even in simple operation like --info, whtn running
in Xvfb.

Up to this version everything was running smoothly with openscad. 

The commands thad lead to the segmentation fault:

-------------
# Xvfb :5 -screen 0 800x600x24 &
# export DISPLAY=:5
# openscad --info

..... (the full trace is ommited, if requested I can add it)
Unable to initialize EGL: EGL_BAD_DISPLAY
Segmentation fault

# echo $?
139

# dmesg |tail -1
pid 23721 (openscad), jid 0, uid 0: exited on signal 11 (no core dump - too
large)

# uname -a
FreeBSD XXXXX 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
-------------

This affects both (I have tried with both versions)
cad/openscad/
cad/openscad-devel

I have rebooted the machine and tried again: The same error happened.

I have also tried to run this in vncserver with the same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.