Bug 248997 - crash when closing "downloading update information" dialog
Summary: crash when closing "downloading update information" dialog
Status: RESOLVED DUPLICATE of bug 231214
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 15:22 UTC by Mathias Panzenböck
Modified: 2010-08-25 15:24 UTC (History)
1 user (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 Mathias Panzenböck 2010-08-25 15:22:12 UTC
Application: kpackagekit (0.5.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.19-163.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
It seems like this dialoge is opened using exec. This spawns a nested event loop, which ist the source of al evil. Try to avoid that and rather use callbacks. If you can'T because the used dialog does not provide a way to do that, there is a article on what kind of smartpointers to use to prevent such crashes somewhere on http://labs.trolltech.com/blogs/

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x00007fc09f0df784 in QDialog::result (this=0x2123d10) at dialogs/qdialog.cpp:438
#6  0x00000030dcc2b6a1 in KpkReviewChanges::exec(QFlags<KpkReviewChanges::OperationMode>) () from /usr/lib64/libkpackagekitlib.so
#7  0x00007fc090fcfe38 in ?? () from /usr/lib64/kde4/kcm_kpk_addrm.so
#8  0x00007fc090fd054c in ?? () from /usr/lib64/kde4/kcm_kpk_addrm.so
#9  0x00007fc0a0129606 in QMetaObject::activate (sender=0x1d79ce0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#10 0x00007fc0a0b3bf57 in KCModuleProxy::save (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/kutils/kcmoduleproxy.cpp:279
#11 0x00007fc0a0b37f48 in KCMultiDialogPrivate::apply (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/kutils/kcmultidialog.cpp:250
#12 0x00007fc0a0b3a40c in KCMultiDialog::qt_metacall (this=0x1abbfc0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff326c2ad0)
    at /usr/src/debug/kdelibs-4.4.5/x86_64-redhat-linux-gnu/kutils/kcmultidialog.moc:95
#13 0x00007fc0a0129606 in QMetaObject::activate (sender=0x1abbfc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#14 0x00007fc0a0ef4b3f in KDialog::slotButtonClicked (this=0x1abbfc0, button=8) at /usr/src/debug/kdelibs-4.4.5/kdeui/dialogs/kdialog.cpp:866
#15 0x00007fc0a0ef6552 in KDialog::qt_metacall (this=0x1abbfc0, _c=InvokeMetaMethod, _id=33, _a=0x7fff326c2ce0) at /usr/src/debug/kdelibs-4.4.5/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:190
#16 0x00007fc0a0fa8610 in KPageDialog::qt_metacall (this=0x1abbfc0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff326c2ce0)
    at /usr/src/debug/kdelibs-4.4.5/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:70
#17 0x00007fc0a0b3a320 in KCMultiDialog::qt_metacall (this=0x1abbfc0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff326c2ce0)
    at /usr/src/debug/kdelibs-4.4.5/x86_64-redhat-linux-gnu/kutils/kcmultidialog.moc:86
#18 0x00007fc0a0129606 in QMetaObject::activate (sender=0x1a57398, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff326c2ce0) at kernel/qobject.cpp:3295
#19 0x00007fc0a012ccae in QSignalMapper::mapped (this=<value optimized out>, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#20 0x00007fc0a012cd50 in QSignalMapper::map (this=0x1a57398, sender=0x1ab8010) at kernel/qsignalmapper.cpp:266
#21 0x00007fc0a012e020 in QSignalMapper::qt_metacall (this=0x1a57398, _c=InvokeMetaMethod, _id=4, _a=0x7fff326c2e70) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x00007fc0a0129606 in QMetaObject::activate (sender=0x1ab8010, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff326c2e70) at kernel/qobject.cpp:3295
#23 0x00007fc09f2953e2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x00007fc09efe47bb in QAbstractButtonPrivate::emitClicked (this=0x1af12f0) at widgets/qabstractbutton.cpp:546
#25 0x00007fc09efe5a2b in QAbstractButtonPrivate::click (this=0x1af12f0) at widgets/qabstractbutton.cpp:539
#26 0x00007fc09efe5c9c in QAbstractButton::mouseReleaseEvent (this=0x1ab8010, e=0x7fff326c37c0) at widgets/qabstractbutton.cpp:1121
#27 0x00007fc09ecaa50a in QWidget::event (this=0x1ab8010, event=0x7fff326c37c0) at kernel/qwidget.cpp:8044
#28 0x00007fc09ec5f36c in QApplicationPrivate::notify_helper (this=0x18ee5a0, receiver=0x1ab8010, e=0x7fff326c37c0) at kernel/qapplication.cpp:4306
#29 0x00007fc09ec65f0d in QApplication::notify (this=<value optimized out>, receiver=0x1ab8010, e=0x7fff326c37c0) at kernel/qapplication.cpp:3871
#30 0x00007fc0a0f74ac6 in KApplication::notify (this=0x7fff326c44c0, receiver=0x1ab8010, event=0x7fff326c37c0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#31 0x00007fc0a01169cc in QCoreApplication::notifyInternal (this=0x7fff326c44c0, receiver=0x1ab8010, event=0x7fff326c37c0) at kernel/qcoreapplication.cpp:726
#32 0x00007fc09ec650fe in sendEvent (receiver=0x1ab8010, event=0x7fff326c37c0, alienWidget=0x1ab8010, nativeWidget=0x1abbfc0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x1ab8010, event=0x7fff326c37c0, alienWidget=0x1ab8010, nativeWidget=0x1abbfc0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2971
#34 0x00007fc09ecd7195 in QETWidget::translateMouseEvent (this=0x1abbfc0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#35 0x00007fc09ecd5eb8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff326c40e0) at kernel/qapplication_x11.cpp:3513
#36 0x00007fc09ecfebb2 in x11EventSourceDispatch (s=0x18f45d0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x000000316d03923e in g_main_dispatch (context=0x18f0520) at gmain.c:1960
#38 IA__g_main_context_dispatch (context=0x18f0520) at gmain.c:2513
#39 0x000000316d03cc28 in g_main_context_iterate (context=0x18f0520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#40 0x000000316d03cd4a in IA__g_main_context_iteration (context=0x18f0520, may_block=1) at gmain.c:2654
#41 0x00007fc0a013c3f3 in QEventDispatcherGlib::processEvents (this=0x18c7c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#42 0x00007fc09ecfe86e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fc0a0115412 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fc0a01156dc in QEventLoop::exec (this=0x7fff326c4410, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007fc0a0118dab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#46 0x0000000000406082 in _start ()

Possible duplicates by query: bug 248637, bug 247866, bug 246631, bug 246072, bug 245377.

Reported using DrKonqi
Comment 1 Daniel Nicoletti 2010-08-25 15:24:56 UTC

*** This bug has been marked as a duplicate of bug 231214 ***