Re: py313-tortoisehg-7.2.2 on NetBSD 11.0; mysterious segfault

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Mon 17 Aug 2026 at 13:50:51 +0000, RVP wrote:
> On Sun, 16 Aug 2026, Rhialto wrote:
> 
> > Remains the question what makes this fail on 11 when it works on 10...
> > 
> 
> SSL versions are different. The lhash test worked just fine
> (src/crypto/external/apache2/openssl/dist/crypto/lhash/lhash.c).
> 
> Can you show the complete backtrace leading up to the crash? We'll see where &
> how the OPENSSL_LH_COMPFUNC(3) are being implemented.

It is a long backtrace and it doesn't show the Python details, but here it is:

murthe:.../scratch/hg/src-public$ gdb --args /usr/pkg/bin/python3.13 /usr/pkg/bin/thg                   
GNU gdb (GDB) 15.1
(No debugging symbols found in /usr/pkg/bin/python3.13)
(gdb) r
Starting program: /usr/pkg/bin/python3.13 /usr/pkg/bin/thg

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000755703b0483f in doall_util_fn (arg=0x7f7fffeca0c0, wfunc_arg=0x0, func_arg=0x7557040072b1 <do_name>, 
    func=0x0, wfunc=0x0, use_arg=1, lh=0x7557102e7df0)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/lhash/lhash.c:207
#2  OPENSSL_LH_doall_arg (lh=0x7557102e7df0, func=0x7557040072b1 <do_name>, arg=0x7f7fffeca0c0)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/lhash/lhash.c:230
#3  0x000075570400744e in lh_NAMENUM_ENTRY_doall_DOALL_NAMES_DATA (arg=0x7f7fffeca0c0, fn=0x7557040072b1 <do_name>, 
    lh=<optimized out>) at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_namemap.c:127
#4  ossl_namemap_doall_names (namemap=0x755710334fc0, number=<optimized out>, fn=0x755703ff6208 <set_legacy_nid>, 
    data=0x755710356900) at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_namemap.c:166
#5  0x0000755703ff7bcf in evp_md_from_algorithm (name_id=88, algodef=0x7557043ffac0 <deflt_digests>, 
    prov=0x755710254e20) at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/digest.c:950
#6  0x0000755703fd878b in construct_evp_method (algodef=0x7557043ffac0 <deflt_digests>, prov=0x755710254e20, 
    data=0x7f7fffeca590) at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/evp_fetch.c:239
#7  0x0000755704007d6b in ossl_method_construct_this (provider=0x755710254e20, algo=0x7557043ffac0 <deflt_digests>, 
    no_store=<optimized out>, cbdata=0x7f7fffeca430)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_fetch.c:109
#8  0x00007557040c126d in algorithm_do_map (cbdata=0x7f7fffeca3a0, no_store=0, cur_operation=1, 
    map=0x7557043ffac0 <deflt_digests>, provider=0x755710254e20)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_algorithm.c:77
#9  algorithm_do_this (provider=0x755710254e20, cbdata=cbdata@entry=0x7f7fffeca3a0)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_algorithm.c:122
#10 0x000075570404b0b7 in ossl_provider_doall_activated (ctx=<optimized out>, 
    cb=0x7557040c114e <algorithm_do_this>, cbdata=0x7f7fffeca3a0)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/provider_core.c:1431
#11 0x00007557040c1374 in ossl_algorithm_do_all (libctx=0x0, operation_id=<optimized out>, 
    provider=<optimized out>, pre=<optimized out>, reserve_store=<optimized out>, fn=<optimized out>, 
    unreserve_store=0x755704007d31 <ossl_method_construct_unreserve_store>, 
    post=0x755704007db2 <ossl_method_construct_postcondition>, data=0x7f7fffeca430)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_algorithm.c:162
#12 0x0000755704007ed5 in ossl_method_construct (libctx=<optimized out>, operation_id=<optimized out>, 
    provider_rw=0x7f7fffeca4b8, force_store=<optimized out>, mcm=0x7f7fffeca4d0, mcm_data=0x7f7fffeca590)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_fetch.c:153
#13 0x0000755703fd8dd5 in inner_evp_generic_fetch (methdata=methdata@entry=0x7f7fffeca590, prov=<optimized out>, 
    prov@entry=0x0, operation_id=operation_id@entry=1, name_id=<optimized out>, name_id@entry=0, 
    name=name@entry=0x0, properties=properties@entry=0x0, new_method=0x755703ff7b82 <evp_md_from_algorithm>, 
    up_ref_method=0x755703ff6c0d <evp_md_up_ref>, free_method=0x755703ff7b7d <evp_md_free>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/evp_fetch.c:344
