Bug 399703 - crash on kfiledialog
Summary: crash on kfiledialog
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 18.08.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL: https://bugzilla.opensuse.org/show_bu...
Keywords: drkonqi
: 399698 399720 399721 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-12 10:27 UTC by Mathias Homann
Modified: 2018-10-12 21:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.36 KB, text/plain)
2018-10-12 14:25 UTC, Mathias Homann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Homann 2018-10-12 10:27:16 UTC
Application: kwrite (18.08.1)

Qt Version: 5.11.2
Frameworks Version: 5.50.0
Operating System: Linux 4.12.14-lp150.12.19-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:

Tried to open a file from the menu - crash
Tried "save as" - crash

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

Thread 3 (Thread 0x7f8429958700 (LWP 32430)):
#0  0x00007f8444a8208b in poll () from /lib64/libc.so.6
#1  0x00007f843dd11109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f843dd1121c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f84453b83cb in QEventDispatcherGlib::processEvents (this=0x7f8424000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f844535c70a in QEventLoop::exec (this=this@entry=0x7f8429957c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f8445187aaa in QThread::exec (this=this@entry=0x7f8440cefd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#6  0x00007f8440a77b75 in QDBusConnectionManager::run (this=0x7f8440cefd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f84451929cb in QThreadPrivate::start (arg=0x7f8440cefd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007f843fb09559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8444a8c82f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8432aa4700 (LWP 32429)):
#0  0x00007f8444a8208b in poll () from /lib64/libc.so.6
#1  0x00007f843bd9d387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f843bd9efaa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8435a73bd9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f84451929cb in QThreadPrivate::start (arg=0x55676b96e280) at thread/qthread_unix.cpp:367
#5  0x00007f843fb09559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8444a8c82f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8448a41900 (LWP 32427)):
[KCrash Handler]
#6  QArrayData::data (this=0x50c880) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:61
#7  QTypedArrayData<char>::data (this=0x50c880) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:206
#8  QByteArray::data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:491
#9  rawStringData (index=<optimized out>, mo=<optimized out>) at kernel/qmetaobject.cpp:161
#10 objectClassName (m=<optimized out>) at kernel/qmetaobject.cpp:306
#11 QMetaObject::className (this=<optimized out>) at kernel/qmetaobject.cpp:316
#12 0x00007f8446135fb4 in QApplication::font(QWidget const*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f844617469b in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f8446134f9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f844613c57f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f844535e3d8 in QCoreApplication::notifyInternal2 (receiver=0x55676bf03bf0, event=0x7fffbf22d030) at kernel/qcoreapplication.cpp:1048
#17 0x00007f844616fa33 in QWidget::ensurePolished() const () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f84461736a9 in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f844624a459 in QDockWidgetLayout::setWidgetForRole(QDockWidgetLayout::Role, QWidget*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f844624a5e7 in ?? () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f844624a926 in QDockWidget::QDockWidget(QString const&, QWidget*, QFlags<Qt::WindowType>) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f84313544c6 in ?? () from /usr/lib64/libKF5KIOFileWidgets.so.5
#23 0x00007f8431354af8 in ?? () from /usr/lib64/libKF5KIOFileWidgets.so.5
#24 0x00007f8431354f5d in ?? () from /usr/lib64/libKF5KIOFileWidgets.so.5
#25 0x00007f84313554cd in KFileWidget::readConfig(KConfigGroup&) () from /usr/lib64/libKF5KIOFileWidgets.so.5
#26 0x00007f8431356cf0 in KFileWidget::KFileWidget(QUrl const&, QWidget*) () from /usr/lib64/libKF5KIOFileWidgets.so.5
#27 0x00007f843182f402 in ?? () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#28 0x00007f843182fb05 in ?? () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#29 0x00007f84318246da in ?? () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#30 0x00007f844632298f in QDialogPrivate::platformHelper() const () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f8446334b0b in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f8446334fa6 in QFileDialog::QFileDialog(QFileDialogArgs const&) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f8446335552 in QFileDialog::getOpenFileUrls(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /usr/lib64/libQt5Widgets.so.5
#34 0x000055676ae44ad8 in KWrite::slotOpen() ()
#35 0x00007f844538d3f5 in QMetaObject::activate (sender=0x55676bee2a50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771
#36 0x00007f844612e842 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f8446130e7c in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f84461317d1 in QAction::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007f8446134f9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f844613c57f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007f844535e3d8 in QCoreApplication::notifyInternal2 (receiver=0x55676bee2a50, event=0x7fffbf22dbd0) at kernel/qcoreapplication.cpp:1048
#42 0x00007f8445936457 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#43 0x00007f844593652a in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#44 0x00007f84458e9a93 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib64/libQt5Gui.so.5
#45 0x00007f8445907a87 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#46 0x00007f844590cf35 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#47 0x00007f84458e5bcb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#48 0x00007f8435b0162b in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#49 0x00007f844535c70a in QEventLoop::exec (this=this@entry=0x7fffbf22def0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#50 0x00007f84453658c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#51 0x000055676ae4062b in main ()

Reported using DrKonqi
Comment 1 Mathias Homann 2018-10-12 14:25:50 UTC
Created attachment 115597 [details]
New crash information added by DrKonqi

kwrite (18.08.2) using Qt 5.11.2

- What I was doing when the application crashed:

same thing: file->open, crash.


I think the minimum length for the comment attached to "adding one more backtrace" could be shorter.

-- Backtrace (Reduced):
#6  QArrayData::data (this=0x50c880) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:61
#7  QTypedArrayData<char>::data (this=0x50c880) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:206
#8  QByteArray::data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:491
#9  rawStringData (index=<optimized out>, mo=<optimized out>) at kernel/qmetaobject.cpp:161
#10 objectClassName (m=<optimized out>) at kernel/qmetaobject.cpp:306
Comment 2 Mathias Homann 2018-10-12 14:32:02 UTC
*** Bug 399698 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2018-10-12 18:28:56 UTC
*** Bug 399721 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2018-10-12 18:29:09 UTC
*** Bug 399720 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2018-10-12 18:30:57 UTC
All crashes in Qt originating from QDockWidgetLayout::setWidgetForRole(). This could be related to changes in Qt 5.11.2.
Comment 6 Fabian Vogt 2018-10-12 21:47:17 UTC
Caused by downstream, likely due to memory corruption during linking of libQt5Widgets5.so.5.11.2.