Bug 356786 - KWrite crashes attempting Open, from menu or toolbar.
Summary: KWrite crashes attempting Open, from menu or toolbar.
Status: RESOLVED DUPLICATE of bug 356840
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-16 17:45 UTC by aschmidt
Modified: 2016-01-07 10:48 UTC (History)
3 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 aschmidt 2015-12-16 17:45:05 UTC
Application: kwrite (15.08.1)

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:
This may be related to Bug 356735, except in my case, File | Open does not help.

Things that may or may not be related:
* The directory I was in at the time is part of an NFS exported volume

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa696b94900 (LWP 3736))]

Thread 2 (Thread 0x7fa677956700 (LWP 3737)):
#0  0x00007fa68f9b8ffd in poll () at /lib64/libc.so.6
#1  0x00007fa687ff6272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fa687ff7ee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fa67a322da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fa6905c13ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fa68d71260a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa68f9c4a9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fa696b94900 (LWP 3736)):
[KCrash Handler]
#5  0x00007fa67a339f08 in QXcbWindow::setParent(QPlatformWindow const*) () at /lib64/libQt5XcbQpa.so.5
#6  0x00007fa6913a88bb in QWindow::setParent(QWindow*) () at /lib64/libQt5Gui.so.5
#7  0x00007fa691b835d5 in QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#8  0x00007fa691b8efda in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#9  0x00007fa691b900cc in QWidget::setParent(QWidget*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fa691c7611c in QDialogButtonBox::addButton(QAbstractButton*, QDialogButtonBox::ButtonRole) () at /lib64/libQt5Widgets.so.5
#11 0x00007fa676b26e59 in KDEPlatformFileDialog::KDEPlatformFileDialog() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#12 0x00007fa676b27282 in KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#13 0x00007fa676b1a2fa in KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#14 0x00007fa691d451b5 in QDialogPrivate::platformHelper() const () at /lib64/libQt5Widgets.so.5
#15 0x00007fa691d58958 in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () at /lib64/libQt5Widgets.so.5
#16 0x00007fa691d58c76 in QFileDialog::QFileDialog(QFileDialogArgs const&) () at /lib64/libQt5Widgets.so.5
#17 0x00007fa691d5922e in QFileDialog::getOpenFileUrls(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () at /lib64/libQt5Widgets.so.5
#18 0x00007fa6968886ed in KWrite::slotOpen() () at /lib64/libkdeinit5_kwrite.so
#19 0x00007fa6907d12ea in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007fa691b417d2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#21 0x00007fa691b43c58 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#22 0x00007fa691c49b80 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#23 0x00007fa691c49cb4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007fa691d0e96a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007fa691b8e428 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007fa691d0ea49 in QToolButton::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007fa691b4b41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007fa691b50fe9 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007fa6907a277b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#30 0x00007fa691b4fef2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#31 0x00007fa691ba898b in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007fa691baaf4b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007fa691b4b41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007fa691b508e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007fa6907a277b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#36 0x00007fa6913a1ee1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#37 0x00007fa6913a3bb5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#38 0x00007fa691387958 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#39 0x00007fa67a3540a0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#40 0x00007fa68c138e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#41 0x00007fa68c1391d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#42 0x00007fa68c13927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#43 0x00007fa6907f8eef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#44 0x00007fa69079ff0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#45 0x00007fa6907a7fec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#46 0x00007fa696883465 in kdemain () at /lib64/libkdeinit5_kwrite.so
#47 0x00007fa68f8e2580 in __libc_start_main () at /lib64/libc.so.6
#48 0x0000559ee0522b19 in _start ()

Possible duplicates by query: bug 356735, bug 356718, bug 356588, bug 356539.

Reported using DrKonqi
Comment 1 Kåre Särs 2015-12-17 13:05:17 UTC
Are you by chance using Compiz as window manager? 

There seems to be a problem with Compiz and KDE applications at the moment:

https://git.reviewboard.kde.org/r/126397/
Comment 2 aschmidt 2015-12-17 15:59:20 UTC
I'm using kwin + nouveau + 2 monitors + GeForce 8400 GS Rev. 2 + Fedora 23.

I'm aware that some applications (xpra, for example) blacklist nouveau.

I unchecked "Enable compositor on startup," then logged in again, and clicking "Open" in the toolbar worked!

I had been actually having tearing problems, so my compositor settings were using:

Open GL 2.0
GLX
Full screen repaints
Comment 3 Gérald Hameau 2015-12-17 21:11:11 UTC
I have this crash, and more. They always involve file dialog.

kwrite or kate :
- open = crash
- save as = crash. With or without content.

I can open file through dolphin, and then save them, with both applications (eg: click on a file in dolphin, and open it with kwrite or kate... or use a previous kate session).


fedora 22, with recent kde 5.5.0 update.
Both kf5 5.16 & 5.17
window manager = kwin
compositor = opengl 2.0, or 3.1, glx, on intel chipset (laptop, with nvidia secondary chip. Not active)
Comment 4 aschmidt 2015-12-17 21:54:19 UTC
There was a large swath up updates to kde files in F23 this morning.

Lo, opening from the toolbar has worked for me twice with compositing on (having it work with compositing off worked before the update).

One of the packages updated was indeed kwrite (qt5-qtbase-gui was not updated -- alas, "dnf history info last" gives me nothing, since I was stupid and allowed packagekit to do the update, and my ability to read the backtrace is limited as far as what to look at as a likely failure candidate).
Comment 5 Maarten 2016-01-05 12:41:14 UTC
happens to me regularly on up-to-date F23. 'Open recent' causes no crashes.
Comment 6 Kåre Särs 2016-01-05 13:21:08 UTC
even if this might be older...

*** This bug has been marked as a duplicate of bug 356840 ***
Comment 7 Maarten 2016-01-06 14:42:43 UTC
(In reply to Kåre Särs from comment #6)
> even if this might be older...
> 
> *** This bug has been marked as a duplicate of bug 356840 ***

I see no 'open' button when following the instructions of bug 35684, so cannot test if this causes the same behaviour. Am using KDE.
Comment 8 Gérald Hameau 2016-01-06 20:37:30 UTC
Problem solved, on fedora 22, with today kf5 5.18 update.
Comment 9 Maarten 2016-01-07 10:48:08 UTC
(In reply to Gérald Hameau from comment #8)
> Problem solved, on fedora 22, with today kf5 5.18 update.

problem still persists here with latest kf5