XWin startup crash x86_64 Windows 10

Sergio Gomez sgj@tinet.cat
Thu Apr 21 16:35:00 GMT 2016


Hi,

After a fresh installation of Cygwin x86_64 in a Windows 10 machine, XWin
crashes during startup (rest of Cygwin seems OK). Here is the backtrace:

----------------------------------
$ gdb --args /usr/bin/XWin -multiwindow
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 /usr/bin/XWin...Reading symbols from
/usr/lib/debug//usr/bin/XWin.exe.dbg...don
e.
done.
(gdb) handle SIGSYS nostop
Signal        Stop      Print   Pass to program Description
SIGSYS        No        Yes     Yes             Bad system call
(gdb) r
Starting program: /usr/bin/XWin -multiwindow
[New Thread 10320.0xd2c]
[New Thread 10320.0x2370]
[New Thread 10320.0x280]
[New Thread 10320.0x243c]
[New Thread 10320.0x1050]
gdb: unknown target exception 0x80000001 at 0x180071a71

Program received signal ?, Unknown signal.
[Switching to Thread 10320.0x1050]
0x0000000180071a71 in myfault_altstack_handler (exc=0x1cb050)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/exceptions.cc:615
615     {
(gdb) bt full
#0  0x0000000180071a71 in myfault_altstack_handler (exc=0x1cb050)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/exceptions.cc:615
        me = <optimized out>
#1  0x00007ffc24b6e763 in ntdll!MD5Update () from
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#2  0x00007ffc24b35443 in ntdll!RtlImageNtHeaderEx () from
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#3  0x00007ffc24ba8bfa in ntdll!KiUserExceptionDispatcher ()
   from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#4  0x00007ffc24b27c13 in ntdll!RtlAcquireSRWLockShared ()
   from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#5  0x00007ffc24b25c5f in ntdll!RtlAllocateHeap () from
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#6  0x00007ffc24b9266b in ntdll!EtwEventProviderEnabled ()
   from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#7  0x00007ffc24b27cce in ntdll!RtlAcquireSRWLockShared ()
   from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#8  0x00007ffc24b25c5f in ntdll!RtlAllocateHeap () from
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#9  0x0000000076145cff in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#10 0x0000000076145a37 in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#11 0x00000000760e2fe2 in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#12 0x00000000760e2d82 in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#13 0x00000000760e4989 in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0x00000000760e48e1 in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#15 0x000000007618a997 in tmmon64!NullExport ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#16 0x000000007618a90b in tmmon64!NullExport ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#17 0x00000000760f418d in ?? ()
   from
/cygdrive/c/WINDOWS/system32/tmumh/20019/TmMon/1.6.0.1112/tmmon64.dll
No symbol table info available.
#18 0x00000001800c73a4 in CreateMutexW (lpMutexAttributes=0x0,
bInitialOwner=1887048,
    lpName=<optimized out>) at
/usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/kernel32.cc:142
        mtx = 0x0
        uname = {Length = 0, MaximumLength = 0, Buffer = 0x0}
        attr = {Length = 48, RootDirectory = 0x0, ObjectName = 0x0,
Attributes = 0,
          SecurityDescriptor = 0x0, SecurityQualityOfService = 0x0}
        status = <optimized out>
        flags = <optimized out>
#19 0x00000001800441bb in init_cygheap::add_tls (this=0x18033e400,
t=0xffdfce00)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/cygheap.cc:641
        here = {static lock = {
            name = 0x180229681 <openpty::__PRETTY_FUNCTION__+705>
"thread_tls_sentry", sync = 1,
            waiters = 0, bruteforce = 0x124, visits = 1, tls = 0xffdfce00},
destroy = 1}
#20 0x0000000180045891 in _cygtls::init_thread (this=<optimized out>,
x=<optimized out>,
    func=<optimized out>) at
/usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/cygtls.cc:150
No locals.
#21 0x00000001800d2197 in pthread_wrapper (arg=<optimized out>)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/miscfuncs.cc:625
        wrapper_arg = {func = 0x180154230
<pthread::thread_init_wrapper(void*)>,
          arg = 0x6000283e0,
          stackaddr = 0x190000 <error: Cannot access memory at address
0x190000>,
          stackbase = 0xffe00000 <error: Cannot access memory at address
0xffe00000>,
          stacklimit = 0xffdf0000 "", guardsize = 12288}
        dealloc_addr = <optimized out>
---Type <return> to continue, or q <return> to quit---
        arg = <optimized out>
#22 0x000000018004591c in _cygtls::call2 (this=0x1cce00,
    func=0x1800d20c0 <pthread_wrapper(PVOID)>, arg=0x180348df8,
buf=buf@entry=0x1ccd50)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/cygtls.cc:111
        res = <optimized out>
#23 0x00000001800459b4 in _cygtls::call (func=<optimized out>,
arg=<optimized out>)
    at /usr/src/debug/cygwin-2.5.0-1/winsup/cygwin/cygtls.cc:30
        buf = '\000' <repeats 8568 times>...
#24 0x00007ffc24a68102 in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
No symbol table info available.
#25 0x00007ffc24b5c5b4 in ntdll!RtlUserThreadStart () from
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
No symbol table info available.
#26 0x0000000000000000 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) q
----------------------------------


And here is the XWin log:
----------------------------------
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.18.2.0
OS: CYGWIN_NT-10.0 psgomez5 2.5.0(0.297/5/3) 2016-04-11 09:58 x86_64
OS: Windows 10  [Windows NT 10.0 build 10586] (Win64)
Package: version 1.18.2-1 built 2016-03-24

XWin was started with the following command line:

/usr/bin/XWin -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 120 y 120
[ 17152.281] (II) xorg.conf is not supported
[ 17152.281] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for
more information
[ 17152.281] LoadPreferences: /home/Sergio/.XWinrc not found
[ 17152.281] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 17152.281] LoadPreferences: Done parsing the configuration file...
[ 17152.281] winDetectSupportedEngines - RemoteSession: no
[ 17153.046] winDetectSupportedEngines - DirectDraw4 installed, allowing
ShadowDDNL
[ 17153.750] winDetectSupportedEngines - Returning, supported engines
00000005
----------------------------------

Thanks,

Sergio.


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



More information about the Cygwin mailing list