public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* strace seg faults
@ 2017-01-15 15:51 Markus Moeller
  2017-01-15 17:20 ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Moeller @ 2017-01-15 15:51 UTC (permalink / raw)
  To: cygwin

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 
<http://gnu.org/licenses/gpl.html>

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:

<http://www.gnu.org/software/gdb/bugs/>.

Find the GDB manual and other documentation resources online at:

<http://www.gnu.org/software/gdb/documentation/>.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: strace seg faults
  2017-01-15 15:51 strace seg faults Markus Moeller
@ 2017-01-15 17:20 ` Marco Atzeri
  2017-01-15 17:36   ` Markus Moeller
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2017-01-15 17:20 UTC (permalink / raw)
  To: cygwin

On 15/01/2017 16:50, Markus Moeller wrote:
> 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
>

likely a BLODA interferencing

Regards
Marco


--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: strace seg faults
  2017-01-15 17:20 ` Marco Atzeri
@ 2017-01-15 17:36   ` Markus Moeller
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Moeller @ 2017-01-15 17:36 UTC (permalink / raw)
  To: cygwin

Anyway to find out which app(s) ?  It worked fine with an older version.

Thank you
Markus

"Marco Atzeri"  wrote in message 
news:9d3c2522-ca3e-48fe-0cd6-6264d58f9718@gmail.com...

On 15/01/2017 16:50, Markus Moeller wrote:
> 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
>

likely a BLODA interferencing

Regards
Marco



--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-15 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-15 15:51 strace seg faults Markus Moeller
2017-01-15 17:20 ` Marco Atzeri
2017-01-15 17:36   ` Markus Moeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).