Bug 356583 - File open/save dialog causes segfaults in several applications
Summary: File open/save dialog causes segfaults in several applications
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-frameworkintegration
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
: 356539 356584 356588 356695 356820 356827 356840 356867 357298 357323 357327 357336 357519 357785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-13 07:44 UTC by Itzik Ephraim
Modified: 2016-01-11 18:14 UTC (History)
18 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 Itzik Ephraim 2015-12-13 07:44:43 UTC
Application: kwalletmanager5 (15.08.3)

Qt Version: 5.5.1
Operating System: Linux 4.2.6-301.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:
With my default (password-protected, of course) wallet open, I was reaching to File > Export as encrypted. Immediately the program crashes with a segfault. Trying again results in the same issue.

The crash can be reproduced every time.

-- Backtrace:
Application: Wallet Manager (kwalletmanager5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f30393d8940 (LWP 3423))]

Thread 2 (Thread 0x7f301a735700 (LWP 3442)):
#0  0x00007f3031880ffd in poll () at /lib64/libc.so.6
#1  0x00007f302e699272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f302e69aee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f301c8c7da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f30324893ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f302f38e60a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f303188ca9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f30393d8940 (LWP 3423)):
[KCrash Handler]
#5  0x00007f301c8def08 in QXcbWindow::setParent(QPlatformWindow const*) () at /lib64/libQt5XcbQpa.so.5
#6  0x00007f3032f008bb in QWindow::setParent(QWindow*) () at /lib64/libQt5Gui.so.5
#7  0x00007f30336db5d5 in QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#8  0x00007f30336e6fda in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#9  0x00007f30336e80cc in QWidget::setParent(QWidget*) () at /lib64/libQt5Widgets.so.5
#10 0x00007f30337ce11c in QDialogButtonBox::addButton(QAbstractButton*, QDialogButtonBox::ButtonRole) () at /lib64/libQt5Widgets.so.5
#11 0x00007f3019905e59 in KDEPlatformFileDialog::KDEPlatformFileDialog() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#12 0x00007f3019906282 in KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#13 0x00007f30198f92fa in KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#14 0x00007f303389d1b5 in QDialogPrivate::platformHelper() const () at /lib64/libQt5Widgets.so.5
#15 0x00007f30338b0958 in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () at /lib64/libQt5Widgets.so.5
#16 0x00007f30338b0c76 in QFileDialog::QFileDialog(QFileDialogArgs const&) () at /lib64/libQt5Widgets.so.5
#17 0x00007f30338b174e in QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () at /lib64/libQt5Widgets.so.5
#18 0x00007f30338b1a22 in QFileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) () at /lib64/libQt5Widgets.so.5
#19 0x000055d99ebb5937 in KWalletManager::exportWallets() ()
#20 0x00007f3032699177 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#21 0x00007f30336997d2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#22 0x00007f303369bc58 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#23 0x00007f303381e562 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#24 0x00007f303382482c in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#25 0x00007f3033828730 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007f30336e6428 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007f3033829173 in QMenu::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007f30336a341c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007f30336a8fe9 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#30 0x00007f303266a77b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007f30336a7ef2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#32 0x00007f3033700ced in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007f3033702f4b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007f30336a341c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007f30336a88e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007f303266a77b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#37 0x00007f3032ef9ee1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#38 0x00007f3032efbbb5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#39 0x00007f3032edf958 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#40 0x00007f301c8f90a0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#41 0x00007f302d8e9e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#42 0x00007f302d8ea1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#43 0x00007f302d8ea27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#44 0x00007f30326c0eef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#45 0x00007f3032667f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#46 0x00007f303266ffec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#47 0x000055d99ebb0b9a in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2015-12-13 13:22:31 UTC
*** Bug 356584 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2015-12-13 13:23:02 UTC
*** Bug 356539 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2015-12-13 13:23:28 UTC
*** Bug 356588 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2015-12-15 00:22:20 UTC
*** Bug 356695 has been marked as a duplicate of this bug. ***
Comment 5 Itzik Ephraim 2015-12-23 07:49:48 UTC
Hello again,
I don't mean to rush anyone, but I'm curious what is the situation with this?
This bug affects several common KDE apps on my machine (and others') - Kate, KWalletManager and Konsole, as far as I'm aware.
I would like to see it fixed soon, but I'm only asking if there's anything I/we can do to help? Is any more information needed to confirm or debug this bug? Do I have a chance to patch it myself? I've never worked on KDE's source before and only recently started to use Qt... So I doubt it.
Comment 6 Kåre Särs 2015-12-30 12:56:23 UTC
*** Bug 356820 has been marked as a duplicate of this bug. ***
Comment 7 Kåre Särs 2015-12-30 12:57:12 UTC
*** Bug 356827 has been marked as a duplicate of this bug. ***
Comment 8 Kåre Särs 2015-12-30 12:57:49 UTC
*** Bug 356867 has been marked as a duplicate of this bug. ***
Comment 9 Kåre Särs 2015-12-30 12:58:17 UTC
*** Bug 357298 has been marked as a duplicate of this bug. ***
Comment 10 Kåre Särs 2015-12-30 12:58:46 UTC
*** Bug 357327 has been marked as a duplicate of this bug. ***
Comment 11 Niklas Laxström 2015-12-31 10:42:57 UTC
Bug in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1290988

I'd like to echo the question of the reporter: what is the situation of this?

This effectively prevents me from working, as I use Kate as my main text editor. I ran into this bug today, three weeks after it has been reported with no known workaround to get back into working state. Apparently this issue is avoidable by not updating packages, but you need to know it. I guess it is because this does not affect all users and because of the holidays.

Better title could be: "File open/save dialog causes segfaults in many applications"
Comment 12 Itzik Ephraim 2015-12-31 14:35:56 UTC
I can confirm that it affects:
kate.x86_64                            15.08.3-3.fc23
konsole5.x86_64                    15.08.3-1.fc23
kwalletmanager5.x86_64      15.08.3-1.fc23

on my machine
Comment 13 David H. Gutteridge 2016-01-06 21:13:09 UTC
According to another Fedora bug report (https://bugzilla.redhat.com/show_bug.cgi?id=1291003), this appears to be an issue with QT 5.5.1. They have a test fix in updates-testing available now. (https://bodhi.fedoraproject.org/updates/FEDORA-2016-4899ebd424).
Comment 14 Itzik Ephraim 2016-01-07 11:16:15 UTC
(In reply to David H. Gutteridge from comment #13)
> According to another Fedora bug report
> (https://bugzilla.redhat.com/show_bug.cgi?id=1291003), this appears to be an
> issue with QT 5.5.1. They have a test fix in updates-testing available now.
> (https://bodhi.fedoraproject.org/updates/FEDORA-2016-4899ebd424).

Thank you David!

I confirm as well that 'qt5-qtbase' 5.5.1-10 and 5.5.1-11 (from updates-testing) do not suffer from this bug.
Comment 15 Kåre Särs 2016-01-10 22:27:06 UTC
*** Bug 357336 has been marked as a duplicate of this bug. ***
Comment 16 Kåre Särs 2016-01-10 22:27:31 UTC
*** Bug 357785 has been marked as a duplicate of this bug. ***
Comment 17 Kåre Särs 2016-01-10 22:28:12 UTC
*** Bug 357519 has been marked as a duplicate of this bug. ***
Comment 18 David Edmundson 2016-01-11 18:14:32 UTC
*** Bug 356840 has been marked as a duplicate of this bug. ***
Comment 19 David Edmundson 2016-01-11 18:14:44 UTC
*** Bug 357323 has been marked as a duplicate of this bug. ***