Bug #2337
With the new Actions API Kadu crashes when unloading some plugins
| Status: | Resolved | Start date: | 10/05/2011 | |
|---|---|---|---|---|
| Priority: | Urgent | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | Spent time: | 1.00 hour | |
| Target version: | 0.11.0 | |||
| Found in Git commit: | Steps to reproduce: | |||
| Fixed in Git commit: | 0f6bae0d31a75f85b756ae8dfa07a75dfe2bcf90 | Additional information: | ||
| Junior job: |
Description
With the new Actions API Kadu crashes when unloading some plugins (jabber_protocol and encryption_ng).
(gdb) bt
#0 0x0000000000b7d470 in ?? ()
#1 0x00007fffe01ba98b in EncryptionActions::~EncryptionActions (this=0x12878f0, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/plugins/encryption_ng/encryption-actions.cpp:143
#2 0x00007fffe01baa28 in EncryptionActions::~EncryptionActions (this=0x12878f0, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/plugins/encryption_ng/encryption-actions.cpp:145
#3 0x00007fffe01b9f0c in EncryptionActions::unregisterActions () at /home/beevvy/kadu-git/plugins/encryption_ng/encryption-actions.cpp:96
#4 0x00007fffe01c1a40 in EncryptionNgPlugin::done (this=0x1267db0) at /home/beevvy/kadu-git/plugins/encryption_ng/encryption-ng-plugin.cpp:75
#5 0x000000000074787c in Plugin::deactivate (this=0xb6dc20, reason=PluginDeactivationReasonUserRequest) at /home/beevvy/kadu-git/kadu-core/plugins/plugin.cpp:266
#6 0x000000000074d117 in PluginsManager::deactivatePlugin (this=0xb33d90, plugin=0xb6dc20, reason=PluginDeactivationReasonUserRequest)
at /home/beevvy/kadu-git/kadu-core/plugins/plugins-manager.cpp:568
#7 0x00000000006ecda9 in ModulesWindow::unloadItemPlugin (this=0x1582d30, itemPlugin=0xb6dc20) at /home/beevvy/kadu-git/kadu-core/gui/windows/modules-window.cpp:230
#8 0x00000000006ecca2 in ModulesWindow::moduleAction (this=0x1582d30) at /home/beevvy/kadu-git/kadu-core/gui/windows/modules-window.cpp:211
#9 0x000000000071132b in ModulesWindow::qt_metacall (this=0x1582d30, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffb5c0)
at /home/beevvy/kadu-git/build/kadu-core/gui/windows/moc_modules-window.cxx:78
#10 0x00007ffff42ecc43 in QMetaObject::activate (sender=0x17e8730, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffb5c0)
at kernel/qobject.cpp:3278
#11 0x00007ffff5d599d0 in QTreeWidget::itemDoubleClicked (this=<optimized out>, _t1=0x17fc080, _t2=0) at .moc/debug-shared/moc_qtreewidget.cpp:214
#12 0x00007ffff5d63f0b in QTreeWidget::qt_metacall (this=0x17e8730, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fffffffb6e0)
at .moc/debug-shared/moc_qtreewidget.cpp:151
#13 0x00007ffff42ecc43 in QMetaObject::activate (sender=0x17e8730, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffb6e0)
at kernel/qobject.cpp:3278
#14 0x00007ffff5cd1c35 in QAbstractItemView::doubleClicked (this=<optimized out>, _t1=<optimized out>) at .moc/debug-shared/moc_qabstractitemview.cpp:338
#15 0x00007ffff5d23a8b in QTreeView::mouseDoubleClickEvent (this=0x17e8730, event=0x7fffffffc5e0) at itemviews/qtreeview.cpp:1861
#16 0x00007ffff574f5eb in QWidget::event (this=0x17e8730, event=0x7fffffffc5e0) at kernel/qwidget.cpp:8299
#17 0x00007ffff5b94096 in QFrame::event (this=0x17e8730, e=0x7fffffffc5e0) at widgets/qframe.cpp:557
#18 0x00007ffff5ccf15b in QAbstractItemView::viewportEvent (this=0x17e8730, event=0x7fffffffc5e0) at itemviews/qabstractitemview.cpp:1628
#19 0x00007ffff5d1eca3 in QTreeView::viewportEvent (this=0x17e8730, event=0x7fffffffc5e0) at itemviews/qtreeview.cpp:1256
#20 0x00007ffff42d4d27 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x17b3480, event=0x7fffffffc5e0)
at kernel/qcoreapplication.cpp:902
#21 0x00007ffff56ef1b9 in QApplicationPrivate::notify_helper (this=0xaa90b0, receiver=0x17b3480, e=0x7fffffffc5e0) at kernel/qapplication.cpp:4477
#22 0x00007ffff56f54bc in QApplication::notify (this=<optimized out>, receiver=0x17b3480, e=0x7fffffffc5e0) at kernel/qapplication.cpp:4042
#23 0x00007ffff42d4b9c in QCoreApplication::notifyInternal (this=0xaa8bf0, receiver=0x17b3480, event=0x7fffffffc5e0) at kernel/qcoreapplication.cpp:787
#24 0x00007ffff56f0694 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QApplicationPrivate::sendMouseEvent (receiver=0x17b3480, event=0x7fffffffc5e0, alienWidget=0x17b3480, nativeWidget=0x1582d30, buttonDown=0x7ffff6312278,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#26 0x00007ffff5781ad0 in QETWidget::translateMouseEvent (this=0x1582d30, event=<optimized out>) at kernel/qapplication_x11.cpp:4461
#27 0x00007ffff5780309 in QApplication::x11ProcessEvent (this=0xaa8bf0, event=0x7fffffffcd90) at kernel/qapplication_x11.cpp:3587
#28 0x00007ffff57abc92 in x11EventSourceDispatch (s=0xaae0e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007ffff1b5e36f in g_main_dispatch (context=0xaac5e0) at gmain.c:2441
#30 g_main_context_dispatch (context=0xaac5e0) at gmain.c:3011
#31 0x00007ffff1b5eb78 in g_main_context_iterate (context=0xaac5e0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#32 0x00007ffff1b5ed51 in g_main_context_iteration (context=0xaac5e0, may_block=1) at gmain.c:3152
#33 0x00007ffff430558b in QEventDispatcherGlib::processEvents (this=0xaaa650, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007ffff57ab92e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007ffff42d34d0 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007ffff42d3734 in QEventLoop::exec (this=0x7fffffffd090, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007ffff42d947b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x0000000000586474 in main (argc=1, argv=0x7fffffffdc28) at /home/beevvy/kadu-git/kadu-core/main.cpp:426
Related issues
History
Updated by Rafał Malinowski over 1 year ago
- Status changed from New to In Progress
- Assignee set to Rafał Malinowski
Updated by Rafał Malinowski over 1 year ago
- Status changed from In Progress to Resolved
- Fixed in Git commit set to 0f6bae0d31a75f85b756ae8dfa07a75dfe2bcf90
Fixed
Updated by Rafał Malinowski over 1 year ago
- % Done changed from 0 to 100