[Bug 265989] cad/qcad: core dumps on -current

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Aug 2022 10:44:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265989

--- Comment #2 from Poul-Henning Kamp <phk@FreeBSD.org> ---
I tried 3.27.6.7 on a main-n257645 kernel and it still core-dumps.

Here is the tail end of ktrace(8) output:

   critter phk> kdump | tail -20
    10789 qcad-bin RET   fstatat 0
    10789 qcad-bin CALL  fstatat(AT_FDCWD,0x869ce2a98,0x820cf53a0,0)
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script"
    10789 qcad-bin STRU  struct stat {dev=75, ino=1533852, mode=040755,
nlink=2, uid=0, gid=0, rdev=3089315, atime=1661682864.176922581,
mtime=1661682864.868923018, ctime=1661682864.868923018,
birthtime=1661682864.176922581, size=2560, blksize=32768, blocks=8, flags=0x0 }
    10789 qcad-bin RET   fstatat 0
    10789 qcad-bin CALL  fstatat(AT_FDCWD,0x869ce2bd8,0x820cf5360,0)
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script/qt"
    10789 qcad-bin RET   fstatat -1 errno 2 No such file or directory
    10789 qcad-bin CALL  sigprocmask(SIG_BLOCK,0,0x820cf5258)
    10789 qcad-bin RET   sigprocmask 0
    10789 qcad-bin CALL 
__sysctlbyname(0x83b7881db,0x15,0x83b7a0e40,0x820cf5158,0,0)
    10789 qcad-bin SCTL  "kern.sched.cpusetsize"
    10789 qcad-bin RET   __sysctlbyname 0
    10789 qcad-bin CALL  cpuset_getaffinity(0x3,0x1,0x18e87,0x20,0x869d22e00)
    10789 qcad-bin STRU  cpuset_t [ 0, 1, 2, 3, 4, 5, 6, 7 ]
    10789 qcad-bin RET   cpuset_getaffinity 0
    10789 qcad-bin PSIG  SIGSEGV SIG_DFL code=SEGV_MAPERR
    10789 qcad-bin RET   _umtx_op -1 errno 4 Interrupted system call
    10789 qcad-bin RET   poll -1 errno 4 Interrupted system call
    10789 qcad-bin NAMI  "/critter/qcad-bin.core"
   critter phk> kdump | grep NAMI | tail -20
    10789 qcad-bin NAMI  "/usr/local"
    10789 qcad-bin NAMI  "/usr/local/share"
    10789 qcad-bin NAMI  "/usr/local/share/qcad"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0.0"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0.0"
    10789 qcad-bin NAMI  "/usr"
    10789 qcad-bin NAMI  "/usr/local"
    10789 qcad-bin NAMI  "/usr/local/share"
    10789 qcad-bin NAMI  "/usr/local/share/qcad"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script"
    10789 qcad-bin NAMI 
"/usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0.0"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script"
    10789 qcad-bin NAMI  "/usr/local/share/qcad/plugins/script/qt"
    10789 qcad-bin NAMI  "/critter/qcad-bin.core"

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