Bugzilla – Bug 948713
XDMCP fatal error: Session failed %*.*s BUG: triggered 'if (f[f_idx])' BUG: log.c:474 in vpnprintf() Unsupported printf directive '*'
Last modified: 2015-11-19 14:12:09 UTC
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 Build Identifier: X is crashing when running the command /usr/bin/X :8.0 -query 192.168.222 in the kde konsole. Reproducible: Always Steps to Reproduce: /usr/bin/X :8.0 -query 192.168.222 Actual Results: It swtches to a black screen on vt8 with a cursor blinking in top left but no kde login screen. Expected Results: On vt8 the KDE login screen is expected. Xorg.8.0.log: -------------------------------------------------------------------------------- [ 11613.869] X.Org X Server 1.16.1 Release Date: 2014-09-21 [ 11613.869] X Protocol Version 11, Revision 0 [ 11613.869] Build Operating System: openSUSE SUSE LINUX [ 11613.869] Current Operating System: Linux SERVER1 3.16.7-24-xen #1 SMP Mon Aug 3 14:37:06 UTC 2015 (ec183cc) x86_64 [ 11613.869] Kernel command line: root=UUID=3aea30f9-846e-4995-9845-5f2ea30e34c2 ro resume=/dev/disk/by-uuid/9d5c5ecc-ee85-440e-9fd2-5c195aec1e13 splash=silent quiet showopts [ 11613.869] Build Date: 12 June 2015 07:55:09PM [ 11613.869] [ 11613.869] Current version of pixman: 0.32.6 [ 11613.869] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 11613.869] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. ... ... ... [ 11614.233] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0) [ 11614.233] (II) No input driver specified, ignoring this device. [ 11614.233] (II) This device may have been added with another device file. [ 11614.233] (II) config/udev: Adding input device PC Speaker (/dev/input/event2) [ 11614.233] (II) No input driver specified, ignoring this device. [ 11614.233] (II) This device may have been added with another device file. [ 11622.556] (II) AIGLX: Suspending AIGLX clients for VT switch [ 11689.277] (EE) Fatal server error: [ 11689.277] (EE) (EE) BUG: triggered 'if (f[f_idx])' [ 11689.277] (EE) BUG: log.c:474 in vpnprintf() [ 11689.277] (EE) Unsupported printf directive '*' [ 11689.277] (EE) [ 11689.277] (EE) Backtrace: [ 11689.278] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x58cb48] [ 11689.278] (EE) 1: /usr/bin/X (0x400000+0x1991aa) [0x5991aa] [ 11689.278] (EE) 2: /usr/bin/X (LogVMessageVerbSigSafe+0x4d) [0x59992d] [ 11689.278] (EE) 3: /usr/bin/X (FatalError+0xd5) [0x599435] [ 11689.278] (EE) 4: /usr/bin/X (0x400000+0x19b634) [0x59b634] [ 11689.278] (EE) 5: /usr/bin/X (0x400000+0x19bacd) [0x59bacd] [ 11689.278] (EE) 6: /usr/bin/X (WakeupHandler+0x6d) [0x44065d] [ 11689.278] (EE) 7: /usr/bin/X (WaitForSomething+0x1bf) [0x589f2f] [ 11689.278] (EE) 8: /usr/bin/X (0x400000+0x3bae1) [0x43bae1] [ 11689.278] (EE) 9: /usr/bin/X (0x400000+0x3fb6a) [0x43fb6a] [ 11689.278] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f33af262b05] [ 11689.278] (EE) 11: /usr/bin/X (0x400000+0x2b15e) [0x42b15e] [ 11689.278] (EE) [ 11689.278] XDMCP fatal error: Session failed %*.*s [ 11689.278] (EE) [ 11689.279] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 11689.279] (EE) Please also check the log file at "/var/log/Xorg.8.0.log" for additional information. [ 11689.279] (EE) [ 11689.279] (EE) Server terminated with error (1). Closing log file. --- Xorg.8.0.log end ----------------------------------------------------------- systemctl in 192.168.1.222: -- Logs begin at Thu 2015-03-05 17:17:06 CET. -- Sep 30 14:52:08 MGO-GTW dhcpd[1446]: DHCPINFORM from 192.168.1.20 via eth0 Sep 30 14:52:08 MGO-GTW dhcpd[1446]: DHCPACK to 192.168.1.20 (f4:6d:04:66:d8:4c) via eth0 Sep 30 14:53:08 MGO-GTW dhcpd[1446]: DHCPINFORM from 192.168.1.20 via eth0 Sep 30 14:53:08 MGO-GTW dhcpd[1446]: DHCPACK to 192.168.1.20 (f4:6d:04:66:d8:4c) via eth0 Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [General] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [X-*-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [X-*-Greeter] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of key 'Language' in section [X-*-Greeter] of /usr/share/kde4/config/kdm/kdmrc Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [X-:*-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [X-:0-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of key 'AutoLoginEnable' in section [X-:0-Core] of /usr/share/kde4/config/kdm/kdmrc Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of section [Xdmcp] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them. Sep 30 14:58:40 MGO-GTW kdm_config[5714]: Multiple occurrences of key 'Enable' in section [Xdmcp] of /usr/share/kde4/config/kdm/kdmrc Sep 30 14:59:55 MGO-GTW kdm[5719]: 127.0.0.3:8[5719]: Cannot connect to 127.0.0.3:8, giving up Sep 30 14:59:55 MGO-GTW kdm[516]: Display 127.0.0.3:8 cannot be opened Sep 30 15:00:01 MGO-GTW cron[5725]: pam_unix(crond:session): session opened for user root by (uid=0) Sep 30 15:00:01 MGO-GTW CRON[5725]: pam_unix(crond:session): session closed for user root
Created attachment 655224 [details] Fix This looks wrong: /usr/bin/X :8.0 -query 192.168.222 ^^^^^^^^^^ you should use an IP address here. Oops, XdmcpFatal() calls FatalError() with a '%*.*s' format string. FatalError() has to use the async safe variant of the *printf() functions which only support a subset of the printf-format strings. Therefore we need to solve this differently. Thanks for the report! I will fix it for upstream and Factory, probably not for 13.2 any more. The Xserver would have terminated anyway as a call to FatalError() doesn't return. It would have just printed a message why it wasn't able to start up.
Support for the %*.*s has been added 17.2. Since Factory is newer, this is fixed there already. I've added the patch to 13.1/13.2. MR ID#343441.
This is an autogenerated message for OBS integration: This bug (948713) was mentioned in https://build.opensuse.org/request/show/343441 13.1+13.2 / xorg-x11-server
*** Bug 890119 has been marked as a duplicate of this bug. ***
openSUSE-RU-2015:2034-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 948713 CVE References: Sources used: openSUSE 13.2 (src): xorg-x11-server-7.6_1.16.1-22.1 openSUSE 13.1 (src): xorg-x11-server-7.6_1.14.3.901-25.1