DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54PJLif92510938 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54PJLif92510938 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=kSc0MWjM X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCCC23858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1748200902; bh=gJg1Fyy92/kgIQ/2TkmRajf33UI9Yr//FdvV/MxE0RI=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=kSc0MWjMmJyUOnQh6Obkobb544haWYfBYjdqGmGwQQj1AFqUBJeEW05Ziex1MBiQZ 0ECbZWYZsNmV9pmQsp8p5ckH0aE75YGHf8Fn2QyAq7a9pOGf0oqDcYJcwyUiYZVZtb DdCiuHqNMNGwkZ3Zyu+RNDp4ISXgb6fklTeF5TA8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 730473858D26 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 730473858D26 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748200837; cv=none; b=L4/INR7HW8GOUKiEqrn82GY1eqOITMjxcieJvKPVtV6FyUF3aTNhLOb8ZtP38REc9Ow4LkvRl+stHIGB+fGghstlGdkZii8L1S8xxjJx52xgsOYI8I+IYixEZFrn1obE9f417YsfHq6L4NqnZTD9Yw1lpTGSsX11t7gXA+oGZik= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748200837; c=relaxed/simple; bh=jDEPD36O7U06O1xDdUKex/LYe6RHdQhPwInyVjhWqsk=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=xrzsuWS9f7GA9XC2QF8Zu0wsUOSjFpkSZevU15xMgFgxGbxFp67bThXkaQADJ2PQtXTTDZ8hWleI0xWKELJC5kFHdc/1N7RUjulwvlViYyjFUQ2CONuyqt1B0VDweJwRmmLOE7Uu18qxaJmx31I8BkajuRima+ghg0py90PKsJs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 730473858D26 Date: Sun, 25 May 2025 12:20:37 -0700 (PDT) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: Brian Inglis via Cygwin Subject: Re: openssl and libcurl issue with cargo In-Reply-To: <0250a353-4693-4bdd-918d-32911eb74463@SystematicSW.ab.ca> Message-ID: <20954d98-2a66-49f8-731c-ae34767d96f0@jdrake.com> References: <3a509f81-1b37-8625-7b3a-57b2027ccd66 AT jdrake DOT com> <083b5ba7-46c8-8780-d362-bea33f227cb9 AT jdrake DOT com> <874ix9gky6 DOT fsf AT Gerda DOT invalid> <1d8570da-0e8c-45a9-c9f3-624c59da23f8 AT jdrake DOT com> <0250a353-4693-4bdd-918d-32911eb74463 AT SystematicSW DOT ab DOT ca> MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sun, 25 May 2025, 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=) at crypto/threads_pthread.c:110 #5 0x00000003ff761922 in init_thread_remove_handlers ( handsin=handsin AT entry=0x0) at crypto/initthread.c:178 #6 0x00000003ff761d43 in OPENSSL_thread_stop () at crypto/initthread.c:235 #7 0x00000003ff5c3f1d in DllMain (hinstDLL=, fdwReason=, lpvReserved=) 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 AT 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=) at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/create_posix_thread.cc:79 #15 pthread_wrapper (arg=) at /usr/src/debug/cygwin-3.7.0-0.98.gb39b510c1ce6/winsup/cygwin/create_posix_thread.cc:39 #16 0x0000000000000000 in ?? () -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple