[okular] [Bug 400146] New: Okular crashes when showing print preview

a.key bugzilla_noreply at kde.org
Mon Oct 22 10:13:17 BST 2018


https://bugs.kde.org/show_bug.cgi?id=400146

            Bug ID: 400146
           Summary: Okular crashes when showing print preview
           Product: okular
           Version: 1.4.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: a.key at moronet.pl
  Target Milestone: ---

Application: okular (1.4.3)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.18.13-200.fc28.x86_64 x86_64
Distribution: "Fedora release 28 (Twenty Eight)"

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

Clicked on the print preview.
The application crashes every time I do this.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a0cb70940 (LWP 26685))]

Thread 4 (Thread 0x7f19de697700 (LWP 26750)):
#0  0x00007f1a150c451c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1a16e52183 in QWaitCondition::wait(QMutex*, unsigned long) () from
/lib64/libQt5Core.so.5
#2  0x00007f1a17e23cbd in QFileInfoGatherer::run() () from
/lib64/libQt5Widgets.so.5
#3  0x00007f1a16e51b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#4  0x00007f1a150be594 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1a16187e6f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f19f3fb8700 (LWP 26687)):
#0  0x00007f1a170309eb in QTimerInfoList::timerWait(timespec&) () from
/lib64/libQt5Core.so.5
#1  0x00007f1a17031f64 in timerSourcePrepareHelper(GTimerSource*, int*) () from
/lib64/libQt5Core.so.5
#2  0x00007f1a17032012 in timerSourcePrepare(_GSource*, int*) () from
/lib64/libQt5Core.so.5
#3  0x00007f1a0f799109 in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#4  0x00007f1a0f799afb in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#5  0x00007f1a0f799cf0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f1a170322ab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#7  0x00007f1a16fe0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#8  0x00007f1a16e486b6 in QThread::exec() () from /lib64/libQt5Core.so.5
#9  0x00007f1a1728a7b9 in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#10 0x00007f1a16e51b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#11 0x00007f1a150be594 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f1a16187e6f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f19fd891700 (LWP 26686)):
#0  0x00007f1a1617d3e9 in poll () from /lib64/libc.so.6
#1  0x00007f1a1357f04f in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f1a13580caa in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f1a002435a9 in QXcbEventReader::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f1a16e51b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f1a150be594 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f1a16187e6f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1a0cb70940 (LWP 26685)):
[KCrash Handler]
#6  0x00007f1a161ea7e7 in __strlen_avx2 () from /lib64/libc.so.6
#7  0x00007f1a17036ed4 in QTextCodec::toUnicode(char const*) const () from
/lib64/libQt5Core.so.5
#8  0x00007f1a1508150f in QPPDOptionsModel::data(QModelIndex const&, int) const
() from /lib64/libQt5PrintSupport.so.5
#9  0x00007f1a17e81ff0 in
QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&)
const () from /lib64/libQt5Widgets.so.5
#10 0x00007f1a17e815f6 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem
const&, QModelIndex const&) const () from /lib64/libQt5Widgets.so.5
#11 0x00007f1a17ec61ab in QTreeView::indexRowSizeHint(QModelIndex const&) const
() from /lib64/libQt5Widgets.so.5
#12 0x00007f1a17ec779c in QTreeViewPrivate::itemHeight(int) const () from
/lib64/libQt5Widgets.so.5
#13 0x00007f1a17ec90f6 in QTreeViewPrivate::updateScrollBars() () from
/lib64/libQt5Widgets.so.5
#14 0x00007f1a17ed05f2 in QTreeView::updateGeometries() () from
/lib64/libQt5Widgets.so.5
#15 0x00007f1a17e58a31 in QAbstractItemView::doItemsLayout() () from
/lib64/libQt5Widgets.so.5
#16 0x00007f1a17ece94d in QTreeView::doItemsLayout() () from
/lib64/libQt5Widgets.so.5
#17 0x00007f1a17ec1ead in QTreeView::resizeColumnToContents(int) () from
/lib64/libQt5Widgets.so.5
#18 0x00007f1a1508075b in QPrintPropertiesDialog::showEvent(QShowEvent*) ()
from /lib64/libQt5PrintSupport.so.5
#19 0x00007f1a17c495c8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#20 0x00007f1a17c0a475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#21 0x00007f1a17c11b90 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#22 0x00007f1a16fe1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#23 0x00007f1a17c45f9c in QWidgetPrivate::show_helper() () from
/lib64/libQt5Widgets.so.5
#24 0x00007f1a17c49163 in QWidget::setVisible(bool) () from
/lib64/libQt5Widgets.so.5
#25 0x00007f1a17dfc46e in QDialog::setVisible(bool) () from
/lib64/libQt5Widgets.so.5
#26 0x00007f1a17dfbae5 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#27 0x00007f1a17009e1e in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#28 0x00007f1a17cf28e6 in QAbstractButton::clicked(bool) () from
/lib64/libQt5Widgets.so.5
#29 0x00007f1a17cf2b0e in QAbstractButtonPrivate::emitClicked() () from
/lib64/libQt5Widgets.so.5
#30 0x00007f1a17cf3f63 in QAbstractButtonPrivate::click() () from
/lib64/libQt5Widgets.so.5
#31 0x00007f1a17cf4135 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#32 0x00007f1a17c495c8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#33 0x00007f1a17c0a475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#34 0x00007f1a17c11dd8 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#35 0x00007f1a16fe1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#36 0x00007f1a17c110cd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/lib64/libQt5Widgets.so.5
#37 0x00007f1a17c64368 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#38 0x00007f1a17c66f0e in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#39 0x00007f1a17c0a475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#40 0x00007f1a17c11b90 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#41 0x00007f1a16fe1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#42 0x00007f1a176b7f43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#43 0x00007f1a176ba085 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#44 0x00007f1a1769546b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#45 0x00007f1a002d67cf in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5XcbQpa.so.5
#46 0x00007f1a16fe0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#47 0x00007f1a17dfbc1d in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#48 0x00007f19f2882237 in Okular::Part::slotPrint() () from
/usr/lib64/qt5/plugins/okularpart.so
#49 0x00007f19f292cd93 in Okular::Part::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/okularpart.so
#50 0x00007f1a16ff0611 in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const () from
/lib64/libQt5Core.so.5
#51 0x00007f1a16ff192c in QMetaObject::invokeMethod(QObject*, char const*,
Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from
/lib64/libQt5Core.so.5
#52 0x000056322bb109ea in Shell::print() ()
#53 0x000056322bb1a665 in Shell::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) [clone .part.17] ()
#54 0x000056322bb1a82e in Shell::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) ()
#55 0x00007f1a17009e1e in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#56 0x00007f1a17c03c26 in QAction::triggered(bool) () from
/lib64/libQt5Widgets.so.5
#57 0x00007f1a17c062f0 in QAction::activate(QAction::ActionEvent) () from
/lib64/libQt5Widgets.so.5
#58 0x00007f1a17d7b47c in
QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#59 0x00007f1a17d82b24 in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#60 0x00007f1a17d83b6b in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#61 0x00007f1a17c495c8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#62 0x00007f1a17d8621b in QMenu::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#63 0x00007f1a17c0a475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#64 0x00007f1a17c11dd8 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#65 0x00007f1a16fe1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#66 0x00007f1a17c110cd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/lib64/libQt5Widgets.so.5
#67 0x00007f1a17c64723 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#68 0x00007f1a17c66f0e in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#69 0x00007f1a17c0a475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#70 0x00007f1a17c11b90 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#71 0x00007f1a16fe1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#72 0x00007f1a176b7f43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#73 0x00007f1a176ba085 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#74 0x00007f1a1769546b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#75 0x00007f1a002d67cf in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5XcbQpa.so.5
#76 0x00007f1a16fe0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#77 0x00007f1a16fe8c46 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#78 0x000056322bb0ca15 in main ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list