--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: kdelibs5: crash within Solid::Networking in case dbus is not available
- From: Thomas Mueller <thomas.mueller@tmit.eu>
- Date: Wed, 21 Apr 2010 23:26:18 +0200
- Message-id: <20100421212618.22479.80152.reportbug@localhost.localdomain>
Package: kdelibs5
Version: 4:4.3.4-3
Severity: normal
1.) sudo /etc/init.d/dbus stop
2.) kill your sessions dbus-launch process
3.) start a kde application using solid networking e.g. quassel-kde 0.6.1 - currently in sid
4.) get a stacktrace like this:
Application: Quassel IRC (quassel), signal: Segmentation fault
[KCrash Handler]
#5 QDBusPendingCallPrivate::setMetaTypes (this=0x0, count=1, types=0xbfaebcc4) at qdbuspendingcall.cpp:189
#6 0xb741b832 in QDBusPendingReplyData::setMetaTypes (this=0xbfaebccc, count=1, types=0xbfaebcc4) at qdbuspendingreply.cpp:274
#7 0xb4af1907 in QDBusPendingReply<unsigned int, void, void, void, void, void, void, void>::calculateMetaTypes (this=0x84874b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:193
#8 QDBusPendingReply<unsigned int, void, void, void, void, void, void, void>::assign (this=0x84874b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:199
#9 QDBusPendingReply<unsigned int, void, void, void, void, void, void, void>::operator= (this=0x84874b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:141
#10 QDBusPendingReply (this=0x84874b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:135
#11 OrgKdeSolidNetworkingClientInterface::status (this=0x84874b8) at ./org_kde_solid_networking_client.h:46
#12 Solid::NetworkingPrivate::initialize (this=0x84874b8) at ../../../solid/solid/networking.cpp:50
#13 0xb4af1c38 in NetworkingPrivate (this=0x84874b8) at ../../../solid/solid/networking.cpp:41
#14 0xb4af2367 in operator-> () at ../../../solid/solid/networking.cpp:29
#15 operator Solid::NetworkingPrivate* () at ../../../solid/solid/networking.cpp:29
#16 Solid::Networking::notifier () at ../../../solid/solid/networking.cpp:67
#17 0x081af9c2 in CoreConnection::init (this=0x8487b28) at /home/thomas/Development/quassel/quassel-0.6.1/src/client/coreconnection.cpp:60
#18 0x0819c9de in Client::init (this=0x848ba50) at /home/thomas/Development/quassel/quassel-0.6.1/src/client/client.cpp:154
#19 0x08075160 in QtUiApplication::init (this=0xbfaec040) at /home/thomas/Development/quassel/quassel-0.6.1/src/qtui/qtuiapplication.cpp:117
#20 0x08073bb8 in MonolithicApplication::init (this=0xbfaec040) at /home/thomas/Development/quassel/quassel-0.6.1/src/qtui/monoapplication.cpp:48
#21 0x080738fb in main (argc=) at /home/thomas/Development/quassel/quassel-0.6.1/src/common/main.cpp:138
I had a quick look into the solid networking code.
in networking.cpp lines 48+:
void Solid::NetworkingPrivate::initialize()
{
netStatus = ( Solid::Networking::Status )iface->status().value();
}
this method shall look like this:
void Solid::NetworkingPrivate::initialize()
{
if (iface->isValid())
netStatus = ( Solid::Networking::Status )iface->status().value();
}
same in lines 53+
THX alot,
Thomas
-- System Information:
Debian Release: squeeze/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages kdelibs5 depends on:
ii dbus-x11 1.2.24-1 simple interprocess messaging syst
ii debconf [debconf- 1.5.30 Debian configuration management sy
ii kdelibs-bin 4:4.3.4-3 executables for all KDE 4 core app
ii kdelibs5-data 4:4.3.4-3 core shared data for all KDE 4 app
ii libacl1 2.2.49-2 Access control list shared library
ii libaspell15 0.60.6-4 GNU Aspell spell-checker runtime l
ii libattr1 1:2.4.44-1 Extended attribute shared library
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libenchant1c2a 1.4.2-3.6 a wrapper library for various spel
ii libfam0 2.7.0-16.1 Client library to control the FAM
ii libgcc1 1:4.4.2-9 GCC support library
ii libgif4 4.1.6-9 library for GIF images (library)
ii libgssapi-krb5-2 1.8.1+dfsg-2 MIT Kerberos runtime libraries - k
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libilmbase6 1.0.1-3 several utility libraries from ILM
ii libjasper1 1.900.1-7 The JasPer JPEG-2000 runtime libra
ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG
ii liblzma2 4.999.9beta+20100307-1 XZ-format compression library
ii libopenexr6 1.6.1-4.1 runtime files for the OpenEXR imag
ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi
ii libphonon4 4:4.6.0really4.4.0-2 the core library of the Phonon mul
ii libpng12-0 1.2.43-1 PNG library - runtime
ii libqt4-dbus 4:4.6.2-4 Qt 4 D-Bus module
ii libqt4-designer 4:4.6.2-4 Qt 4 designer module
ii libqt4-network 4:4.6.2-4 Qt 4 network module
ii libqt4-qt3support 4:4.6.2-4 Qt 3 compatibility library for Qt
ii libqt4-script 4:4.6.2-4 Qt 4 script module
ii libqt4-svg 4:4.6.2-4 Qt 4 SVG module
ii libqt4-xml 4:4.6.2-4 Qt 4 XML module
ii libqtcore4 4:4.6.2-4 Qt 4 core module
ii libqtgui4 4:4.6.2-4 Qt 4 GUI module
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsoprano4 2.4.1+dfsg.1-1 libraries for the Soprano RDF fram
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii libstreamanalyzer 0.7.1-1 streamanalyzer library for Strigi
ii libutempter0 1.1.5-2 A privileged helper for utmp/wtmp
ii libx11-6 2:1.3.3-2 X11 client-side library
ii libxcursor1 1:1.1.10-2 X cursor management library
ii libxfixes3 1:4.0.4-2 X11 miscellaneous 'fixes' extensio
ii libxml2 2.7.7.dfsg-2 GNOME XML library
ii libxrender1 1:0.9.5-2 X Rendering Extension client libra
ii libxslt1.1 1.1.26-3 XSLT processing library - runtime
ii libxtst6 2:1.1.0-2 X11 Testing -- Resource extension
ii shared-mime-info 0.71-1 FreeDesktop.org shared MIME databa
ii xauth 1:1.0.4-1 X authentication utility
ii xdg-utils 1.0.2+cvs20100307-1 desktop integration utilities from
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages kdelibs5 recommends:
ii kaboom 1.1.2 The Debian KDE settings migration
ii kdebase-runtime 4:4.3.4-2 runtime components from the offici
ii ttf-dejavu 2.30-2 Metapackage to pull in ttf-dejavu-
Versions of packages kdelibs5 suggests:
pn hspell <none> (no description available)
-- debconf information excluded
--- End Message ---