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:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=y2N 2QEswmlcLhYH4cdpyvP2clCuK8CXT/AqBQuIbKXUaGYHdTixpiyOCCAeuffU9r6T PvC+Ik/T9Tirzgo+B2mM70ZD82QGcXvB4o4z8VyBML6+YRF2+X/lg0msZTcRsFVc wHuitCZHVtzyfwho/2zvt8PoI4UB37ZYfO1Z5te4= 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:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=7brKqc1Yp LFIb8eayhzoNTPtswQ=; b=WxQdTf0Hstlqg2g3cy8W1fxnYjXdqsujA8/YCu4k+ 5zXXcllAIk84F5ebgJYyS8tdoQmgwtU/0N5ReSjCtIZFabo+SrZykdNyryvxUD+3 wMoHlko9YUBIqjGxoyQn1dEjkXOxiYLLaAob5G/cKfzaFRjZOprn5cH7bV4mzQYU Vk= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=BAYES_20,KAM_LAZY_DOMAIN_SECURITY,TO_NO_BRKTS_MSFT autolearn=no version=3.3.2 spammy=HX-MSMail-Priority:Normal, H*r:Unknown, H*c:original, H*c:reply-type X-HELO: blaine.gmane.org To: cygwin AT cygwin DOT com From: "Markus Moeller" Subject: strace seg faults Date: Sun, 15 Jan 2017 15:50:17 -0000 Lines: 191 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi, I installed cygwin with --no-admin on Windows 7 and get always a segfault when running strace. Is that a known issue ( I saw some old posts, but no indication of the cause) ? $ uname -a CYGWIN_NT-6.1 PC814049 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin $ cygcheck /usr/bin/strace.exe C:\Users\Public\Documents\CYGWIN\bin\strace.exe C:\Windows\system32\ADVAPI32.dll C:\Windows\system32\msvcrt.dll C:\Windows\system32\KERNELBASE.dll C:\Windows\system32\ntdll.dll C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll C:\Windows\system32\KERNEL32.dll C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll C:\Windows\system32\RPCRT4.dll C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll $ gdb --args strace echo foo GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from strace...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/strace echo foo [New Thread 22480.0x6908] Program received signal SIGSEGV, Segmentation fault. 0x0000000076c7c67c in KERNEL32!GetVolumePathNamesForVolumeNameW () from /cygdrive/c/Windows/system32/kernel32.dll (gdb) where #0 0x0000000076c7c67c in KERNEL32!GetVolumePathNamesForVolumeNameW () from /cygdrive/c/Windows/system32/kernel32.dll #1 0x00000001800ca5c4 in dos_drive_mappings::dos_drive_mappings() () from /usr/bin/cygwin1.dll #2 0x00000001800600c5 in cygwin_internal () from /usr/bin/cygwin1.dll #3 0x0000000000402b50 in ?? () #4 0x00000000004074ba in ?? () #5 0x00000000004013ed in ?? () #6 0x000000000040152b in ?? () #7 0x0000000076c359cd in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #8 0x0000000076e6a561 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #9 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) quit A debugging session is active. Inferior 1 [process 22480] will be killed. Quit anyway? (y or n) y Thank you Markus -- 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