#14 0x0000755703fd9628 in evp_generic_do_all (libctx=0x0, operation_id=1, 
    user_fn=0x7556fbe0549a <_openssl_hash_name_mapper>, user_arg=0x7f7fffeca630, new_method=<optimized out>, 
    up_ref_method=<optimized out>, free_method=0x755703ff7b7d <evp_md_free>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/evp_fetch.c:654
#15 0x0000755703ff822a in EVP_MD_do_all_provided (libctx=<optimized out>, fn=<optimized out>, arg=<optimized out>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/digest.c:1105
#16 0x00007556fbe04ba3 in hashlib_md_meth_names () from /usr/pkg/lib/python3.13/lib-dynload/_hashlib.so
#17 0x0000755713d1faa5 in PyModule_ExecDef () from /usr/pkg/lib/libpython3.13.so.1.0
#18 0x0000755713e11f8c in _imp_exec_dynamic () from /usr/pkg/lib/libpython3.13.so.1.0
#19 0x0000755713d1df7f in cfunction_vectorcall_O () from /usr/pkg/lib/libpython3.13.so.1.0
#20 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#21 0x0000755713cd5a58 in object_vacall () from /usr/pkg/lib/libpython3.13.so.1.0
#22 0x0000755713cd5c88 in PyObject_CallMethodObjArgs () from /usr/pkg/lib/libpython3.13.so.1.0
#23 0x0000755713e1392e in import_find_and_load () from /usr/pkg/lib/libpython3.13.so.1.0
#24 0x0000755713e16432 in PyImport_ImportModuleLevelObject () from /usr/pkg/lib/libpython3.13.so.1.0
#25 0x0000755713ddb6d3 in import_name () from /usr/pkg/lib/libpython3.13.so.1.0
#26 0x0000755713ec45e7 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#27 0x0000755713de053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#28 0x0000755713dda9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#29 0x0000755713d1dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#30 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#31 0x0000755713d4eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#32 0x0000755713d5006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#33 0x0000755713d22c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#34 0x0000755713eca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#35 0x0000755713de053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#36 0x0000755713dda9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#37 0x0000755713d1dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#38 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#39 0x0000755713d4eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#40 0x0000755713d5006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#41 0x0000755713d22c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#42 0x0000755713eca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#43 0x0000755713de053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#44 0x0000755713dda9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#45 0x0000755713d1dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#46 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#47 0x0000755713d4eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#48 0x0000755713d5006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#49 0x0000755713d22c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#50 0x0000755713eca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#51 0x0000755713de053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#52 0x0000755713dda9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#53 0x0000755713d1dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#54 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#55 0x0000755713d4eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#56 0x0000755713d5006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#57 0x0000755713d22c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#58 0x0000755713d23c87 in _PyObject_GetMethod () from /usr/pkg/lib/libpython3.13.so.1.0
#59 0x0000755713ec1e22 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#60 0x0000755713de053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#61 0x0000755713dda9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#62 0x0000755713d1dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#63 0x0000755713ec0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#64 0x0000755713d4eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#65 0x0000755713d5006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#66 0x0000755713d22c1d in PyObject_GetAttr () frrun_mod () from /usr/pkg/lib/libpython3.13.so.1.0
#72 0x0000755713e387f9 in pyrun_file () from /usr/pkg/lib/libpython3.13.so.1.0
#73 0x0000755713e3a5bb in _PyRun_SimpleFileObject () from /usr/pkg/lib/libpython3.13.so.1.0
#74 0x0000755713e3abcb in _PyRun_AnyFileObject () from /usr/pkg/lib/libpython3.13.so.1.0
#75 0x0000755713e5dd7d in Py_RunMain () from /usr/pkg/lib/libpython3.13.so.1.0
#76 0x0000755713e5e714 in Py_BytesMain () from /usr/pkg/lib/libpython3.13.so.1.0
#77 0x00000000da600b4d in _start ()
(gdb) 

The strange thing is that /usr/pkg/lib/python3.13/lib-dynload/_hashlib.so
(frame #16) appears to be linked with /usr/lib/libcrypto.so.15, not 16,
according to ldd.

Given my hunch regarding dlopen() I set a breakpoint on it. A lot of times it's
called for Qt libraries and various libs from
/usr/pkg/lib/python3.13/lib-dynload/, but in the end for libcrypto:

Breakpoint 1.2, dlopen (name=name@entry=0x795a8a7ff040 "/usr/lib/libcrypto.so.16", mode=1)
    at /usr/src/libexec/ld.elf_so/rtld.c:1671
1671    
(gdb) bt
#0  dlopen (name=name@entry=0x795a8a7ff040 "/usr/lib/libcrypto.so.16", mode=1)
    at /usr/src/libexec/ld.elf_so/rtld.c:1671
#1  0x0000795a8079aaa6 in dlfcn_load (dso=0x795a8a7d8640)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/dso/dso_dlfcn.c:113
#2  0x0000795a8079a272 in DSO_load (dso=dso@entry=0x0, filename=<optimized out>, 
    filename@entry=0x795a8ce39fe0 "/usr/lib/libcrypto.so.16", meth=meth@entry=0x0, flags=flags@entry=4)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/dso/dso_lib.c:146
