X server dumping trying to launch anything
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Fri Jan 3 21:35:34 GMT 2025
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 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!
[Minor redactions]
$ uname -srvmo
CYGWIN_NT-10.0-19045 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin
$ cat ~/.xsession-errors
** Message: 17:01:59.912: couldn't connect to dbus session bus: The connection
is closed
** Message: 17:02:00.262: couldn't connect to dbus session bus: The connection
is closed
** Message: 17:02:00.582: couldn't connect to dbus session bus: The connection
is closed
xkb group #0 is already defined
*** starting 'C:/.../cygwin64/bin/dumper.exe
"C:/.../cygwin64/bin/xwin-xdg-menu.exe" 10268' for pid 10446, tid 6772
Failed to connect to socket /tmp/fam-$USER/fam-
executing '/usr/bin/mintty -s 120x60 -p 210,120 -', pid 11401
*** starting 'C:/.../cygwin64/bin/dumper.exe
"C:/.../cygwin64/bin/xwin-xdg-menu.exe" 4900' for pid 11401, tid 2408
pid 11401 exited with status 127
executing 'x-terminal-emulator -s 120x60 -p210,120 -', pid 13977
pid 13977 terminated by signal 11
executing 'pcmanfm ', pid 14135
pid 14135 terminated by signal 11
executing 'xterm -e btop', pid 14344
pid 14344 terminated by signal 11
$ lsp /tmp | cyg-sanitize-output.sed
+ lsattr -adl /tmp
/tmp ---
+ /bin/ls -adlL /tmp
drwxrwxrwt 1 $USER None 0 Jan 3 01:02 /tmp
+ getfacl /tmp
# file: /tmp
# owner: $USER
# group: None
# flags: --t
user::rwx
group::rwx
other::rwx
default:user::rwx
default:group::rwx
default:other::rwx
+ icacls "$(cygpath -am /tmp)"
C:/.../cygwin64/tmp NULL SID:(DENY)(Rc,S,RD)
$HOSTNAME/$USER:(F)
$HOSTNAME/None:(RX,W)
Everyone:(RX,W)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX,W)
Everyone:(OI)(CI)(IO)(RX,W)
Successfully processed 1 files; Failed processing 0 files
$ 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
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
More information about the Cygwin
mailing list