Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373829 - x11-base/xorg-server-1.10.2 xfce-base/xfdesktop & xfce reboot problems
Summary: x11-base/xorg-server-1.10.2 xfce-base/xfdesktop & xfce reboot problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 374199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-02 16:23 UTC by cazzantonio
Modified: 2011-11-18 16:24 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cazzantonio 2011-07-02 16:23:11 UTC
I use gdm + xfce and here is my emerge --info

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 01 Jul 2011 09:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="freedist @FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -O2 -pipe"
DISTDIR="/var/pkg/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/var/pkg/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/exclude_sync"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp_portage"
PORTDIR="/var/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dga djvu dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gdu gif gmp gnutls gpm gstreamer gtk iconv idn ieee1394 ipv6 jpeg latex lcms libnotify libsamplerate mad mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python readline session smp speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l2 vaapi vim-syntax vorbis wifi x264 xattr xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" XFCE_PLUGINS="brightness logout menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

After upgrading to x11-base/xorg-server-1.10.2 I couldn't reboot or shutdown anymore from xfce panel plugin.
I got this messages in gdm's logs:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x49f788]
1: /usr/bin/X (0x400000+0x606a9) [0x4606a9]
2: /lib64/libpthread.so.0 (0x7f8e59cee000+0xfee0) [0x7f8e59cfdee0]
3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f8e56e57000+0x25a0d) [0x7f8e56e7ca0d]
4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f8e56e57000+0x25e78) [0x7f8e56e7ce78]
5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f8e56e57000+0x25f01) [0x7f8e56e7cf01]
6: /usr/bin/X (0x400000+0xa24b0) [0x4a24b0]
7: /usr/bin/X (ChangeWindowAttributes+0x2c3) [0x454d23]
8: /usr/bin/X (0x400000+0x27a08) [0x427a08]
9: /usr/bin/X (0x400000+0x2d6d1) [0x42d6d1]
10: /usr/bin/X (0x400000+0x216de) [0x4216de]
11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f8e58c3fcdd]
12: /usr/bin/X (0x400000+0x21289) [0x421289]
Segmentation fault at address 0x10

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

After searching a bit on the internet I found out other users with similar problems and the bug seems related to xfce-base/xfdesktop-4.8.1 .
Upgrading to xfce-base/xfdesktop-4.8.2 solves the problem.

I ask you to stabilize xfce-base/xfdesktop-4.8.2 as soon as possible.

Reproducible: Always
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2011-07-03 07:36:26 UTC
We know.
4.8.2 fixed this at the cost of transparency, which is now broken.
Comment 2 Dane Smith (RETIRED) gentoo-dev 2011-07-06 12:01:07 UTC
*** Bug 374199 has been marked as a duplicate of this bug. ***
Comment 3 Justin 2011-07-13 00:25:56 UTC
It has been noted that only pseudo-transparency is broken in 4.8.2, not composite based transparency.
Here's the XFCE bug: https://bugzilla.xfce.org/show_bug.cgi?id=7442
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2011-07-13 07:51:16 UTC
(In reply to comment #3)
> It has been noted that only pseudo-transparency is broken in 4.8.2, not
> composite based transparency.
> Here's the XFCE bug: https://bugzilla.xfce.org/show_bug.cgi?id=7442

Yes, but since transparency is something users use about 100 % of the time, it is probably worse than shutdown/reboot, considering that after you get logged out, you can still shut down (or use those commands from a terminal).
FYI, I'm running xfdesktop-4.8.1 in an otherwise fully git master environment because of the reasons mentioned.
Comment 5 cazzantonio 2011-07-13 23:20:33 UTC
(In reply to comment #4)

> Yes, but since transparency is something users use about 100 % of the time, it
> is probably worse than shutdown/reboot

That's indeed a point. Still, is transparency something used by 100% of users (or some other big percentage?). Because if we are comparing eye-candies, I guess that shutdown/reboot is used really by something close to 100% of xfce users...
And I'm taking for granted that the shutdown/reboot feature can be considered an eye-candy, which is something that could get some objections.
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2011-07-14 07:48:57 UTC
Well, either way there's nothing stopping anyone from upgrading to >=4.8.2. So I'd rather keep .1 stable and .2 ~arch, makes it a bit easier to choose (~arch users can use -~arch, stable users can use ~arch to choose).
Also, upstream noted that this might actually be a problem on xorg-server's side (see upstream report), in which case .2 would introduce regressions over the otherwise working .1.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-07-14 14:27:55 UTC
(In reply to comment #6)
> Also, upstream noted that this might actually be a problem on xorg-server's
> side (see upstream report), in which case .2 would introduce regressions over
> the otherwise working .1.

The crash error looks like X server crashing to me, this is what spawned me to write this in the ebuild in the first place:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/xfce-base/xfdesktop/xfdesktop-4.8.2.ebuild?r1=1.2&r2=1.3
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2011-07-14 18:00:49 UTC
It is the server that crashes, https://bugzilla.xfce.org/show_bug.cgi?id=7442#c6 explains the problem, the big question now is if this behaviour is intended, the answer to that also answers the question if this needs to be fixed in xfdesktop or xorg-server.
Comment 9 Fab 2011-07-16 14:33:51 UTC
Confirming the crash on stable x86. But the crash only appears after upgrading dev-libs/glib from 2.28.6 to 2.28.8 (this is bug #369909).

So, current workarounds :
 - upgrade xfdesktop to 4.8.2
 - keep xfdesktop-4.8.1 but downgrade dev-libs/glib to 2.28.6.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-11-18 16:24:00 UTC
The crash is fixed by xfdesktop-4.8.2 or up. Will be stabilized in next round of Xfce stabilizations. CC yourself on the upstream bug if looking for better solution.