Port-arm archive

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

Re: NetBSD 10 and opencv-3.4.17 pkg crash



Sorry for the noise, let me resend because I realize the address to
disassemble was different in this repro. And I'm still getting used to
Thunderbird to fixing some formatting...

>
> On 5/23/2024 11:53, Martin Husemann wrote:
>> Try "gdb python3.11 python3.11.core" and do "bt" there, but...

[New process 17487]
Core was generated by `python3.11'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000f0bda4061160 in
absl::lts_20230802::container_internal::ShouldInsertBackwards(unsigned
long, absl::lts_20230802::container_internal::ctrl_t const*) ()
   from /usr/pkg/lib/libabsl_raw_hash_set.so.2308.0.0
(gdb) bt full
#0  0x0000f0bda4061160 in
absl::lts_20230802::container_internal::ShouldInsertBackwards(unsigned
long, absl::lts_20230802::container_internal::ctrl_t const*) ()
   from /usr/pkg/lib/libabsl_raw_hash_set.so.2308.0.0
No symbol table info available.
#1  0x0000f0bda4061af4 in absl::lts_20230802::container_internal::FindInfo
absl::lts_20230802::container_internal::find_first_non_full<void>(absl::lts_20230802::container_internal::CommonFields
const&, unsigned long) () from
/usr/pkg/lib/libabsl_raw_hash_set.so.2308.0.0
No symbol table info available.
#2  0x0000f0bda57301f4 in ?? () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#3  0x0000f0bda5730410 in ?? () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#4  0x0000f0bda5730564 in ?? () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#5  0x0000f0bda57306b0 in ?? () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#6  0x0000f0bda560b68c in
google::protobuf::DescriptorPool::Tables::Tables() ()
   from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#7  0x0000f0bda560b9b4 in
google::protobuf::DescriptorPool::DescriptorPool(google::protobuf::DescriptorDatabase*,
google::protobuf::DescriptorPool::ErrorCollector*) ()
   from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#8  0x0000f0bda560ba5c in
google::protobuf::DescriptorPool::internal_generated_pool() ()
   from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#9  0x0000f0bda560bb00 in
google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const*,
int) () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#10 0x0000f0bda565e660 in ?? () from /usr/pkg/lib/libprotobuf.so.25.1.0
No symbol table info available.
#11 0x0000fffff1186628 in _rtld_call_init_function () from
/usr/libexec/ld.elf_so
No symbol table info available.
#12 0x0000fffff1186934 in _rtld_call_init_functions () from
/usr/libexec/ld.elf_so
No symbol table info available.
#13 0x0000fffff11877e8 in dlopen () from /usr/libexec/ld.elf_so
No symbol table info available.
#14 0x0000f0bda9df2958 in _PyImport_FindSharedFuncptr () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#15 0x0000f0bda9dbcc74 in _PyImport_LoadDynamicModuleWithSpec ()
   from /usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#16 0x0000f0bda9db9a18 in _imp_create_dynamic () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#17 0x0000f0bda9d07714 in cfunction_vectorcall_FASTCALL () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#18 0x0000f0bda9e62248 in _PyEval_EvalFrameDefault () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#19 0x0000f0bda9d92dbc in _PyEval_Vector () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--c
#20 0x0000f0bda9cc23c0 in object_vacall () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#21 0x0000f0bda9cc25c4 in PyObject_CallMethodObjArgs () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#22 0x0000f0bda9dbb9b0 in PyImport_ImportModuleLevelObject () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#23 0x0000f0bda9e68c90 in _PyEval_EvalFrameDefault () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#24 0x0000f0bda9d92dbc in _PyEval_Vector () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#25 0x0000f0bda9d92e58 in PyEval_EvalCode () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#26 0x0000f0bda9d8cc04 in builtin_exec () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#27 0x0000f0bda9d06fb4 in cfunction_vectorcall_FASTCALL_KEYWORDS () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#28 0x0000f0bda9e62248 in _PyEval_EvalFrameDefault () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#29 0x0000f0bda9d92dbc in _PyEval_Vector () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#30 0x0000f0bda9cc23c0 in object_vacall () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#31 0x0000f0bda9cc25c4 in PyObject_CallMethodObjArgs () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#32 0x0000f0bda9dbb9b0 in PyImport_ImportModuleLevelObject () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#33 0x0000f0bda9e68c90 in _PyEval_EvalFrameDefault () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#34 0x0000f0bda9d92dbc in _PyEval_Vector () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#35 0x0000f0bda9d92e58 in PyEval_EvalCode () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#36 0x0000f0bda9dd414c in run_eval_code_obj () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#37 0x0000f0bda9dd4378 in run_mod () from /usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#38 0x0000f0bda9dd5d54 in PyRun_InteractiveOneObjectEx () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#39 0x0000f0bda9dd6860 in _PyRun_InteractiveLoopObject () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#40 0x0000f0bda9dd70ac in _PyRun_AnyFileObject () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#41 0x0000f0bda9dd7194 in PyRun_AnyFileExFlags () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#42 0x0000f0bda9df397c in Py_RunMain () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#43 0x0000f0bda9df3c18 in Py_BytesMain () from
/usr/pkg/lib/libpython3.11.so.1.0
No symbol table info available.
#44 0x00000000003a0b98 in ?? ()
No symbol table info available.
#45 0x0000fffff1180b10 in _rtld_start () from /usr/libexec/ld.elf_so
No symbol table info available.

>
>> 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.
>
(gdb) x/16i 0x0000fffff1180b10
   0xfffff1180b10 <_rtld_start+48>:     mov     x17, x0
   0xfffff1180b14 <_rtld_start+52>:     ldp     x0, x1, [sp], #16
   0xfffff1180b18 <_rtld_start+56>:     mov     x2, x24
   0xfffff1180b1c <_rtld_start+60>:     br      x17
   0xfffff1180b20 <_rtld_bind_start>:   ldr     x9, [sp]
   0xfffff1180b24 <_rtld_bind_start+4>: stp     x0, x1, [sp, #-16]!
   0xfffff1180b28 <_rtld_bind_start+8>: stp     x2, x3, [sp, #-16]!
   0xfffff1180b2c <_rtld_bind_start+12>:        stp     x4, x5, [sp, #-16]!
   0xfffff1180b30 <_rtld_bind_start+16>:        stp     x6, x7, [sp, #-16]!
   0xfffff1180b34 <_rtld_bind_start+20>:        stp     x8, xzr, [sp, #-16]!
   0xfffff1180b38 <_rtld_bind_start+24>:        stp     q0, q1, [sp, #-32]!
   0xfffff1180b3c <_rtld_bind_start+28>:        stp     q2, q3, [sp, #-32]!
   0xfffff1180b40 <_rtld_bind_start+32>:        stp     q4, q5, [sp, #-32]!
   0xfffff1180b44 <_rtld_bind_start+36>:        stp     q6, q7, [sp, #-32]!
   0xfffff1180b48 <_rtld_bind_start+40>:        ldur    x0, [x16, #-8]
   0xfffff1180b4c <_rtld_bind_start+44>:        sub     x1, x9, x16



Home | Main Index | Thread Index | Old Index