X server dumping trying to launch anything

Jon Turney jon.turney@dronecode.org.uk
Wed Jan 8 20:17:50 GMT 2025


On 03/01/2025 21:35, Brian Inglis via Cygwin wrote:
> Hi folks,
> 
> Just recently started complaining in vim about not finding %!command 
> output file /tmp/XXXXXXXX/# and now can not launch clients from XDG 
> menu, even after reverting coreutils, and restarting the system: last 
> updated and previous reboot 2024-11-11, just before last Patch Tuesday!
> 
> Running coreutils tests, it seemed to be recursively trying to run 
> chgrp/mod/own from root down, so permissions *somewhere* is likely the 
> issue?

I don't know about this...

> I notice gam_server does not seem to be running as usual, so may be a 
> symptom, but not a lot of info about gamin.
> 
> Checked related perms and all look okay and usual X files and 
> directories appear to be there except as below /tmp/fam-XXX/fam-...
> 
> All hints and suggestions welcome!


[...]
> *** starting 'C:/.../cygwin64/bin/dumper.exe "C:/.../cygwin64/bin/xwin- 
> xdg-menu.exe" 10268' for pid 10446, tid 6772

xwin-xdg-menu is the traymenu X application launcher, not the X server 
itself.

(The xsession scripts use this process exiting to indicate the X session 
has finished)

> $ gdb xwin-xdg-menu xwin-xdg-menu.exe.core
> GNU gdb (GDB) (Cygwin 14.2-1) 14.2
> ...
> Reading symbols from xwin-xdg-menu...
> Reading symbols from /usr/lib/debug//usr/bin/xwin-xdg-menu.exe.dbg...
> 
> warning: core file may not match specified executable file.
> [New Thread 0x1d50]
> [New Thread 0x968]
> [New Thread 0x2590]
> [New Thread 0x256c]
> [New Thread 0xd6c]
> [New Thread 0x2070]
> #0  0x00007ff95a5edb74 in ntdll!ZwDelayExecution () from C:/WINDOWS/ 
> SYSTEM32/ntdll.dll
> [Current thread is 1 (Thread 0x1d50)]
> (gdb) bt
> #0  0x00007ff95a5edb74 in ntdll!ZwDelayExecution () from C:/WINDOWS/ 
> SYSTEM32/ntdll.dll
> #1  0x00007ff957f55a8e in SleepEx () from C:/WINDOWS/System32/ 
> KERNELBASE.dll
> #2  0x00007ff9495dd694 in secure_getenv () from C:/.../cygwin64/bin/ 
> cygwin1.dll
> #3  0x00007ff9495df2e4 in secure_getenv () from C:/.../cygwin64/bin/ 
> cygwin1.dll
> #4  0x00007ff95a5f28bf in ntdll!.chkstk () from C:/WINDOWS/SYSTEM32/ 
> ntdll.dll
> #5  0x00007ff95a5a2554 in ntdll!RtlRaiseException () from C:/WINDOWS/ 
> SYSTEM32/ntdll.dll
> #6  0x00007ff95a5f13ce in ntdll!KiUserExceptionDispatcher () from C:/ 
> WINDOWS/SYSTEM32/ntdll.dll
> #7  0x00000005dc6c5100 in ?? ()
> #8  0x00007ff949623176 in cygwin1!.getreent () from C:/.../cygwin64/bin/ 
> cygwin1.dll
> #9  0x00007ff9495e7635 in cygwin1!_feinitialise () from C:/.../cygwin64/ 
> bin/cygwin1.dll
> #10 0x00007ff9495e88d4 in cygwin1!_feinitialise () from C:/.../cygwin64/ 
> bin/cygwin1.dll
> #11 0x00007ff9495e8b31 in cygwin1!_feinitialise () from C:/.../cygwin64/ 
> bin/cygwin1.dll
> #12 0x00007ff949707adb in timegm () from C:/.../cygwin64/bin/cygwin1.dll
> #13 0x0000000000000000 in ?? ()
> (gdb) q

Unfortunately, this backtrace doesn't contain much useful information.

It might be easier to debug this by:

XWin -multiwindow
export DISPLAY=:0
gdb xwin-xdg-menu



More information about the Cygwin mailing list