openssl and libcurl issue with cargo
Jeremy Drake
cygwin@jdrake.com
Sun May 25 19:20:37 GMT 2025
On 2025年5月25日, Brian Inglis via Cygwin wrote:
> On 2025年05月25日 12:30, Jeremy Drake wrote:
> > Cargo issue (manifests as a hang, but running under gdb shows a SIGSEGV)
> > still reproduces without the curl patch :(
>> Could you please post the gdb backtrace and build details or sufficient info
> to
> diagnose where the root cause originates if possible?
Thread 11 "cargo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 28108.0xe964]
0x0000000a0168d330 in ?? ()
(gdb) bt
#0 0x0000000a0168d330 in ?? ()
#1 0x00007ff8de62971c in pthread_testcancel ()
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/thread.cc:399
#2 pthread_rwlock_wrlock (rwlock=0xa00059910)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/thread.cc:4374
#3 0x00007ff8de70cd94 in _sigfe () at sigfe.s:35
#4 0x00000003ff76e3f9 in CRYPTO_THREAD_write_lock (lock=<optimized out>)
at crypto/threads_pthread.c:110
#5 0x00000003ff761922 in init_thread_remove_handlers (
handsin=handsin@entry=0x0) at crypto/initthread.c:178
#6 0x00000003ff761d43 in OPENSSL_thread_stop () at crypto/initthread.c:235
#7 0x00000003ff5c3f1d in DllMain (hinstDLL=<optimized out>,
fdwReason=<optimized out>, lpvReserved=<optimized out>)
at /usr/src/debug/curl-8.13.0-1/lib/dllmain.c:74
#8 0x00007ff952c58baf in ntdll!RtlActivateActivationContextUnsafeFast ()
from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#9 0x00007ff952c593ec in ntdll!LdrShutdownThread ()
from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#10 0x00007ff952c8afce in ntdll!RtlExitUserThread ()
from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#11 0x00007ff8de63b2a1 in exit_thread (res=res@entry=0)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/sigproc.cc:587
#12 0x00007ff8de62302a in pthread::exit (this=0xa03b61cd0, value_ptr=0x0)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/thread.cc:584
#13 0x00007ff8de623a43 in pthread::thread_init_wrapper (arg=0xa03b61cd0)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/thread.cc:2038
#14 0x00007ff8de5c5021 in pthread_wrapper (arg=<optimized out>)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/create_posix_thread.cc:79
#15 pthread_wrapper (arg=<optimized out>)
at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/create_posix_thread.cc:39
#16 0x0000000000000000 in ?? ()
More information about the Cygwin
mailing list