Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD 10 and opencv-3.4.17 pkg crash



Hello -- I have both a RockPro64 and Pinebook Pro running NetBSD 10 GENERIC 64
[     1.000000] NetBSD 10.0 (GENERIC64) #0: Thu Mar 28 08:33:33 UTC 2024
[     1.000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[     1.000000] total memory = 3916 MB
[     1.000000] avail memory = 3774 MB

For both devices, using pkgin install opencv, with Python 3.11 installed, I'm unable to import cv2:

gdb python3.11
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3.11...
(No debugging symbols found in python3.11)
(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.
0x0000fa6b8b3b8e30 in ?? ()
(gdb) bt full
#0  0x0000fa6b8b3b8e30 in ?? ()
No symbol table info available.
#1  0x0000fffff51e1070 in _ctype_ () from /usr/libexec/ld.elf_so
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)


Can anyone suggest how to further debug this?

This can be repro'd with latest from http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/aarch64/10.0/All.

Thanks - Joel



Home | Main Index | Thread Index | Old Index