X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=h/F cGeBlFre6RHhVUIfCqdSRINIJZMJ4Gouyh94eBCAXr0Risrg6d/Q6KHpZ4dA6Ovw r4VJuRKJ7QJ7dJS3wQGjCG/9Ukpn6U+t4ktclYAMkrOtV/xmGcs09VAoodilN+qC vpcwzpPBB0FS/tBrI38QReTG8E2unATTJI5ydE8Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=r/gphSf1K It5SX8MWgbt9HPCe+o=; b=BxfsCjzP5sm95yR01KIvCJjlusSZvM46ifERk9DJf d+GTxA/0//1aaklIonJjo4P18RW7ZOQpKf/M080Nx6clNQ/+AXkNkvmrko7HPOSH CERxV06DoQCpTgRm8Qruy9yf0FtvxaA5FOGAY2vNei/9O+soCL646K0gv8SM2GKa a4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Delivered-To: corinna-cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*pobox.com, ONCE, H*M:1325, H*r:ip*192.168.1.4 X-Spam-User: qpsmtpd, 2 recipients X-HELO: sasl.smtp.pobox.com To: Corinna Vinschen , cygwin AT cygwin DOT com From: Daniel Santos Subject: strace (from git) segfaults Message-ID: Date: Tue, 21 Mar 2017 15:08:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 84224060-0E71-11E7-BF36-97B1B46B9B0B-06139138!pb-smtp1.pobox.com X-IsSubscribed: yes This is a silly one because I ran gdb --args strace ls and it doesn't crash. Then I ran 'gdb --args strace strace ls' and it crashed in gdb ONCE! However, I don't usually work on Cygwin/Windows so I think gdb loaded up the wrong debug info and/or source files. I built cygwin-newlib from git (with -O2 -g3) and did make install, so I didn't strip them. Anyway, this is the measly backtrace I got and I wish I hadn't restarted the debug session because I haven't been able to get it to happen in the debugger since: #0 0x0000000076f4c3bc in KERNEL32!GetVolumePathNamesForVolumeNameW () from /c/Windows/system32/kernel32.dll #1 0x00000001800c8b54 in dos_drive_mappings::dos_drive_mappings() () from /usr/bin/cygwin1.dll #2 0x000000018005fc25 in cygwin_internal () from /usr/bin/cygwin1.dll #3 0x0000000000402b7b in main2 (argc=argc AT entry=3, argv=0x0, argv AT entry=0x5a2010) at ../../../../../winsup/utils/strace.cc:1175 #4 0x00000000004074ea in main (argc=3, argv=0x5a2010) at ../../../../../winsup/utils/strace.cc:1195 Also, I even overwrote the cygwin1.dll with another build, I don't even have that *blushes* Daniel -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple