Bug 890119

Summary: X11 BUG: triggered 'if (f[f_idx])'
Product: [openSUSE] openSUSE 13.1 Reporter: a b <wharms>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description a b 2014-08-03 13:23:17 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0

I attached a second monitor to a Dell755. That caused several problems to surface (see:Bug 890117)
When i start a new server using:
X -query remote :1
the X-Server crashes.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
Fatal server error:
[   202.311] (EE) (EE) BUG: triggered 'if (f[f_idx])'
[   202.311] (EE) BUG: log.c:464 in pnprintf()
[   202.311] (EE) Unsupported printf directive '*'
[   202.311] (EE) 
[   202.311] (EE) Backtrace:
[   202.323] (EE) 0: X (xorg_backtrace+0x3d) [0x585abd]
[   202.323] (EE) 1: X (LogVMessageVerbSigSafe+0x87d) [0x59131d]
[   202.323] (EE) 2: X (FatalError+0xd5) [0x5915e5]
[   202.323] (EE) 3: X (0x400000+0x1937e2) [0x5937e2]
[   202.323] (EE) 4: X (0x400000+0x193bad) [0x593bad]
[   202.323] (EE) 5: X (WakeupHandler+0x6d) [0x440e4d]
[   202.323] (EE) 6: X (WaitForSomething+0x1af) [0x58307f]
[   202.323] (EE) 7: X (0x400000+0x3c991) [0x43c991]
[   202.323] (EE) 8: X (0x400000+0x2c1ba) [0x42c1ba]
[   202.323] (EE) 9: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f753e3acbe5]
[   202.323] (EE) 10: X (0x400000+0x2c501) [0x42c501]
[   202.323] (EE) 
[   202.323] XDMCP fatal error: Session declined %*.*s
[   202.323] (EE) 
[   202.323] (EE) 



It seems that this kind of bug has been reported before:
https://bugs.freedesktop.org/show_bug.cgi?id=66862
Comment 1 Stefan Dirsch 2014-08-04 10:42:06 UTC
*** Bug 890120 has been marked as a duplicate of this bug. ***
Comment 2 a b 2014-08-04 10:45:42 UTC
Hello,
there is also a kernal warning that i mistook as kernel crash. see Bug 890119


[   59.432688] ------------[ cut here ]------------
[   59.432701] WARNING: CPU: 1 PID: 1233 at
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/drivers/gpu/drm/drm_crtc.c:1992
drm_mode_set_config_
internal+0xcc/0xd0 [drm]()
[   59.432726] Modules linked in: xt_pkttype xt_LOG xt_limit ip6t_REJECT
xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw
xt_CT 
iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast
nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack
ip6table_fi
lter ip6_tables x_tables coretemp snd_hda_codec_analog usb_storage
snd_hda_intel snd_hda_codec kvm snd_hwdep snd_pcm iTCO_wdt snd_timer
iTCO_vendor_support sn
d ppdev e1000e soundcore lpc_ich mei_me snd_page_alloc mei serio_raw mfd_core
dcdbas sr_mod ptp cdrom pcspkr i2c_i801 parport_pc pps_core ata_generic parport 
shpchp button acpi_cpufreq mperf sg dm_mod autofs4 radeon ttm processor
thermal_sys drm_kms_helper drm i2c_algo_bit scsi_dh_hp_sw scsi_dh_emc
scsi_dh_rdac scs
i_dh_alua scsi_dh
[   59.432729] CPU: 1 PID: 1233 Comm: X Tainted: G        W   
3.11.10-17-desktop #1
[   59.432729] Hardware name: Dell Inc. OptiPlex 755                 /0GM819,
BIOS A09 03/11/2008
[   59.432732]  0000000000000009 ffffffff815a0402 0000000000000000
ffffffff81050eb2
[   59.432734]  ffff88011eb434a0 ffff88011e9fe000 0000000000000000
ffff88011eb43400
[   59.432736]  ffff88011e1fd060 ffffffffa003b4ec 0000000000000000
ffff88011e1fd000
[   59.432736] Call Trace:
[   59.432744]  [<ffffffff81004a28>] dump_trace+0x88/0x310
[   59.432747]  [<ffffffff81004d80>] show_stack_log_lvl+0xd0/0x1d0
[   59.432750]  [<ffffffff810061bc>] show_stack+0x1c/0x50
[   59.432752]  [<ffffffff815a0402>] dump_stack+0x50/0x89
[   59.432756]  [<ffffffff81050eb2>] warn_slowpath_common+0x72/0x90
[   59.432767]  [<ffffffffa003b4ec>] drm_mode_set_config_internal+0xcc/0xd0
[drm]
[   59.432793]  [<ffffffffa0094a3c>] drm_fb_helper_pan_display+0xec/0x140
[drm_kms_helper]
[   59.432796]  [<ffffffff81318c81>] fb_pan_display+0xb1/0x170
[   59.432799]  [<ffffffff813191bb>] fb_set_var+0x2fb/0x3b0
[   59.432803]  [<ffffffff81325a2b>] fbcon_blank+0x1bb/0x2a0
[   59.432807]  [<ffffffff8139439a>] do_unblank_screen+0x9a/0x1b0
[   59.432810]  [<ffffffff8138aa2e>] complete_change_console+0x4e/0xd0
[   59.432813]  [<ffffffff8138ba0b>] vt_ioctl+0xf5b/0x10f0
[   59.432817]  [<ffffffff813800dc>] tty_ioctl+0x26c/0xb70
[   59.432820]  [<ffffffff81197bac>] do_vfs_ioctl+0x2dc/0x4c0
[   59.432830]  [<ffffffff81197e10>] SyS_ioctl+0x80/0xa0
[   59.432834]  [<ffffffff815ae06d>] system_call_fastpath+0x1a/0x1f
[   59.432838]  [<00007f5e8e1671e7>] 0x7f5e8e1671e6
[   59.432839] ---[ end trace 70066f42d1d7be9c ]---
[   59.451970] ------------[ cut here ]------------
Comment 3 Egbert Eich 2015-11-16 11:31:42 UTC
The Xserver crash has been fixed in boo#948713. The kernel stack trace seems to be harmless and is unrelated to the crash.

*** This bug has been marked as a duplicate of bug 948713 ***