Bug 256662 - Crash report when resuming from Suspend To RAM [QMetaObject::cast, qobject_cast, ..., qSort, SortedActivatableList::handleUpdate, ActivatableList::activatableChanged]
Summary: Crash report when resuming from Suspend To RAM [QMetaObject::cast, qobject_ca...
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
: 256676 267287 269092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-12 09:51 UTC by Julian G
Modified: 2011-06-06 23:39 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian G 2010-11-12 09:51:01 UTC
Application: kded4 ($Id: kded.cpp 1156841 2010-07-29 19:59:05Z zander $)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Reactivating Laptop up after suspend to ram. Crash report opens nearly everytime.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE-Dienst (kded4), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000047ffffff7 in ?? ()
#7  0x000000370cb615d9 in QMetaObject::cast (this=0x3a61a38d80, obj=0x250b7e0) at kernel/qmetaobject.cpp:266
#8  0x00007f5c0b2e963a in qobject_cast<Knm::InterfaceConnection const*> (first=0x250b7e0, second=0x23f4570) at /usr/include/QtCore/qobject.h:468
#9  activatableLessThan (first=0x250b7e0, second=0x23f4570) at /usr/src/debug/networkmanagement-0.9/libs/service/sortedactivatablelist.cpp:184
#10 0x00007f5c0b2ea0ca in void QAlgorithmsPrivate::qSortHelper<QList<Knm::Activatable*>::iterator, Knm::Activatable*, bool (*)(Knm::Activatable const*, Knm::Activatable const*)>(QList<Knm::Activatable*>::iterator, QList<Knm::Activatable*>::iterator, Knm::Activatable* const&, bool (*)(Knm::Activatable const*, Knm::Activatable const*)) () from /usr/lib64/libknmservice.so.4
#11 0x00007f5c0b2e99e8 in qSort<QList<Knm::Activatable*>::iterator, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (this=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:187
#12 SortedActivatableList::handleUpdate (this=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/libs/service/sortedactivatablelist.cpp:105
#13 0x00007f5c0b2da613 in ActivatableList::activatableChanged (this=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/libs/service/activatablelist.cpp:144
#14 0x00007f5c0b2d5f98 in ActivatableList::qt_metacall (this=0x2427040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4b4e750) at /usr/src/debug/networkmanagement-0.9/x86_64-redhat-linux-gnu/libs/service/moc_activatablelist.cpp:74
#15 0x000000370cb7002f in QMetaObject::activate (sender=0x23e0e90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#16 0x0000003a618278f1 in Knm::InterfaceConnection::setActivationState (this=0x23e0e90, state=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/libs/internals/interfaceconnection.cpp:82
#17 0x00007f5c0b0b199d in NMDBusActiveConnectionProxy::~NMDBusActiveConnectionProxy (this=0x246e9b0, __in_chrg=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:58
#18 0x00007f5c0b0b19c9 in NMDBusActiveConnectionProxy::~NMDBusActiveConnectionProxy (this=0x246e9b0, __in_chrg=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:60
#19 0x00007f5c0b0b3be7 in qDeleteAll<QHash<QString, NMDBusActiveConnectionProxy*>::const_iterator> (begin=<value optimized out>, end=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#20 0x00007f5c0b0b2306 in qDeleteAll<QHash<QString, NMDBusActiveConnectionProxy*> > (this=<value optimized out>, status=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#21 NMDBusActiveConnectionMonitor::networkingStatusChanged (this=<value optimized out>, status=<value optimized out>) at /usr/src/debug/networkmanagement-0.9/backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:246
#22 0x00007f5c0b0890e0 in NMDBusActiveConnectionMonitor::qt_metacall (this=0x244ae80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4b4e910) at /usr/src/debug/networkmanagement-0.9/x86_64-redhat-linux-gnu/backends/NetworkManager/moc_nmdbusactiveconnectionmonitor.cpp:78
#23 0x000000370cb7002f in QMetaObject::activate (sender=0x242d4a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd4b4e910) at kernel/qobject.cpp:3272
#24 0x0000003a62219b6e in Solid::Control::NetworkManager::Notifier::statusChanged (this=<value optimized out>, _t1=Solid::Networking::Unknown) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/libs/solid/control/networkmanager.moc:103
#25 0x0000003a62219de3 in Solid::Control::NetworkManager::Notifier::qt_metacall (this=0x242d4a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4b4ea60) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/libs/solid/control/networkmanager.moc:85
#26 0x0000003a6221a190 in Solid::Control::NetworkManagerPrivate::qt_metacall (this=0x242d4a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4b4ea60) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/libs/solid/control/networkmanager_p.moc:76
#27 0x000000370cb7002f in QMetaObject::activate (sender=0x242fcc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd4b4ea60) at kernel/qobject.cpp:3272
#28 0x0000003719008c7e in Solid::Control::Ifaces::NetworkManager::statusChanged (this=<value optimized out>, _t1=Solid::Networking::Unknown) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/libs/solid/control/ifaces/networkmanager.moc:111
#29 0x00007f5c0abf8abb in NMNetworkManager::qt_metacall (this=0x242fcc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4b4ebb0) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/solid/networkmanager-0.7/manager.moc:97
#30 0x000000370cb7002f in QMetaObject::activate (sender=0x24109c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd4b4ebb0) at kernel/qobject.cpp:3272
#31 0x00007f5c0ac01e11 in OrgFreedesktopNetworkManagerInterface::StateChanged (this=<value optimized out>, _t1=1) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/solid/networkmanager-0.7/nm-manager-clientinterface.moc:182
#32 0x00007f5c0ac0220e in OrgFreedesktopNetworkManagerInterface::qt_metacall (this=0x24109c0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffd4b4f040) at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/solid/networkmanager-0.7/nm-manager-clientinterface.moc:108
#33 0x000000370d820358 in QDBusConnectionPrivate::deliverCall (this=0x24248e0, object=0x24109c0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:919
#34 0x000000370d82b21f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#35 0x000000370cb6fb2a in QObject::event (this=0x24109c0, e=<value optimized out>) at kernel/qobject.cpp:1211
#36 0x0000003fe4db4b64 in QApplicationPrivate::notify_helper (this=0x22e4080, receiver=0x24109c0, e=0x231d7d0) at kernel/qapplication.cpp:4396
#37 0x0000003fe4db95da in QApplication::notify (this=<value optimized out>, receiver=0x24109c0, e=0x231d7d0) at kernel/qapplication.cpp:4277
#38 0x0000003fe5c20416 in KApplication::notify (this=0x7fffd4b4fb10, receiver=0x24109c0, event=0x231d7d0) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#39 0x000000370cb5b7ac in QCoreApplication::notifyInternal (this=0x7fffd4b4fb10, receiver=0x24109c0, event=0x231d7d0) at kernel/qcoreapplication.cpp:732
#40 0x000000370cb5ef55 in sendEvent (receiver=0x0, event_type=0, data=0x22bb5f0) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22bb5f0) at kernel/qcoreapplication.cpp:1373
#42 0x000000370cb86713 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#44 0x0000003703e41e33 in g_main_dispatch (context=0x22e69f0) at gmain.c:2149
#45 g_main_context_dispatch (context=0x22e69f0) at gmain.c:2702
#46 0x0000003703e42610 in g_main_context_iterate (context=0x22e69f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#47 0x0000003703e428ad in g_main_context_iteration (context=0x22e69f0, may_block=1) at gmain.c:2843
#48 0x000000370cb868af in QEventDispatcherGlib::processEvents (this=0x22bace0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#49 0x0000003fe4e586ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x000000370cb5ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x000000370cb5ad8c in QEventLoop::exec (this=0x7fffd4b4fa60, flags=...) at kernel/qeventloop.cpp:201
#52 0x000000370cb5f20b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#53 0x0000003a610081a7 in kdemain (argc=1, argv=0x7fffd4b4fed8) at /usr/src/debug/kdelibs-4.5.2/kded/kded.cpp:894
#54 0x0000003701e1ee7d in __libc_start_main (main=0x400810 <main(int, char**)>, argc=1, ubp_av=0x7fffd4b4fed8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffd4b4fec8) at libc-start.c:226
#55 0x0000000000400739 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 01:02:22 UTC
[Comment from a bug triager]
This is likely to be related with bug 210878, but the backtrace looks a bit different.
Thanks
Comment 2 Dario Andres 2010-11-18 01:02:32 UTC
*** Bug 256676 has been marked as a duplicate of this bug. ***
Comment 3 Frank Reininghaus 2011-02-28 11:00:35 UTC
*** Bug 267287 has been marked as a duplicate of this bug. ***
Comment 4 Lamarque V. Souza 2011-03-22 05:35:03 UTC
*** Bug 269092 has been marked as a duplicate of this bug. ***
Comment 5 Ralf Jung 2011-04-04 21:04:24 UTC
The same or a very similar crash is occuring when restarting network-manager. To make things even worse and absolutely annoying, the crash is irrecoverable: When I start "kded4" via console, it tells me it's already running. But keyboard shortcuts do not work. So I have to *reboot my PC* (logging off and on did not suffice) to fix this.
Comment 6 Lamarque V. Souza 2011-06-02 20:32:16 UTC
I am not able to reproduce this bug in a recent Plasma NM snapshot, can you? Some distributions shipps outdated Plasma NM snapshot. When testing make sure it is recent Plasma NM snapshot. If you cannot assure that then it is better clone networkmanagement repository and compile Plasma NM yourself:

git clone git://anongit.kde.org/netwokmanagement
mkdir networkmanagement/build
cd networkmanagement/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install
Comment 7 Julian G 2011-06-06 23:33:15 UTC
I'm using KDE 4.6.3 on Fedora 15 now, no further crash reports so far.
Comment 8 Lamarque V. Souza 2011-06-06 23:39:42 UTC
Marking as fixed, reopen if someone can reproduce this bug.