Re: NetBSD 10 and opencv-3.4.17 pkg crash

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Thu, May 23, 2024 at 11:02:25AM -0700, Joel wrote:
> Hi Martin -- I'm unable to continue in gdb. Also, this will produce a
> python3.11 core dump outside of the debugger.

Try "gdb python3.11 python3.11.core" and do "bt" there, but...

> (gdb) run
> Starting program: /usr/pkg/bin/python3.11
> Python 3.11.7 (main, Jan  7 2024, 08:15:06) [GCC 10.5.0] on netbsd10
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import cv2
> Program received signal SIGILL, Illegal instruction.
> 0x0000f508a75d8e30 in ?? ()
> (gdb) cont
> Continuing.
> Program received signal SIGILL, Illegal instruction.
> 0x0000f508a75d8e30 in ?? ()
> (gdb) bt full
> #0  0x0000f508a75d8e30 in ?? ()
> No symbol table info available.
> #1  0x0000fffff2211070 in _ctype_ () from /usr/libexec/ld.elf_so
> No symbol table info available.
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Can you show "x/16i 0x0000f508a75d8e20" (that is: disassemble the code,
starting 16 byte before the crash address and show 16 instructions)?

This might give a clue what is happening here.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.