Bug 356820 - Open Filename in Kate causes crash
Summary: Open Filename in Kate causes crash
Status: RESOLVED DUPLICATE of bug 356583
Alias: None
Product: kate
Classification: Applications
Component: general (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-17 10:47 UTC by John Barnes
Modified: 2015-12-30 12:56 UTC (History)
2 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 John Barnes 2015-12-17 10:47:21 UTC
Application: kate (15.08.1)

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

-- Information about the crash:
Click File --> Open. 
This happens on most occasions. Sometimes the open file dialogue opens successfully, but usually get the segmentation fault error

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fecbeba2900 (LWP 2808))]

Thread 2 (Thread 0x7fec9f8d0700 (LWP 2814)):
#0  0x00007fecb74c6ffd in poll () at /lib64/libc.so.6
#1  0x00007fecb43db272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fecb43dcee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007feca229cda9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fecb80cf3ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fecb568b60a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fecb74d2a9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fecbeba2900 (LWP 2808)):
[KCrash Handler]
#5  0x00007feca22b3f08 in QXcbWindow::setParent(QPlatformWindow const*) () at /lib64/libQt5XcbQpa.so.5
#6  0x00007fecb914d8bb in QWindow::setParent(QWindow*) () at /lib64/libQt5Gui.so.5
#7  0x00007fecb99285d5 in QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#8  0x00007fecb9933fda in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#9  0x00007fecb99350cc in QWidget::setParent(QWidget*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fecb9a1b11c in QDialogButtonBox::addButton(QAbstractButton*, QDialogButtonBox::ButtonRole) () at /lib64/libQt5Widgets.so.5
#11 0x00007fec9eaa0e59 in KDEPlatformFileDialog::KDEPlatformFileDialog() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#12 0x00007fec9eaa1282 in KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#13 0x00007fec9ea942fa in KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#14 0x00007fecb9aea1b5 in QDialogPrivate::platformHelper() const () at /lib64/libQt5Widgets.so.5
#15 0x00007fecb9afd958 in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () at /lib64/libQt5Widgets.so.5
#16 0x00007fecb9afdc76 in QFileDialog::QFileDialog(QFileDialogArgs const&) () at /lib64/libQt5Widgets.so.5
#17 0x00007fecb9afe22e in QFileDialog::getOpenFileUrls(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () at /lib64/libQt5Widgets.so.5
#18 0x00007fecbe848918 in KateViewManager::slotDocumentOpen() () at /lib64/libkdeinit5_kate.so
#19 0x00007fecbe882695 in KateViewManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkdeinit5_kate.so
#20 0x00007fecb82df2ea in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#21 0x00007fecb98e67d2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#22 0x00007fecb98e8c58 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#23 0x00007fecb98e95af in QAction::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007fecb98f041c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007fecb98f58e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007fecb82b077b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007fecb916f018 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /lib64/libQt5Gui.so.5
#28 0x00007fecb916f151 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) () at /lib64/libQt5Gui.so.5
#29 0x00007fecb9143a8a in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /lib64/libQt5Gui.so.5
#30 0x00007fecb9148b95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#31 0x00007fecb912c958 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#32 0x00007feca22ce0a0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#33 0x00007fecb387be3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#34 0x00007fecb387c1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#35 0x00007fecb387c27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#36 0x00007fecb8306eef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#37 0x00007fecb82adf0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#38 0x00007fecb82b5fec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#39 0x00007fecbe87b8d4 in kdemain () at /lib64/libkdeinit5_kate.so
#40 0x00007fecb73f0580 in __libc_start_main () at /lib64/libc.so.6
#41 0x000055c5291c5b49 in _start ()

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

Reported using DrKonqi
Comment 1 Kåre Särs 2015-12-17 13:03:33 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 Sandro Mathys 2015-12-26 16:00:59 UTC
Got the same issue, with kate 15.08.3, also on Fedora 23. Not running Compiz (not even installed).
Comment 3 Kåre Särs 2015-12-26 16:38:55 UTC
Can you try to disable compositing or set the rendering engine to XRender?
Comment 4 Sandro Mathys 2015-12-26 16:51:40 UTC
Neither changed anything.
Comment 5 John Barnes 2015-12-27 09:47:41 UTC
I can also confirm that the above still persists with the latest updates - i.e.

Linux 4.2.8-300.fc23.x86_64
kate-15.08.3-3.fc23.x86_64

Perhaps this is a Fedora (23) problem with qt (5.5.1) packages...?
Comment 6 Kåre Särs 2015-12-30 12:56:23 UTC

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