XWin Server fails to start with keymap failure, strace log attached.

Jon TURNEY jon.turney@dronecode.org.uk
Tue Jun 9 13:05:00 GMT 2015


On 09/06/2015 00:09, John T. Kerich wrote:
>> I've uploaded a patched version which collects more information at
>> [1], perhaps you download that, put it in /usr/bin and try that
>> strace command again. (You may need to chmod +x it after
>> downloading)
>
>> [1] ftp://cygwin.com/pub/cygwinx/x86_64/strace.exe
>
> I assume the patched version was this strace.exe.  I downloaded it
> and ran it in the /usr/bin after renaming the original strace.exe.
> This is what showed up on the terminal window.  Attached is log_v2.

Thanks very much.

> --- Process 4416 created
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\ntdll.dll at 00000000778B0000
>   208 43787800 [waitproc] XWin 11016 cygthread::stub: thread 'waitproc', id 0x1A80, stack_ptr 0x4F0CCD0
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\kernel32.dll at 0000000077630000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\KernelBase.dll at 000007FEFDFD0000
> --- Process 4416 loaded \Device\HarddiskVolume2\cygwin64\bin\cygwin1.dll at 0000000180040000
> --- Process 4416 loaded \Device\HarddiskVolume2\cygwin64\bin\cygiconv-2.dll at 00000003FD140000
> --- Process 4416 loaded \Device\HarddiskVolume2\cygwin64\bin\cygintl-8.dll at 00000003FD120000
> --- Process 4416 loaded \Device\HarddiskVolume2\cygwin64\bin\cygncursesw-10.dll at 00000003FCB00000
> --- Process 4416 loaded \Device\HarddiskVolume2\cygwin64\bin\cygreadline7.dll at 00000003FC620000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\user32.dll at 0000000077310000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\gdi32.dll at 000007FEFE3B0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\lpk.dll at 000007FEFE580000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\usp10.dll at 000007FEFEB30000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\msvcrt.dll at 000007FEFE420000
>     1       1 [main] sh (4416) **********************************************
>    66      67 [main] sh (4416) Program name: C:\cygwin64\bin\sh.exe (windows pid 4416)
>    21      88 [main] sh (4416) OS version:   Windows NT-6.1
>    19     107 [main] sh (4416) **********************************************
>    62     169 [main] sh (4416) sigprocmask: 0 = sigprocmask (0, 0x0, 0x1802E30A8)
>    95     264 [main] sh 4416 child_copy: cygheap - hp 0x5E8 low 0x180303400, high 0x180310FE8, res 1
>    22     286 [main] sh 4416 child_copy: done
>    93     379 [main] sh 4416 open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x6C, *m 6
>    26     405 [main] sh 4416 user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
>    26     431 [main] sh 4416 open_shared: name (null), n 1, shared 0x180020000 (wanted 0x180020000), h 0x54, *m 6
>    21     452 [main] sh 4416 user_info::create: opening user shared for '' at 0x180020000
>    20     472 [main] sh 4416 user_info::create: user shared version AB1FCCE8
>    44     516 [main] sh (4416) open_shared: name cygpid.4416, n 4416, shared 0x180010000 (wanted 0x180010000), h 0x74, *m 6
>    22     538 [main] sh 4416 time: 1433804555 = time(0x0)
>    19     557 [main] sh 4416 pinfo::thisproc: myself dwProcessId 4416
>    24     581 [main] sh 4416 fhandler_pty_slave::fixup_after_fork: /dev/pty0 inherited, usecount 4
>    20     601 [main] sh 4416 fhandler_pty_slave::fixup_after_fork: /dev/pty0 inherited, usecount 4
>    19     620 [main] sh 4416 fhandler_pty_slave::fixup_after_fork: /dev/pty0 inherited, usecount 4
> 10703   11323 [main] sh 4416 fhandler_base::fork_fixup: handle 0x328 already opened
>    66   11389 [main] sh 4416 fhandler_base::fork_fixup: handle 0x32C already opened
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\ws2_32.dll at 000007FEFED60000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\rpcrt4.dll at 000007FEFE610000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\nsi.dll at 000007FEFE3A0000
>  1846   13235 [main] sh 4416 wsock_init: res 0
>    47   13282 [main] sh 4416 wsock_init: wVersion 514
>    21   13303 [main] sh 4416 wsock_init: wHighVersion 514
>    20   13323 [main] sh 4416 wsock_init: szDescription WinSock 2.0
>    19   13342 [main] sh 4416 wsock_init: szSystemStatus Running
>    18   13360 [main] sh 4416 wsock_init: iMaxSockets 0
>    18   13378 [main] sh 4416 wsock_init: iMaxUdpDg 0
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\LavasoftTcpService64.dll at 00000000002D0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\mswsock.dll at 000007FEFD540000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\IPHLPAPI.DLL at 000007FEFCEB0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\winnsi.dll at 000007FEFCEA0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\advapi32.dll at 000007FEFE2C0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\sechost.dll at 000007FEFE4C0000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\ole32.dll at 000007FEFE740000
> --- Process 4416 loaded \Device\HarddiskVolume2\Windows\System32\oleaut32.dll at 000007FEFEC00000
> --- Process 4416, exception c0000005 at 00000000778FDAE1

This shows that the crash looks like it is in ntdll.dll, while we are 
doing some socket initialisation, but the interesting thing I note is 
LavasoftTcpService64.dll being loaded.

Apparently this belongs to "Lavasoft Web Companion".  I'd suggest you 
try upgrading or uninstalling that.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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