Summary: | Integrated KDE file dialog crashes Qt apps [testcase] | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | David Palacio <dpalacio> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | kde |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David Palacio
2009-07-10 04:49:14 UTC
Same in OpenSuse 11.1 with kdelibs 4.3 RC2 Seems to be fixed (at least) in Opensuse 11.1 kdelibs version: 4.2.96-142.6 Sorry for writing again...but after using kde 4.3rc2 for some time the bug is back.. Cannot reproduce with Qt Designer from master and KDE from trunk (both compiled today). KDE file dialog works fine within Designer. Sorry for writing again...but I still have the bug with kde 4.3.0 final (suse rpms with 4.3.0-155). Sometimes it works, sometimes not. When I change the code to use Qts Dialogs (QFileDialog::DontUseNativeDialog) it works every time. Here is a backtrace, hope it helps: Program received signal SIGSEGV, Segmentation fault. QAbstractButton::setText (this=0x0, text=@0xbfff9a50) at widgets/qabstractbutton.h:171 171 widgets/qabstractbutton.h: No such file or directory. in widgets/qabstractbutton.h (gdb) (gdb) bt #0 QAbstractButton::setText (this=0x0, text=@0xbfff9a50) at widgets/qabstractbutton.h:171 #1 0x080eb4da in Ui_MitarbeitSchuelerWidget::retranslateUi(QWidget*) () #2 0xb686e75e in QWidget::event (this=0x875d020, event=0x86e0aa8) at kernel/qwidget.cpp:7810 #3 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x875d020, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #4 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x875d020, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #5 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x875d020, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #6 0xb686e7c7 in QWidget::event (this=0x855f638, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #7 0xb6bfec13 in QFrame::event (this=0x855f638, e=0x86e0aa8) at widgets/qframe.cpp:559 #8 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x855f638, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #9 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x855f638, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #10 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x855f638, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #11 0xb686e7c7 in QWidget::event (this=0x83952c8, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #12 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x83952c8, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #13 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x83952c8, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #14 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x83952c8, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #15 0xb686e7c7 in QWidget::event (this=0x8394e28, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #16 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x8394e28, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #17 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x8394e28, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #18 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x8394e28, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #19 0xb686e7c7 in QWidget::event (this=0x83b0810, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #20 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x83b0810, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #21 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x83b0810, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #22 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x83b0810, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #23 0xb686e7c7 in QWidget::event (this=0x83b0650, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #24 0xb6bfec13 in QFrame::event (this=0x83b0650, e=0x86e0aa8) at widgets/qframe.cpp:559 ---Type <return> to continue, or q <return> to quit--- #25 0xb6c9f8dd in QAbstractScrollArea::event (this=0x83b0650, e=0x86e0aa8) at widgets/qabstractscrollarea.cpp:918 #26 0xb6ca48bd in QScrollArea::event (this=0x83b0650, e=0x86e0aa8) at widgets/qscrollarea.cpp:314 #27 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x83b0650, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #28 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x83b0650, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #29 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x83b0650, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #30 0xb686e7c7 in QWidget::event (this=0x83b0300, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #31 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x83b0300, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #32 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x83b0300, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #33 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x83b0300, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #34 0xb686e7c7 in QWidget::event (this=0x839e680, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #35 0xb6bfec13 in QFrame::event (this=0x839e680, e=0x86e0aa8) at widgets/qframe.cpp:559 #36 0xb6c6ee64 in QStackedWidget::event (this=0x839e680, e=0x86e0aa8) at widgets/qstackedwidget.cpp:289 #37 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x839e680, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #38 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x839e680, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #39 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x839e680, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #40 0xb686e7c7 in QWidget::event (this=0x839e518, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #41 0xb6c7f953 in QTabWidget::event (this=0x839e518, ev=0x86e0aa8) at widgets/qtabwidget.cpp:1003 #42 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x839e518, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #43 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x839e518, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #44 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x839e518, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #45 0xb686e7c7 in QWidget::event (this=0x839da20, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 #46 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x839da20, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #47 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0x839da20, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #48 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x839da20, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #49 0xb686e7c7 in QWidget::event (this=0xbfffee7c, event=0x86e0aa8) at ../../src/corelib/kernel/qcoreapplication.h:213 ---Type <return> to continue, or q <return> to quit--- #50 0xb6c1c207 in QMainWindow::event (this=0xbfffee7c, event=0x86e0aa8) at widgets/qmainwindow.cpp:1399 #51 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0xbfffee7c, e=0x86e0aa8) at kernel/qapplication.cpp:4065 #52 0xb681fbd2 in QApplication::notify (this=0xbfffeef8, receiver=0xbfffee7c, e=0x86e0aa8) at kernel/qapplication.cpp:4030 #53 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0xbfffee7c, event=0x86e0aa8) at kernel/qcoreapplication.cpp:610 #54 0xb6276425 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x83165e0) at kernel/qcoreapplication.h:213 #55 0xb627661d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140 #56 0xb62a139f in postEventSourceDispatch (s=0x831c110) at kernel/qcoreapplication.h:218 #57 0xb60829c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #58 0xb6086083 in ?? () from /usr/lib/libglib-2.0.so.0 #59 0xb6086241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #60 0xb62a0fe8 in QEventDispatcherGlib::processEvents (this=0x8319980, flags={i = -1073756504}) at kernel/qeventdispatcher_glib.cpp:328 #61 0xb68b7d45 in QGuiEventDispatcherGlib::processEvents (this=0x8319980, flags={i = -1073756456}) at kernel/qguieventdispatcher_glib.cpp:202 #62 0xb6273dfa in QEventLoop::processEvents (this=0xbfffc754, flags={i = -1073756392}) at kernel/qeventloop.cpp:149 #63 0xb6274242 in QEventLoop::exec (this=0xbfffc754, flags={i = -1073756324}) at kernel/qeventloop.cpp:201 #64 0xb557b90b in KIO::NetAccess::enter_loop (this=0xbfffc7c0) at /usr/src/debug/kdelibs-4.3.0/kio/kio/netaccess.cpp:502 #65 0xb557bfcf in KIO::NetAccess::synchronousRunInternal (this=0xbfffc7c0, job=0x8b62d88, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /usr/src/debug/kdelibs-4.3.0/kio/kio/netaccess.cpp:487 #66 0xb557c681 in KIO::NetAccess::synchronousRun (job=0x8b62d88, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /usr/src/debug/kdelibs-4.3.0/kio/kio/netaccess.cpp:277 #67 0xb2061414 in KFileWidget (this=0x864b7a8, _startDir=@0xbfffcc54, parent=0xbfffcc18) at /usr/src/debug/kdelibs-4.3.0/kfile/kfilewidget.cpp:590 #68 0xb20a64bb in KFileModule::createFileWidget (this=0x86866f0, startDir=@0xbfffcc54, parent=0xbfffcc18) at /usr/src/debug/kdelibs-4.3.0/kfile/kfilemodule.cpp:36 #69 0xb55f1daf in KFileDialog (this=0xbfffcc18, startDir=@0xbfffcc54, filter=@0xbfffcc70, parent=0x8506a18, customWidget=0x0) at /usr/src/debug/kdelibs-4.3.0/kio/kfile/kfiledialog.cpp:238 #70 0xb55f6223 in KFileDialogQtOverride::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) () from /usr/lib/libkio.so.5 ---Type <return> to continue, or q <return> to quit--- #71 0xb6cfde7f in QFileDialog::getOpenFileName (parent=0x8506a18, caption=@0xbfff9968, dir=@0xbfffce58, filter=@0xbfffce54, selectedFilter=0x0, options= {i = -1073754544}) at dialogs/qfiledialog.cpp:1597 #72 0x081c3294 in StoffverteilungsSequenz2::importButtonClicked (this=0x8506a18) at stoffverteilungssequenz2.cpp:205 #73 0x08273953 in StoffverteilungsSequenz2::qt_metacall (this=0x8506a18, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfffcf9c) at release/moc_stoffverteilungssequenz2.cpp:99 #74 0xb628ae68 in QMetaObject::activate (sender=0x851cb50, from_signal_index=29, to_signal_index=30, argv=0xbfffcf9c) at kernel/qobject.cpp:3113 #75 0xb628b2a0 in QMetaObject::activate (sender=0x851cb50, m=0xb707a104, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfffcf9c) at kernel/qobject.cpp:3207 #76 0xb6e88b31 in QAbstractButton::clicked (this=0x851cb50, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #77 0xb6baf6c9 in QAbstractButtonPrivate::emitClicked (this=0x851ceb0) at widgets/qabstractbutton.cpp:543 #78 0xb6bb12c4 in QAbstractButtonPrivate::click (this=0x851ceb0) at widgets/qabstractbutton.cpp:536 #79 0xb6bb1556 in QAbstractButton::mouseReleaseEvent (this=0x851cb50, e=0xbfffd538) at widgets/qabstractbutton.cpp:1115 #80 0xb686e3f3 in QWidget::event (this=0x851cb50, event=0xbfffd538) at kernel/qwidget.cpp:7554 #81 0xb6baf56e in QAbstractButton::event (this=0x851cb50, e=0xbfffd538) at widgets/qabstractbutton.cpp:1077 #82 0xb6c5a050 in QPushButton::event (this=0x851cb50, e=0xbfffd538) at widgets/qpushbutton.cpp:662 #83 0xb68177fc in QApplicationPrivate::notify_helper (this=0x8316510, receiver=0x851cb50, e=0xbfffd538) at kernel/qapplication.cpp:4065 #84 0xb6820461 in QApplication::notify (this=0xbfffeef8, receiver=0x851cb50, e=0xbfffd538) at kernel/qapplication.cpp:3767 #85 0xb62757db in QCoreApplication::notifyInternal (this=0xbfffeef8, receiver=0x851cb50, event=0xbfffd538) at kernel/qcoreapplication.cpp:610 #86 0xb681f4ce in QApplicationPrivate::sendMouseEvent (receiver=0x851cb50, event=0xbfffd538, alienWidget=0x851cb50, nativeWidget=0xbfffee7c, buttonDown=0xb7081a40, lastMouseReceiver=@0xb7081a44) at ../../src/corelib/kernel/qcoreapplication.h:216 #87 0xb688f726 in QETWidget::translateMouseEvent (this=0xbfffee7c, event=0xbfffebcc) at kernel/qapplication_x11.cpp:4402 #88 0xb688eafd in QApplication::x11ProcessEvent (this=0xbfffeef8, event=0xbfffebcc) at kernel/qapplication_x11.cpp:3421 #89 0xb68b864a in x11EventSourceDispatch (s=0x831cc98, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #90 0xb60829c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #91 0xb6086083 in ?? () from /usr/lib/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #92 0xb6086241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #93 0xb62a0fe8 in QEventDispatcherGlib::processEvents (this=0x8319980, flags={i = -1073746552}) at kernel/qeventdispatcher_glib.cpp:328 #94 0xb68b7d45 in QGuiEventDispatcherGlib::processEvents (this=0x8319980, flags={i = -1073746504}) at kernel/qguieventdispatcher_glib.cpp:202 #95 0xb6273dfa in QEventLoop::processEvents (this=0xbfffee30, flags={i = -1073746440}) at kernel/qeventloop.cpp:149 #96 0xb6274242 in QEventLoop::exec (this=0xbfffee30, flags={i = -1073746376}) at kernel/qeventloop.cpp:201 #97 0xb62766e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #98 0xb6817677 in QApplication::exec () at kernel/qapplication.cpp:3525 #99 0x0805f4b3 in main (argc=141158488, argv=0xb636cff4) at main.cpp:19 (gdb) After creating a new user the bug has gone...just deleting the .kde4 directory was not enough...I see it also as fixed now... |