Bug 403914 - Crash when closing okular trying to show file accessed via sftp
Summary: Crash when closing okular trying to show file accessed via sftp
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.5.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-04 09:00 UTC by Erik Quaeghebeur
Modified: 2019-04-03 20:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2019-02-04 09:00:16 UTC
Application: okular (1.5.3)

Qt Version: 5.11.3
Frameworks Version: 5.52.0
Operating System: Linux 4.14.83-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

I was closing okular, which was trying to show file accessed via sftp.

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

Thread 4 (Thread 0x7f035ad55700 (LWP 20087)):
#0  0x00007f037cb2b56c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f035b4a01eb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f035b49ff17 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f037cb2496a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f037f8bd92f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0366668700 (LWP 20086)):
#0  0x00007f037f8b1d63 in poll () from /lib64/libc.so.6
#1  0x00007f037a52e0b9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f037a52e1cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0380217f5b in QEventDispatcherGlib::processEvents (this=0x7f0360000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f03801c3ffa in QEventLoop::exec (this=this@entry=0x7f0366667cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f0380027f5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f0380650de5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f03800319af in QThreadPrivate::start (arg=0x7f03808c8d60) at thread/qthread_unix.cpp:367
#8  0x00007f037cb2496a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f037f8bd92f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f03709fe700 (LWP 20085)):
#0  0x00007f037f8b1d63 in poll () from /lib64/libc.so.6
#1  0x00007f037d3a17f7 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f037d3a342a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f0372f71779 in QXcbEventReader::run (this=0x55bbd2402d70) at qxcbconnection.cpp:1391
#4  0x00007f03800319af in QThreadPrivate::start (arg=0x55bbd2402d70) at thread/qthread_unix.cpp:367
#5  0x00007f037cb2496a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f037f8bd92f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0383b0f180 (LWP 20084)):
[KCrash Handler]
#6  0x00007f0364c231d7 in Okular::Generator::hasFeature (this=0x0, feature=feature@entry=Okular::Generator::SupportsCancelling) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/core/generator.cpp:425
#7  0x00007f0364c0a2de in Okular::DocumentPrivate::clearAndWaitForRequests (this=0x55bbd24fa2a0) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/core/document.cpp:2189
#8  0x00007f0364c0b5a0 in Okular::Document::closeDocument (this=0x55bbd25083d0) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/core/document.cpp:2646
#9  0x00007f0364f26e15 in Okular::Part::closeUrl (this=0x55bbd24e2730, promptToSave=<optimized out>) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/part.cpp:1831
#10 0x000055bbd172b7b4 in Shell::closeTab (this=0x55bbd2464e60, tab=0) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/shell/shell.cpp:631
#11 0x000055bbd172b8eb in Shell::closeUrl (this=<optimized out>) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/shell/shell.cpp:303
#12 0x000055bbd1732e55 in Shell::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7ffdc43fccf0, _c=QMetaObject::InvokeMetaMethod) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3_build/shell/okular_autogen/EWIEGA46WW/moc_shell.cpp:189
#13 0x000055bbd173300a in Shell::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3_build/shell/okular_autogen/EWIEGA46WW/moc_shell.cpp:171
#14 0x00007f03801ee6e3 in QMetaObject::activate (sender=sender@entry=0x55bbd27a19e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdc43fccf0) at kernel/qobject.cpp:3771
#15 0x00007f03801eed57 in QMetaObject::activate (sender=sender@entry=0x55bbd27a19e0, m=m@entry=0x7f03817d1840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdc43fccf0) at kernel/qobject.cpp:3633
#16 0x00007f03810ff682 in QAction::triggered (this=this@entry=0x55bbd27a19e0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#17 0x00007f0381101cbc in QAction::activate (this=0x55bbd27a19e0, event=<optimized out>) at kernel/qaction.cpp:1166
#18 0x00007f0381102611 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1092
#19 0x00007f0381105d8c in QApplicationPrivate::notify_helper (this=this@entry=0x55bbd23e7400, receiver=receiver@entry=0x55bbd27a19e0, e=e@entry=0x7ffdc43fcf90) at kernel/qapplication.cpp:3726
#20 0x00007f038110d32f in QApplication::notify (this=0x7ffdc43fd390, receiver=0x55bbd27a19e0, e=0x7ffdc43fcf90) at kernel/qapplication.cpp:3485
#21 0x00007f03801c5207 in QCoreApplication::notifyInternal2 (receiver=0x55bbd27a19e0, event=event@entry=0x7ffdc43fcf90) at kernel/qcoreapplication.cpp:1047
#22 0x00007f03809f1cb7 in QCoreApplication::sendEvent (event=0x7ffdc43fcf90, receiver=<optimized out>) at /usr/include/qt5/QtCore/qcoreapplication.h:234
#23 QShortcutMap::dispatchEvent (this=this@entry=0x55bbd23e74e0, e=e@entry=0x7ffdc43fd040) at kernel/qshortcutmap.cpp:687
#24 0x00007f03809f1d8a in QShortcutMap::tryShortcut (this=this@entry=0x55bbd23e74e0, e=e@entry=0x7ffdc43fd040) at kernel/qshortcutmap.cpp:351
#25 0x00007f03809a9aa3 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, window@entry=0x55bbd27a7660, timestamp=2555983, keyCode=87, modifiers=..., nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=20, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:461
#26 0x00007f03809c5c87 in QGuiApplicationPrivate::processKeyEvent (e=0x7f036c002f20) at kernel/qguiapplication.cpp:2189
#27 0x00007f03809cb4e5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x7f036c002f20) at kernel/qguiapplication.cpp:1823
#28 0x00007f03809a667b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#29 0x00007f0372ffa5db in QPAEventDispatcherGlib::processEvents (this=0x55bbd245ab50, flags=...) at qeventdispatcher_glib.cpp:70
#30 0x00007f03801c3ffa in QEventLoop::exec (this=this@entry=0x7ffdc43fd2b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#31 0x00007f03801cc9e0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#32 0x000055bbd1726827 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/okular-18.08.3/work/okular-18.08.3/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2019-04-03 20:16:31 UTC
can you reproduce this crash?
Comment 2 Erik Quaeghebeur 2019-04-03 20:28:17 UTC
(In reply to Albert Astals Cid from comment #1)
> can you reproduce this crash?
No, currently not (on 1.6.3). Feel free to close.
Comment 3 Albert Astals Cid 2019-04-03 20:38:58 UTC
Ok thanks. If you can reproduce it again please reopen the bug.

Thanks for caring about okular :)