#3  0x0000795a8079a686 in DSO_dsobyaddr (addr=0x795a809ff504 <base_inited>, flags=4)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/dso/dso_lib.c:314
#4  0x0000795a807bf201 in ossl_init_load_crypto_nodelete ()
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:166
#5  ossl_init_load_crypto_nodelete_ossl_ () at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:132
#6  0x0000795a90dcf711 in pthread_once (once_control=0x795a809fce60 <load_crypto_nodelete>, 
    routine=0x795a807bf1db <ossl_init_load_crypto_nodelete_ossl_>) at /usr/src/lib/libpthread/pthread_once.c:66
#7  0x0000795a807ba568 in CRYPTO_THREAD_run_once (once=<optimized out>, init=<optimized out>)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/threads_pthread.c:728
#8  0x0000795a807bf4d7 in OPENSSL_init_crypto (opts=12, settings=0x0)
    at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:573
#9  0x0000795a80c077b3 in ossl_namemap_stored (libctx=<optimized out>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/core_namemap.c:493
#10 0x0000795a80bd8ccb in inner_evp_generic_fetch (methdata=methdata@entry=0x7f7fffdaae80, prov=<optimized out>, 
    prov@entry=0x0, operation_id=operation_id@entry=1, name_id=name_id@entry=0, name=name@entry=0x0, 
    properties=properties@entry=0x0, new_method=0x795a80bf7b82 <evp_md_from_algorithm>, 
    up_ref_method=0x795a80bf6c0d <evp_md_up_ref>, free_method=0x795a80bf7b7d <evp_md_free>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/evp_fetch.c:271
#11 0x0000795a80bd9628 in evp_generic_do_all (libctx=0x0, operation_id=1, 
    user_fn=0x795a78a0549a <_openssl_hash_name_mapper>, user_arg=0x7f7fffdaaf20, new_method=<optimized out>, 
    up_ref_method=<optimized out>, free_method=0x795a80bf7b7d <evp_md_free>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/evp_fetch.c:654
