[Bug 260322] lldb: Crashes debugging with math/cgal and databases/sfcgal

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Dec 2021 17:17:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260322

            Bug ID: 260322
           Summary: lldb: Crashes debugging with math/cgal and
                    databases/sfcgal
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: lbartoletti@FreeBSD.org
 Attachment #230025 text/plain
         mime type:

Created attachment 230025
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230025&action=edit
test file to crash lldb with cgal and sfcgal

Hi,

I have a problem with lldb from 13.0-RELEASE. I try to debug a crashy file but
I get this error with lldb:

PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace.
#0 0x0000000003ae7aee PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x0000000003ae5fa5 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
#2 0x0000000003ae8060 SignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x0000000804c35e00 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
zsh: abort      lldb ./a.out

gdb works fine.

Steps to reproduce:

- Install math/cgal and databases/sfcgal (with debug)
- clang++ -g -std=c++17 -I/usr/local/include -L/usr/local/lib -lSFCGALd -lgmp
-lmpfr test_cgal.cpp
- lldb ./a.out

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