Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555776 - x11-base/xorg-server-1.17.2: X crash on FlushAllOutput
Summary: x11-base/xorg-server-1.17.2: X crash on FlushAllOutput
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 556578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-24 10:28 UTC by Naohiro Aota
Modified: 2015-08-22 20:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log.old,30.09 KB, application/x-trash)
2015-07-24 10:30 UTC, Naohiro Aota
Details
0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch (0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch,2.64 KB, patch)
2015-08-22 19:24 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2015-07-24 10:28:32 UTC
Xorg constantly crash with the following backtrace:

[137835.042] (EE) 
[137835.043] (EE) Backtrace:
[137835.046] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58ceb6]
[137835.046] (EE) 1: /usr/bin/X (0x400000+0x191199) [0x591199]
[137835.046] (EE) 2: /lib64/libc.so.6 (0x7f5069551000+0x33aa0) [0x7f5069584aa0]
[137835.046] (EE) 3: /usr/bin/X (FlushAllOutput+0xc0) [0x5907d0]
[137835.046] (EE) 4: /usr/bin/X (WaitForSomething+0x635) [0x58a265]
[137835.046] (EE) 5: /usr/bin/X (0x400000+0x38541) [0x438541]
[137835.046] (EE) 6: /usr/bin/X (0x400000+0x3c86b) [0x43c86b]
[137835.046] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f5069570fa0]
[137835.046] (EE) 8: /usr/bin/X (0x400000+0x26d4e) [0x426d4e]
[137835.046] (EE) 
[137835.046] (EE) Segmentation fault at address 0x3941e66f8
[137835.046] (EE) 
Fatal server error:
[137835.046] (EE) Caught signal 11 (Segmentation fault). Server aborting
[137835.046] (EE) 
[137835.046] (EE) 

The URL points to upstream bugz page and there's a patch to (seems to) fix the issue.

Reproducible: Always

Steps to Reproduce:
1.Run Xorg for some time
2.It eventually crash
Comment 1 Naohiro Aota gentoo-dev 2015-07-24 10:30:10 UTC
Created attachment 407514 [details]
Xorg.0.log
Comment 3 niks1024 2015-08-09 19:33:05 UTC
I accidentally submitted another bug report because none were filed with xproto in their title and only now did I have the time to check all open xorg-server bugs. https://bugs.gentoo.org/show_bug.cgi?id=556578
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2015-08-09 21:25:34 UTC
*** Bug 556578 has been marked as a duplicate of this bug. ***
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2015-08-09 22:11:25 UTC
A bit of review history:
    http://patchwork.freedesktop.org/patch/54910/
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2015-08-22 19:24:08 UTC
Created attachment 409888 [details, diff]
0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch

Attaching patch proposed upstream:
    0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2015-08-22 20:13:41 UTC
Pushed to the tree as:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0ca3a416ad5b5332da5eb15d388ce7f7845e53

Apologies for a long delay.