[Bug 293731] New: NetworkManagement plasmoid causes kded4 crashes when activating network

Raymond Wooninck tittiatcoke at gmail.com
Thu Feb 9 17:14:40 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=293731

           Summary: NetworkManagement plasmoid causes kded4 crashes when
                    activating network
           Product: kdelibs
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: kded
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: tittiatcoke at gmail.com


Application: kded4 ($Id$)
KDE Platform Version: 4.8.00 (4.8.0) "release 54"
Qt Version: 4.8.0
Operating System: Linux 3.3.0-rc2-1-desktop x86_64
Distribution: "openSUSE 12.2 Milestone 0 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I have compiled and  installed KDE, libnm-qt, libmm-qt and networkmanagement
from git master. After a reboot of the system, kded4 constantly crashes when I
try to activate a network connection. Also the network connection itself is not
being activated.  Only connections that have the AutoConnect active, will
connect without issues. 

I did some investigations and could trace it back that the following commits
are causing the issue :
libnm-qt :  Revision c8e97a42: Provides asynchronous API for
NetworkManager::activateConnection (from 8 January 2012, together with the
commit from 10 January)
networkmanagement:  Revision 80a76c89: Use QtNetworkManager to activate
connections. (from 8 January 2012). 

I already had connect with Lamarque about this before and he indicated that
with Qt 4.7.4 everything works as it should be. However it seems the opposite
when using Qt 4.8. So most likely something inside these two commits are
causing the kded4 crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe7453f7780 (LWP 3625))]

Thread 2 (Thread 0x7fe7213b5700 (LWP 3633)):
#0  0x00007fe744d50763 in poll () from /lib64/libc.so.6
#1  0x00007fe73f29cc46 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe73f29cd74 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fe7438348e6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#4  0x00007fe743804682 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#5  0x00007fe7438048d7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#6  0x00007fe7437054e7 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fe7437e448f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fe74370850b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fe7406fcdaa in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe744d5867d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe7453f7780 (LWP 3625)):
[KCrash Handler]
#6  deref (this=0x7fe71c48d460) at ../../src/corelib/arch/qatomic_x86_64.h:133
#7  ~QExplicitlySharedDataPointer (this=0x7fffccff57f0, __in_chrg=<optimized
out>) at ../../src/corelib/tools/qshareddata.h:166
#8  QDBusPendingCall::~QDBusPendingCall (this=<optimized out>,
__in_chrg=<optimized out>) at qdbuspendingcall.cpp:271
#9  0x00007fe71c4cbd16 in ~QDBusPendingReply (this=0x7fffccff57f0,
__in_chrg=<optimized out>) at /usr/include/QtDBus/qdbuspendingreply.h:115
#10 NMDBusSettingsConnectionProvider::interfaceConnectionActivated
(this=0x9faee0) at
/sources/KDE-GIT/networkmanagement/backends/NetworkManager/nmdbussettingsconnectionprovider.cpp:297
#11 0x00007fe743819761 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007fe71c94f327 in Knm::Activatable::activate (this=0xcac070) at
/sources/KDE-GIT/networkmanagement/libs/internals/activatable.cpp:80
#13 0x00007fe71c71892d in qt_static_metacall (_a=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at
/sources/KDE-GIT/networkmanagement/build/libs/service/activatableadaptor.moc:92
#14 ActivatableAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized
out>, _id=<optimized out>, _a=<optimized out>) at
/sources/KDE-GIT/networkmanagement/build/libs/service/activatableadaptor.moc:81
#15 0x00007fe71c718a77 in ActivatableAdaptor::qt_metacall (this=0xcab4f0,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffccff5b60) at
/sources/KDE-GIT/networkmanagement/build/libs/service/activatableadaptor.moc:135
#16 0x00007fe743b81f6b in QDBusConnectionPrivate::deliverCall (this=0x628140,
object=0xcab4f0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:947
#17 0x00007fe743b8307d in QDBusConnectionPrivate::activateCall (this=0x628140,
object=0xcab4f0, flags=273, msg=...) at qdbusintegrator.cpp:850
#18 0x00007fe743b83a9b in QDBusConnectionPrivate::activateObject
(this=0x628140, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1423
#19 0x00007fe743b83b8b in QDBusActivateObjectEvent::placeMetaCall
(this=0xc60790) at qdbusintegrator.cpp:1537
#20 0x00007fe74381e926 in QObject::event(QEvent*) () from
/usr/lib64/libQtCore.so.4
#21 0x00007fe742b8aee4 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#22 0x00007fe742b8fd63 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#23 0x00007fe744501816 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#24 0x00007fe74380589c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#25 0x00007fe74380913a in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#26 0x00007fe743834453 in ?? () from /usr/lib64/libQtCore.so.4
#27 0x00007fe73f29c8ea in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007fe73f29ccb0 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fe73f29cd74 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#30 0x00007fe74383487f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#31 0x00007fe742c2e33e in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007fe743804682 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#33 0x00007fe7438048d7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#34 0x00007fe743809435 in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#35 0x00007fe745021495 in kdemain () from /usr/lib64/libkdeinit4_kded4.so
#36 0x00007fe744c973bd in __libc_start_main () from /lib64/libc.so.6
#37 0x0000000000400681 in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list