Application: okular (1.6.2) Qt Version: 5.11.3 Frameworks Version: 5.58.0 Operating System: Linux 5.1.20-200.fc29.x86_64 x86_64 Distribution: "Fedora release 29 (Twenty Nine)" -- Information about the crash: - What I was doing when the application crashed: When I open print dialog and click "Print" button or open "Printer Properties" and select "Advanced" tab Okular crashes everytime. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f28692a0940 (LWP 6474))] Thread 5 (Thread 0x7f2847fff700 (LWP 6486)): #0 0x00007f286c11f72c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f286c8e77c3 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55a7f1eaf9d0) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=this@entry=0x55a7f1eaf320, mutex=mutex@entry=0x55a7f1eaf318, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f286d620d0d in QFileInfoGatherer::run (this=0x55a7f1eaf308) at dialogs/qfileinfogatherer.cpp:251 #4 0x00007f286c8e719b in QThreadPrivate::start (arg=0x55a7f1eaf308) at thread/qthread_unix.cpp:367 #5 0x00007f286c11958e in start_thread () from /lib64/libpthread.so.0 #6 0x00007f286c423713 in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f2852b56700 (LWP 6477)): #0 0x00007f286c11f72c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f2852f438bb in ?? () from /usr/lib64/dri/i965_dri.so #2 0x00007f2852f435fb in ?? () from /usr/lib64/dri/i965_dri.so #3 0x00007f286c11958e in start_thread () from /lib64/libpthread.so.0 #4 0x00007f286c423713 in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f285a585700 (LWP 6476)): #0 0x00007f286c418481 in poll () from /lib64/libc.so.6 #1 0x00007f28699123a6 in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007f28699124d0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f286cac785b in QEventDispatcherGlib::processEvents (this=0x7f284c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f286ca763db in QEventLoop::exec (this=this@entry=0x7f285a584c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #5 0x00007f286c8ddd36 in QThread::exec (this=this@entry=0x7f286cda0060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #6 0x00007f286cd1df89 in QDBusConnectionManager::run (this=0x7f286cda0060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #7 0x00007f286c8e719b in QThreadPrivate::start (arg=0x7f286cda0060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367 #8 0x00007f286c11958e in start_thread () from /lib64/libpthread.so.0 #9 0x00007f286c423713 in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f285bfda700 (LWP 6475)): #0 0x00007f286c418481 in poll () from /lib64/libc.so.6 #1 0x00007f286bb6039f in ?? () from /lib64/libxcb.so.1 #2 0x00007f286bb6201a in xcb_wait_for_event () from /lib64/libxcb.so.1 #3 0x00007f285c186459 in QXcbEventReader::run (this=0x55a7f171c600) at qxcbconnection.h:409 #4 0x00007f286c8e719b in QThreadPrivate::start (arg=0x55a7f171c600) at thread/qthread_unix.cpp:367 #5 0x00007f286c11958e in start_thread () from /lib64/libpthread.so.0 #6 0x00007f286c423713 in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f28692a0940 (LWP 6474)): [KCrash Handler] #6 0x00007f286c487a17 in __strlen_avx2 () from /lib64/libc.so.6 #7 0x00007f286cace664 in qstrlen (str=0x55a80d7cd43a <error: Cannot access memory at address 0x55a80d7cd43a>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:74 #8 QTextCodec::toUnicode (this=0x55a7f17007b0, chars=0x55a80d7cd43a <error: Cannot access memory at address 0x55a80d7cd43a>) at codecs/qtextcodec.cpp:899 #9 0x00007f286c0d9fdf in QPPDOptionsModel::data (this=<optimized out>, index=..., role=<optimized out>) at dialogs/qprintdialog_unix.cpp:1357 #10 0x00007f286d67f150 in QModelIndex::data (arole=0, this=0x7ffdd3165f70) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:455 #11 QStyledItemDelegate::initStyleOption (this=0x55a7f203a040, option=0x7ffdd3165e00, index=...) at itemviews/qstyleditemdelegate.cpp:345 #12 0x00007f286d67e756 in QStyledItemDelegate::sizeHint (this=0x55a7f203a040, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410 #13 0x00007f286d6c331f in QTreeView::indexRowSizeHint (this=<optimized out>, index=...) at itemviews/qtreeview.cpp:3001 #14 0x00007f286d6c488c in QTreeViewPrivate::itemHeight (item=<optimized out>, this=0x55a7f2017780) at ../../include/QtWidgets/5.11.3/QtWidgets/private/../../../../../src/widgets/itemviews/qtreeview_p.h:85 #15 QTreeViewPrivate::itemHeight (this=0x55a7f2017780, item=<optimized out>) at itemviews/qtreeview.cpp:3430 #16 0x00007f286d6c61d6 in QTreeViewPrivate::updateScrollBars (this=0x55a7f2017780) at itemviews/qtreeview.cpp:3681 #17 0x00007f286d6cd712 in QTreeView::updateGeometries (this=0x55a7f2017740) at itemviews/qtreeview.cpp:2840 #18 0x00007f286d446aee in QWidget::event (this=this@entry=0x55a7f2017740, event=event@entry=0x7ffdd3166670) at kernel/qwidget.cpp:9066 #19 0x00007f286d4eab02 in QFrame::event (this=0x55a7f2017740, e=0x7ffdd3166670) at widgets/qframe.cpp:550 #20 0x00007f286d66296b in QAbstractItemView::viewportEvent (this=this@entry=0x55a7f2017740, event=event@entry=0x7ffdd3166670) at itemviews/qabstractitemview.cpp:1750 #21 0x00007f286d6cc39f in QTreeView::viewportEvent (this=0x55a7f2017740, event=0x7ffdd3166670) at itemviews/qtreeview.cpp:1326 #22 0x00007f286ca772de in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1173 #23 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55a7f2017d90, event=event@entry=0x7ffdd3166670) at kernel/qcoreapplication.cpp:1162 #24 0x00007f286d407295 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f2017d90, e=0x7ffdd3166670) at kernel/qapplication.cpp:3722 #25 0x00007f286d40e800 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3485 #26 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55a7f2017d90, event=event@entry=0x7ffdd3166670) at kernel/qcoreapplication.cpp:1047 #27 0x00007f286d43eb83 in QCoreApplication::sendEvent (event=0x7ffdd3166670, receiver=0x55a7f2017d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #28 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x55a7f2017dd0, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7935 #29 0x00007f286d442ac7 in QWidgetPrivate::show_helper (this=0x55a7f2017dd0) at kernel/qwidget.cpp:7986 #30 0x00007f286d445ca3 in QWidget::setVisible (this=0x55a7f2017d90, visible=<optimized out>) at kernel/qwidget.cpp:8341 #31 0x00007f286d442a78 in QWidgetPrivate::showChildren (this=this@entry=0x55a7f2017780, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8424 #32 0x00007f286d442ae3 in QWidgetPrivate::show_helper (this=0x55a7f2017780) at kernel/qwidget.cpp:7992 #33 0x00007f286d445ca3 in QWidget::setVisible (this=0x55a7f2017740, visible=<optimized out>) at kernel/qwidget.cpp:8341 #34 0x00007f286d442a78 in QWidgetPrivate::showChildren (this=this@entry=0x55a7f20173a0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8424 #35 0x00007f286d442ae3 in QWidgetPrivate::show_helper (this=0x55a7f20173a0) at kernel/qwidget.cpp:7992 #36 0x00007f286d445ca3 in QWidget::setVisible (this=0x55a7f2017360, visible=<optimized out>) at kernel/qwidget.cpp:8341 #37 0x00007f286d429c4c in QStackedLayout::setCurrentIndex (this=0x55a7f1fbf420, index=2) at kernel/qstackedlayout.cpp:321 #38 0x00007f286d5a9a34 in QStackedWidget::setCurrentIndex (this=<optimized out>, index=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038 #39 0x00007f286d5cb886 in QTabWidgetPrivate::_q_showTab (this=0x55a7f1f33ce0, index=2) at widgets/qtabwidget.cpp:758 #40 0x00007f286d5cd9af in QTabWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038 #41 0x00007f286caa013e in QMetaObject::activate (sender=0x55a7f1fbf540, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771 #42 0x00007f286d5abe12 in QTabBar::currentChanged (this=this@entry=0x55a7f1fbf540, _t1=<optimized out>, _t1@entry=2) at .moc/moc_qtabbar.cpp:333 #43 0x00007f286d5b04f5 in QTabBar::setCurrentIndex (this=0x55a7f1fbf540, index=2) at widgets/qtabbar.cpp:1366 #44 0x00007f286d5b2b55 in QTabBar::mousePressEvent (this=0x55a7f1fbf540, event=0x7ffdd3167180) at widgets/qtabbar.cpp:1969 #45 0x00007f286d446bbf in QWidget::event (this=this@entry=0x55a7f1fbf540, event=event@entry=0x7ffdd3167180) at kernel/qwidget.cpp:8903 #46 0x00007f286d5b129b in QTabBar::event (this=0x55a7f1fbf540, event=0x7ffdd3167180) at widgets/qtabbar.cpp:1691 #47 0x00007f286d4072a5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f1fbf540, e=0x7ffdd3167180) at kernel/qapplication.cpp:3726 #48 0x00007f286d40ea48 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3202 #49 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=0x55a7f1fbf540, event=0x7ffdd3167180) at kernel/qcoreapplication.cpp:1047 #50 0x00007f286d40dd7d in QApplicationPrivate::sendMouseEvent (receiver=0x55a7f1fbf540, event=0x7ffdd3167180, alienWidget=0x55a7f1fbf540, nativeWidget=0x7f285400bac0, buttonDown=0x7f286d90c310 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #51 0x00007f286d460f68 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /usr/include/c++/8/bits/atomic_base.h:390 #52 0x00007f286d463b0e in QWidgetWindow::event (this=0x55a7f203a960, event=0x7ffdd3167560) at kernel/qwidgetwindow.cpp:281 #53 0x00007f286d4072a5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f203a960, e=0x7ffdd3167560) at kernel/qapplication.cpp:3726 #54 0x00007f286d40e800 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3485 #55 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=0x55a7f203a960, event=0x7ffdd3167560) at kernel/qcoreapplication.cpp:1047 #56 0x00007f286ceb3853 in QGuiApplicationPrivate::processMouseEvent (e=0x55a7f20a1ea0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 #57 0x00007f286ceb5725 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55a7f20a1ea0) at kernel/qguiapplication.cpp:1817 #58 0x00007f286ce90adb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #59 0x00007f285c21d3ff in QPAEventDispatcherGlib::processEvents (this=0x55a7f176a730, flags=...) at qeventdispatcher_glib.cpp:70 #60 0x00007f286ca763db in QEventLoop::exec (this=this@entry=0x7ffdd31677d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #61 0x00007f286d5f865d in QDialog::exec (this=0x7f285400bac0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #62 0x00007f286caa013e in QMetaObject::activate (sender=0x55a7f1ea9050, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771 #63 0x00007f286d4ef5f6 in QAbstractButton::clicked (this=this@entry=0x55a7f1ea9050, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #64 0x00007f286d4ef81e in QAbstractButtonPrivate::emitClicked (this=0x55a7f1ea9090) at widgets/qabstractbutton.cpp:414 #65 0x00007f286d4f0c83 in QAbstractButtonPrivate::click (this=0x55a7f1ea9090) at widgets/qabstractbutton.cpp:407 #66 0x00007f286d4f0e55 in QAbstractButton::mouseReleaseEvent (this=0x55a7f1ea9050, e=0x7ffdd3167dc0) at widgets/qabstractbutton.cpp:1011 #67 0x00007f286d446108 in QWidget::event (this=0x55a7f1ea9050, event=0x7ffdd3167dc0) at kernel/qwidget.cpp:8925 #68 0x00007f286d4072a5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f1ea9050, e=0x7ffdd3167dc0) at kernel/qapplication.cpp:3726 #69 0x00007f286d40ea48 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3202 #70 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=0x55a7f1ea9050, event=0x7ffdd3167dc0) at kernel/qcoreapplication.cpp:1047 #71 0x00007f286d40dd7d in QApplicationPrivate::sendMouseEvent (receiver=0x55a7f1ea9050, event=0x7ffdd3167dc0, alienWidget=0x55a7f1ea9050, nativeWidget=0x55a7f1e5ac00, buttonDown=0x7f286d90c310 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #72 0x00007f286d460f68 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /usr/include/c++/8/bits/atomic_base.h:390 #73 0x00007f286d463b0e in QWidgetWindow::event (this=0x55a7f1eefde0, event=0x7ffdd31681a0) at kernel/qwidgetwindow.cpp:281 #74 0x00007f286d4072a5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f1eefde0, e=0x7ffdd31681a0) at kernel/qapplication.cpp:3726 #75 0x00007f286d40e800 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3485 #76 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=0x55a7f1eefde0, event=0x7ffdd31681a0) at kernel/qcoreapplication.cpp:1047 #77 0x00007f286ceb3853 in QGuiApplicationPrivate::processMouseEvent (e=0x55a7f1e2c290) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 #78 0x00007f286ceb5725 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55a7f1e2c290) at kernel/qguiapplication.cpp:1817 #79 0x00007f286ce90adb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #80 0x00007f285c21d3ff in QPAEventDispatcherGlib::processEvents (this=0x55a7f176a730, flags=...) at qeventdispatcher_glib.cpp:70 #81 0x00007f286ca763db in QEventLoop::exec (this=this@entry=0x7ffdd3168410, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #82 0x00007f286d5f865d in QDialog::exec (this=0x55a7f1e5ac00) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #83 0x00007f28592641e7 in Okular::Part::slotPrint() () from /usr/lib64/qt5/plugins/okularpart.so #84 0x00007f28593135b0 in ?? () from /usr/lib64/qt5/plugins/okularpart.so #85 0x00007f286ca85e31 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at kernel/qmetaobject.cpp:2287 #86 0x00007f286ca875ac in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at kernel/qmetaobject.cpp:1488 #87 0x000055a7f0260b4a in ?? () #88 0x000055a7f026a885 in ?? () #89 0x000055a7f026aa4e in ?? () #90 0x00007f286caa013e in QMetaObject::activate (sender=0x55a7f1afb640, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771 #91 0x00007f286d400a56 in QAction::triggered (this=this@entry=0x55a7f1afb640, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #92 0x00007f286d403120 in QAction::activate (this=0x55a7f1afb640, event=<optimized out>) at kernel/qaction.cpp:1166 #93 0x00007f286d403a2c in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1092 #94 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1081 #95 0x00007f286d4072a5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a7f1afb640, e=0x7ffdd3169010) at kernel/qapplication.cpp:3726 #96 0x00007f286d40e800 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3485 #97 0x00007f286ca77496 in QCoreApplication::notifyInternal2 (receiver=0x55a7f1afb640, event=event@entry=0x7ffdd3169010) at kernel/qcoreapplication.cpp:1047 #98 0x00007f286cedcd03 in QCoreApplication::sendEvent (event=0x7ffdd3169010, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #99 QShortcutMap::dispatchEvent (this=this@entry=0x55a7f16ff400, e=e@entry=0x7ffdd31690c0) at kernel/qshortcutmap.cpp:687 #100 0x00007f286cedcde3 in QShortcutMap::tryShortcut (this=this@entry=0x55a7f16ff400, e=e@entry=0x7ffdd31690c0) at kernel/qshortcutmap.cpp:351 #101 0x00007f286ce93f06 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, window@entry=0x55a7f1b02270, timestamp=258897557, keyCode=80, modifiers=..., nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=20, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:461 #102 0x00007f286ceafdf1 in QGuiApplicationPrivate::processKeyEvent (e=0x7f2854007300) at kernel/qguiapplication.cpp:2189 #103 0x00007f286ceb5705 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x7f2854007300) at kernel/qguiapplication.cpp:1823 #104 0x00007f286ce90adb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #105 0x00007f285c21d3ff in QPAEventDispatcherGlib::processEvents (this=0x55a7f176a730, flags=...) at qeventdispatcher_glib.cpp:70 #106 0x00007f286ca763db in QEventLoop::exec (this=this@entry=0x7ffdd3169330, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #107 0x00007f286ca7e386 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #108 0x000055a7f025cb75 in ?? () #109 0x00007f286c34a413 in __libc_start_main () from /lib64/libc.so.6 #110 0x000055a7f025e19e in _start () [Inferior 1 (process 6474) detached] Reported using DrKonqi
This is a bug in Qt, isn't there any chance you get something newer like Qt 5.12? https://repology.org/project/qt5/badges says fedora 29 should have 5.12.2 available, why are you on 5.11.3?
Unfortunately Qt 5.11.3 is the latest available version in Fedora 29 repositories. The information in https://repology.org/project/qt5/badges seems to be wrong. I can upgrade to Fedora 30 and see if it helps.
I can confirm that after upgrade to Fedora 30 (Qt 5.12.4) the problem is no more reproducible. You can close this bug if no plans to fix it in Qt 5.11.3
I can't speak for The Qt Project, but as far as i know Qt 5.11.4 isn't planned and time travel hasn't been invented yet so it can not be fixed in Qt 5.11.3 ;)