Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338322 - kde-base/systemsettings-4.4.5 segfaults when opening Desktop settings group whilst using binary x11-drivers/ati-drivers-10.8
Summary: kde-base/systemsettings-4.4.5 segfaults when opening Desktop settings group ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 01:19 UTC by Tom Green
Modified: 2011-05-09 20:44 UTC (History)
2 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 Tom Green 2010-09-22 01:19:36 UTC
Every time I try to open the Desktop settings group in KDE's systemsettings util, I get a segfault.

If I switch to using the open radeon driver, the segfault goes away and I can open System Settings/Desktop every time:
emerge xf86-video-ati
edit xorg.conf, change driver to radeon
eselect opengl set xorg-x11
/etc/init.d/xdm restart
Log into KDE, open System Settings > Desktop, all good.

Reproducible: Always

Steps to Reproduce:
1.emerge ati-drivers, set driver to ati in xorg.conf
2.eselect set opengl ati, start X, log
3.Run KDE System Settings
4.Click the Desktop icon

Actual Results:  
The Desktop settings window flashes on-screen for a second, then disappears and the KDE Crash Handling assistant launches.

Expected Results:  
Desktop system settings window should show.

I have run revdep-rebuild twice, no reported problems.

I added FEATURES="splitdebug" and CFLAGS="-O2 -march=i686 -pipe -ggdb" in /etc/make.conf, re-emerged world

The KDE crash handler produced the below partial stack trace, which fails because of the binary ATI driver but which gave me the hint to try the OS radeon driver:
[to come, when I can edit this from the box in question and paste in.]
emerge --info
[to come, as above]

Other programs running: Dolphin, Konsole.
Computer: HP nw8440 notebook with Radeon M56P (Mobility X1600) graphics chipset.
Comment 1 Tom Green 2010-09-22 01:23:53 UTC
emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 19 Sep 2010 23:30:20 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.4-r13, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.1, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en_US"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cifs cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg kde lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl pmu png ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session spell sql ssl startup-notification svg swat sysfs tcpd tiff truetype unicode usb vorbis webkit x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv radeon vesa" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Tom Green 2010-09-22 01:28:40 UTC
KDE Crash Handler output:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0xb347a0cc in XF86DRIQueryExtension () from /usr/lib/opengl/ati/lib/libGL.so.1
#7  0x00000088 in ?? ()
#8  0xb6241e47 in xgeExtRegister (dpy=0xbfb84f98, offset=264263049, callbacks=0x7a187) at Xge.c:312
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 3 Enrico Tagliavini 2010-10-04 10:49:43 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1.emerge ati-drivers, set driver to ati in xorg.conf

I guess you mean "set driver to fglrx in xorg.conf" here. Can you try with ati-drivers-10.9-r1 to see if it makes any difference? It works here with that version (didn't remeber if i ever used it with 10.8). 
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-11-14 14:23:59 UTC
an ati-drivers problem obviously...
Comment 5 Enrico Tagliavini 2010-11-14 15:47:35 UTC
Dunno to be honest. it is a veru strange problem. i used ati-drivers for about an year with various version of kde..... never had this problem
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-03-31 19:42:16 UTC
Do you have any better luck with a more recent kde? I.e. 4.6.1 or 4.6.2 (out soon)?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-05-09 20:44:01 UTC
No reply, and kde-4.4 will go away soon...