I don't see that here.
Firstly, did you run pkg_add -u after updating?
Install the gdb and debug-py3-numpy packages (as well as the debug-python you already have) and use the 'egdb' binary. The version of gdb in base is barely useful.
Which cpu architecture? amd64, arm64, sparc64, [...]?
--
Sent from a phone, apologies for poor formatting.
On 7 July 2024 11:22:35 Ali Farzanrad <ali_farzanrad@riseup.net> wrote:
Hi,I see this error in latest snapshot:$ python3.11 -c 'import numpy'Floating point exception (core dumped)I installed debug-python package to debug, but I have no idea how todebug it:$ gdb -- /usr/local/bin/python3.11GNU gdb 6.3Copyright 2004 Free Software Foundation, Inc.GDB is free software, covered by the GNU General Public License, and you arewelcome to change it and/or distribute copies of it under certain conditions.Type "show copying" to see the conditions.There is absolutely no warranty for GDB. Type "show warranty" for details.This GDB was configured as "amd64-unknown-openbsd7.5"...(gdb) run -c 'import numpy'Starting program: /usr/local/bin/python3.11 -c 'import numpy'Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]Error while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]warning: no loadable sections found in added symbol-file /usr/local/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.soProgram received signal SIGFPE, Arithmetic exception.0x0000030e5995dc35 in ?? () from /usr/libexec/ld.so(gdb) bt#0 0x0000030e5995dc35 in ?? () from /usr/libexec/ld.so#1 0x0000030f0f124b30 in ?? ()#2 0x0000000000000000 in ?? ()(gdb) list5 python.c: No such file or directory.in python.c
No comments:
Post a Comment