Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370305 - <x11-base/xorg-server-1.10.3 crashes after xsetroot -def
Summary: <x11-base/xorg-server-1.10.3 crashes after xsetroot -def
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:
: 377753 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-06 16:21 UTC by Andrew Savchenko
Modified: 2017-01-26 05:44 UTC (History)
3 users (show)

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


Attachments
xorg-server-1.10-crashfix.patch (xorg-server-1.10-crashfix.patch,690 bytes, patch)
2011-06-06 16:22 UTC, Andrew Savchenko
Details | Diff
emerge --info (emerge.info,8.25 KB, application/octet-stream)
2011-06-06 16:26 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2011-06-06 16:21:11 UTC
Hello,

Occasionally I encounter this bug when switching between virtual desktops in e16, later it was narrowed down to crash after:
$ xsetroot -def

Crash does not depends on WM or video card being used. I checked on nVidia GeForce 7300 GT (xorg-server-1.10.2, nvidia-drivers-270.41.19) and i945 GME on EeePC 1000H (xorg-server-1.10.1.901, xf86-video-intel-2.15.0).

This bug is known well:
http://us.generation-nt.com/answer/bug-626655-xserver-xorg-core-segmentation-fault-help-203455252.html
https://bugzilla.redhat.com/show_bug.cgi

and a patch is available:
https://bugzilla.redhat.com/attachment.cgi?id=499007

This patch fixes the crash for me.
Comment 1 Andrew Savchenko gentoo-dev 2011-06-06 16:22:39 UTC
Created attachment 276031 [details, diff]
xorg-server-1.10-crashfix.patch

patch from RedHat Bug Bug 684556
Comment 2 Andrew Savchenko gentoo-dev 2011-06-06 16:26:26 UTC
Created attachment 276033 [details]
emerge --info
Comment 3 Andrew Savchenko gentoo-dev 2011-06-06 16:35:05 UTC
Just for the history, xorg crash logs on different hosts:

1)
Backtrace:
[523637.171] 0: /usr/bin/X (xorg_backtrace+0x3c) [0x80ee33c]
[523637.172] 1: /usr/bin/X (0x8048000+0x627ca) [0x80aa7ca]
[523637.172] 2: /usr/bin/X (0x8048000+0xf7fb8000) [(nil)]
[523637.172] Segmentation fault at address 0x2
[523637.172] 
Fatal server error:
[523637.172] Caught signal 11 (Segmentation fault). Server aborting

2)
Backtrace:
[ 28422.094] 0: /usr/bin/X (xorg_backtrace+0x3d) [0x80f6f4d]
[ 28422.094] 1: /usr/bin/X (0x8048000+0x6a55c) [0x80b255c]
[ 28422.094] Segmentation fault at address 0x10
[ 28422.094] 
Fatal server error:
[ 28422.094] Caught signal 11 (Segmentation fault). Server aborting
Comment 4 Andrew Savchenko gentoo-dev 2011-06-07 04:44:10 UTC
(In reply to comment #0)
> https://bugzilla.redhat.com/show_bug.cgi
Sorry, bad copypaste.
https://bugzilla.redhat.com/show_bug.cgi?id=684556
Comment 5 Andrew Savchenko gentoo-dev 2011-06-25 17:40:44 UTC
Hello,

there is a serious bug, a strict test case, a confirmation from other distributions and a working patch.

What's the problem to apply?
Comment 6 Dale Pontius 2011-06-28 13:20:33 UTC
I'm away from the particular system at the moment where this occurs, but I see what appears to be a very similar (or the same?) fail on one of my home systems.  This particular system (amd64) is using x11-drivers/xf86-video-ati-6.14.2.  When I attempt to run "icewmbg" or "icewm-session", which runs "icewmbg" under the covers, X crashes.  Another home system is running x11-drivers/nvidia-drivers-270.41.06 and does not crash in this circumstance.

"icewmbg" is the part of the "icewm" window manager which sets the background, which is why I believe it may be related to this fail.

Ordinarily I would wait until I was at the particular system to pitch in, but since this is "waiting for confirmation" I figured I get some word in now, and later I can supply more detailed crash information.  I can also try out the patch to see if it fixes my case also.
Comment 7 Stefan Richter 2011-07-02 17:58:59 UTC
Same here with x11-base/xorg-server-1.10.2, xf86-video-ati. xorg crashes by "xv -root".
Comment 9 Stefan Richter 2011-07-11 14:14:43 UTC
x11-base/xorg-server-1.10.3 (which includes the post-1.10.2 upstream fix) works for me.
Comment 10 Roger Luethi 2011-07-25 09:07:01 UTC
I had occasional crashes switching virtual desktops on e16, ever since xorg-server 1.10.2 has been stabilized. Updating to 1.10.3 fixed the problem.

So my system is fine again, but we should really limit the exposure of users to X server crashing bugs.

Please push the patch others already suggested into 1.10.2-rX or stabilize 1.10.3 (which, of course, may introduce new bugs of its own) ASAP.
Comment 11 Pacho Ramos gentoo-dev 2011-08-05 20:46:46 UTC
*** Bug 377753 has been marked as a duplicate of this bug. ***
Comment 12 Matt Turner gentoo-dev 2017-01-26 05:44:58 UTC
Good grief we're terrible at closing bugs.