Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478532 - gnome-base/gnome-shell-3.8.3-r2 segfaults in libdbus-1.so.3.7.4
Summary: gnome-base/gnome-shell-3.8.3-r2 segfaults in libdbus-1.so.3.7.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 05:00 UTC by André Terpstra
Modified: 2013-08-02 18:58 UTC (History)
0 users

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 André Terpstra 2013-07-29 05:00:36 UTC
Gnome 3.8 (just after an upgrade) has not started at all because of this problem

Reproducible: Always




TitanGentoo2 ~ # emerge --info
Portage 2.1.13.1 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.10.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.3-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:    16439724 total,  14345400 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 29 Jul 2013 04:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.leaseweb.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 asyncns avahi berkdb bluetooth bluray branding bzip2 cairo caps cdda cli cracklib crypt cxx dbus declarative device-mapper dri exif fat fortran gallium gdbm gif glib gnome gphoto2 gpm gstreamer gtk gtk3 iconv icu ipv6 jack java jpeg kde lirc mmx mng modules mp3 mudflap ncurses nls nptl ntfs ntfsprogs nvidia ogg opengl openmp orc pam pcre pdf png policykit pulseaudio python qt3support qt4 readline realtime semantic-desktop session sql sse sse2 ssl startup-notification svg systemd tcpd test threads tiff truetype udev unicode upnp vaapi vdpau vorbis webkit wmf xcomposite xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="nl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 André Terpstra 2013-07-29 05:02:32 UTC
error message from dmesg:
[  733.785407] gnome-shell[25834]: segfault at fffffffffffffff8 ip 00007f002a66ed25 sp 00007fff8ca63188 error 7 in libdbus-1.so.3.7.4[7f002a647000+3e000]
[  734.514297] gnome-shell[25869]: segfault at fffffffffffffff8 ip 00007fae18b55d25 sp 00007fff272303f8 error 7 in libdbus-1.so.3.7.4[7fae18b2e000+3e000]

USE flag settings:

TitanGentoo2 ~ # emerge -pv1 dbus   

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/dbus-1.6.12  USE="X systemd -debug -doc (-selinux) -static-libs {-test}" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
TitanGentoo2 ~ # emerge -pv1 gnome-shell

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] gnome-base/gnome-shell-3.8.3-r2  USE="bluetooth i18n networkmanager" PYTHON_TARGETS="python2_7 -python2_6" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-29 05:30:30 UTC
Unfortunately, the dmesg output is not enough to diagnose the crash.

Please rebuild dbus, glib, gjs, gobject-introspection, and gnome-shell with debugging flags (-ggdb in CFLAGS and splitdebug in FEATURES, see http://www.gentoo.org/proj/en/qa/backtraces.xml) and obtain a detailed backtrace of the crash using app-admin/abrt.

(To use abrt, you will need to first start abrtd.service and abrt-ccpp.service using systemctl, then make gnome-shell crash, and then obtain a backtrace using abrt-gui or abrt-cli.)
Comment 3 André Terpstra 2013-07-29 08:17:41 UTC
(In reply to Alexandre Rostovtsev from comment #2)
> ...

Wow I were able to do that maybe I could solve the problem also?
Comment 4 André Terpstra 2013-07-29 08:34:05 UTC
Upon reading my last post, I do not mean to be impolite of course or question the need for this information. It is just not easy to do and at least takes a lot of time. I'm beginning to feel maybe I should have postponed the system / gnome 3.8 migration...
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-29 12:51:24 UTC
(In reply to André Terpstra from comment #3)

You have informed us that a segmentation fault occurred somewhere in libdbus-1.so.3.7.4.

I appreciate that this is ruining your day and preventing you from using your computer. But put yourself in our shoes: how do you think we could use the information you provided to fix the problem?

libdbus contains hundreds of functions. We don't know in which one the crash happened. We don't know where in that function the crash happened. We don't know through what sequence of calls did gnome-shell end up calling that function with a (presumably) invalid pointer argument which made libdbus crash.

And gnome-shell is written mostly in javascript; it won't be calling libdbus directly. The call sequence was probably something like gnome-shell → gjs → gobject-introspection → glib → libdbus, maybe with a dozen or two extra steps in the middle. Was it one of the intermediate steps that introduced the error? Maybe we should be looking for a bug in gjs, or in glib? At the moment, we don't know.

Therefore, unless you or someone else who is suffering from the same crash (I have not experienced it on my machine) provides us with a debugging backtrace, we cannot even begin to look for a solution to the bug.
Comment 6 André Terpstra 2013-07-30 19:14:38 UTC
Thank you for your explanation.

I would probably have tried -maybe later- to assemble all necessary information, but the bug has vanished since today's world update :)

Bug may be closed.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-08-02 18:58:47 UTC
It may very well be that your tried to log into gnome without restarting dbus or rebooting your system after switching the systemd use flag ?