#12 0x0000795a80bf822a in EVP_MD_do_all_provided (libctx=<optimized out>, fn=<optimized out>, arg=<optimized out>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/evp/digest.c:1105
#13 0x0000795a78a04ba3 in hashlib_md_meth_names () from /usr/pkg/lib/python3.13/lib-dynload/_hashlib.so
#14 0x0000795a9071faa5 in PyModule_ExecDef () from /usr/pkg/lib/libpython3.13.so.1.0
#15 0x0000795a90811f8c in _imp_exec_dynamic () from /usr/pkg/lib/libpython3.13.so.1.0
#16 0x0000795a9071df7f in cfunction_vectorcall_O () from /usr/pkg/lib/libpython3.13.so.1.0
#17 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#18 0x0000795a906d5a58 in object_vacall () from /usr/pkg/lib/libpython3.13.so.1.0
#19 0x0000795a906d5c88 in PyObject_CallMethodObjArgs () from /usr/pkg/lib/libpython3.13.so.1.0
#20 0x0000795a9081392e in import_find_and_load () from /usr/pkg/lib/libpython3.13.so.1.0
#21 0x0000795a90816432 in PyImport_ImportModuleLevelObject () from /usr/pkg/lib/libpython3.13.so.1.0
#22 0x0000795a907db6d3 in import_name () from /usr/pkg/lib/libpython3.13.so.1.0
#23 0x0000795a908c45e7 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#24 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#25 0x0000795a907da9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#26 0x0000795a9071dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#27 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#28 0x0000795a9074eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#29 0x0000795a9075006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#30 0x0000795a90722c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#31 0x0000795a908ca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#32 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#33 0x0000795a907da9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#34 0x0000795a9071dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#35 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#36 0x0000795a9074eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#37 0x0000795a9075006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#38 0x0000795a90722c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#39 0x0000795a908ca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#40 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#41 0x0000795a907da9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#42 0x0000795a9071dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#43 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#44 0x0000795a9074eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#45 0x0000795a9075006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#46 0x0000795a90722c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#47 0x0000795a908ca5d3 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#48 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#49 0x0000795a907da9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#50 0x0000795a9071dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#51 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#52 0x0000795a9074eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#53 0x0000795a9075006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#54 0x0000795a90722c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#55 0x0000795a90723c87 in _PyObject_GetMethod () from /usr/pkg/lib/libpython3.13.so.1.0
#56 0x0000795a908c1e22 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#57 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#58 0x0000795a907da9b7 in builtin_exec () from /usr/pkg/lib/libpython3.13.so.1.0
#59 0x0000795a9071dbc8 in cfunction_vectorcall_FASTCALL_KEYWORDS () from /usr/pkg/lib/libpython3.13.so.1.0
#60 0x0000795a908c0b04 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#61 0x0000795a9074eed0 in vectorcall_method () from /usr/pkg/lib/libpython3.13.so.1.0
#62 0x0000795a9075006f in _Py_slot_tp_getattro () from /usr/pkg/lib/libpython3.13.so.1.0
#63 0x0000795a90722c1d in PyObject_GetAttr () from /usr/pkg/lib/libpython3.13.so.1.0
#64 0x0000795a90723c87 in _PyObject_GetMethod () from /usr/pkg/lib/libpython3.13.so.1.0
#65 0x0000795a908c1e22 in _PyEval_EvalFrameDefault () from /usr/pkg/lib/libpython3.13.so.1.0
#66 0x0000795a907e053c in PyEval_EvalCode () from /usr/pkg/lib/libpython3.13.so.1.0
#67 0x0000795a90837e00 in run_eval_code_obj () from /usr/pkg/lib/libpython3.13.so.1.0
#68 0x0000795a9083841a in run_mod () from /usr/pkg/lib/libpython3.13.so.1.0
#69 0x0000795a908387f9 in pyrun_file () from /usr/pkg/lib/libpython3.13.so.1.0
#70 0x0000795a9083a5bb in _PyRun_SimpleFileObject () from /usr/pkg/lib/libpython3.13.so.1.0
#71 0x0000795a9083abcb in _PyRun_AnyFileObject () from /usr/pkg/lib/libpython3.13.so.1.0
#72 0x0000795a9085dd7d in Py_RunMain () from /usr/pkg/lib/libpython3.13.so.1.0
#73 0x0000795a9085e714 in Py_BytesMain () from /usr/pkg/lib/libpython3.13.so.1.0
#74 0x000000003b200b4d in _start ()
(gdb) 

Do I see it correctly that libcrypto is trying to dlopen() itself? I
checked function "ossl_init_load_crypto_nodelete" and that's definitely
present in /lib/libcrypto.so. So why the dlopen("...libcrypto.so.16")?

(gdb) info sharedlibrary shows at the time of the dlopen that it already
has 2 versions of libcrypto:
...
0x0000795a80ace000  0x0000795a80ce725b  Yes /usr/lib/libcrypto.so.15
...
0x0000795a8053ce00  0x0000795a80852913  Yes /usr/lib/libcrypto.so.16
...

It seems that after the breakpoint at  dlopen (name=0x7a9c5c1df360
"/usr/pkg/lib/python3.13/site-packages/PyQt6/QtNetwork.abi3.so", mode=2)
and before dlopen (name=0x7a9c5bd85d00
"/usr/pkg/lib/python3.13/lib-dynload/_datetime.so", mode=2) both of
these are loaded.

QtNetwork.abi3.so links to
 => /usr/pkg/qt6/lib/libQt6Network.so.6
    => /usr/lib/libcrypto.so.15                  !!!
    => /usr/lib/libgssapi.so.12
       => /usr/lib/libcrypto.so.16               !!!

Should libgssapi.so.12 have gotten a major version bump because it links
to a different major version of libcrypto?

> -RVP
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose
signature.asc (application/pgp-signature, 525 B)
-----BEGIN PGP SIGNATURE-----

iQFPBAEBCAA5FiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmqDPoQbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwzAAoJEJmJxkVhw/vTfGcIAJl1WVDxMKBQ9BBL5Qco
HZJd8KOta/s/X1OnIMZM/F3w2uq4XuQP6UwLIpDzEV/Gb/zYFuqdNItUpbx51O1l
h03d2C7d6h8G6Jk6eZzf832gshG/NpMF5opf8/L96j0IdJKMQraR4d/MqFnXuWaT
2FpLymjHF9MN6hZ1SA/XvvEIFquwPq4Ls6cb0bfKBbVwbrdFCdw01vu6gTtOylDL
PvP00jlBO0uQ44oEikRe5nthfNhRTJV1Eo0yzuaXcvQi7xJ4dsbbiU5N/AYGWnfc
PO407J5nN8PM1G0rn9EDj2gK+f3E6RpQbugr1Irrpc7Y+AaFwgjTRWhjNo2vB++K
jMI=
=zuH1
-----END PGP SIGNATURE-----
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.