Bug 395013 - Okular crashed while saving
Summary: Okular crashed while saving
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.4.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-06-03 22:31 UTC by Ankit Sadana
Modified: 2020-12-17 11:26 UTC (History)
2 users (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 Ankit Sadana 2018-06-03 22:31:14 UTC
Application: okular (1.4.1)

Qt Version: 5.11.0
Frameworks Version: 5.46.0
Operating System: Linux 4.16.12-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed: Saving a pdf document. 
Upon opening the pdf after the crash, everything had been successfully saved, so the crash probably happened after writing to file.
I could not reproduce this crash.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fda585cbe80 (LWP 5548))]

Thread 3 (Thread 0x7fda3ca79700 (LWP 5551)):
#0  0x00007fda542ccea9 in poll () at /usr/lib/libc.so.6
#1  0x00007fda4ec97523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fda4ec9763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fda54be8e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fda54b9485c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fda549ddac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fda55038976 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fda549e7b95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fda51268075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fda542d753f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fda467a5700 (LWP 5549)):
#0  0x00007fda542ccea9 in poll () at /usr/lib/libc.so.6
#1  0x00007fda5168e180 in  () at /usr/lib/libxcb.so.1
#2  0x00007fda5168fe4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fda49553f1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fda549e7b95 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fda51268075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fda542d753f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fda585cbe80 (LWP 5548)):
[KCrash Handler]
#6  0x00007fda5421586b in raise () at /usr/lib/libc.so.6
#7  0x00007fda5420040e in abort () at /usr/lib/libc.so.6
#8  0x00007fda300e990a in FormFieldText::setContentCopy(GooString*) () at /usr/lib/libpoppler.so.75
#9  0x00007fda304dfbc6 in Poppler::FormFieldText::setText(QString const&) () at /usr/lib/libpoppler-qt5.so.1
#10 0x00007fda36fd88a4 in  () at /usr/lib/libOkular5Core.so.9
#11 0x00007fda561a16f4 in QUndoStack::push(QUndoCommand*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fda36fc52e2 in Okular::Document::editFormText(int, Okular::FormFieldText*, QString const&, int, int, int) () at /usr/lib/libOkular5Core.so.9
#13 0x00007fda3731837d in  () at /usr/lib/qt/plugins/okularpart.so
#14 0x00007fda54bbfb60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#15 0x00007fda3731105f in  () at /usr/lib/qt/plugins/okularpart.so
#16 0x00007fda54bbfb60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#17 0x00007fda55ffc346 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fda54bbfa0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#19 0x00007fda56015bde in  () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fda56015eb3 in QWidgetTextControl::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fda54bbfadd in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#22 0x00007fda55773cf6 in QTextDocumentPrivate::finishEdit() () at /usr/lib/libQt5Gui.so.5
#23 0x00007fda557b336e in QSyntaxHighlighter::setDocument(QTextDocument*) () at /usr/lib/libQt5Gui.so.5
#24 0x00007fda557b355a in QSyntaxHighlighter::~QSyntaxHighlighter() () at /usr/lib/libQt5Gui.so.5
#25 0x00007fda4da8e6fa in Sonnet::Highlighter::~Highlighter() () at /usr/lib/libKF5SonnetUi.so.5
#26 0x00007fda54bbd94b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#27 0x00007fda54bc68a5 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#28 0x00007fda5244d154 in  () at /usr/lib/libKF5TextWidgets.so.5
#29 0x00007fda52446b9b in KTextEdit::~KTextEdit() () at /usr/lib/libKF5TextWidgets.so.5
#30 0x00007fda37317e93 in  () at /usr/lib/qt/plugins/okularpart.so
#31 0x00007fda3735d3e7 in  () at /usr/lib/qt/plugins/okularpart.so
#32 0x00007fda3734aa77 in  () at /usr/lib/qt/plugins/okularpart.so
#33 0x00007fda36fc8dc4 in Okular::Document::closeDocument() () at /usr/lib/libOkular5Core.so.9
#34 0x00007fda372db339 in Okular::Part::closeUrl(bool) () at /usr/lib/qt/plugins/okularpart.so
#35 0x00007fda372d7a30 in Okular::Part::slotAttemptReload(bool, QUrl const&) () at /usr/lib/qt/plugins/okularpart.so
#36 0x00007fda372d7b9d in  () at /usr/lib/qt/plugins/okularpart.so
#37 0x00007fda54bbfb60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#38 0x00007fda54bcbb38 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#39 0x00007fda54bc029b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007fda55e2c984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007fda55e3425b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007fda54b95bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#43 0x00007fda54be821a in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#44 0x00007fda54be8aa2 in  () at /usr/lib/libQt5Core.so.5
#45 0x00007fda4ec97368 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#46 0x00007fda4ec975b1 in  () at /usr/lib/libglib-2.0.so.0
#47 0x00007fda4ec9763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#48 0x00007fda54be8e49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#49 0x00007fda495e8b32 in  () at /usr/lib/libQt5XcbQpa.so.5
#50 0x00007fda54b9485c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#51 0x00007fda54b9cb56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#52 0x000055b7470ec685 in  ()
#53 0x00007fda5420206b in __libc_start_main () at /usr/lib/libc.so.6
#54 0x000055b7470edd4a in _start ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2018-06-04 22:48:25 UTC
This sounds totally like https://bugs.kde.org/show_bug.cgi?id=393334 but it should be fixed for 1.4.1 that you're running

Is there any chance the okular you had running was an old running version from before you updated to 1.4.1 (aka 18.04.1)? I guess not but asking is for free :D
Comment 2 Ankit Sadana 2018-06-04 23:27:30 UTC
(In reply to Albert Astals Cid from comment #1)
> This sounds totally like https://bugs.kde.org/show_bug.cgi?id=393334 but it
> should be fixed for 1.4.1 that you're running
> 
> Is there any chance the okular you had running was an old running version
> from before you updated to 1.4.1 (aka 18.04.1)? I guess not but asking is
> for free :D

Sadly no, last system-wide package update I did was 2 days ago, so this should be 1.4.1. However if it helps at all I had woken my laptop up from suspend while doing this.
Comment 3 Justin Zobel 2020-12-02 01:22:27 UTC
Thank you for the report, Ankit.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 4 Bug Janitor Service 2020-12-17 04:34:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Ankit Sadana 2020-12-17 11:26:43 UTC
(In reply to Justin Zobel from comment #3)
> Thank you for the report, Ankit.
> 
> As it has been a while since this was reported, can you please test and
> confirm if this issue is still occurring or if this bug report can be marked
> as resolved.
> 
> I have set the bug status to "needsinfo" pending your response, please
> change back to "reported" or "resolved" when you respond, thank you.

Hi Justin,

I tried reproducing it on latest Okular from Arch Linux repository - 
Okular - 20.12.0
KDE Framework - 5.76.0
Desktop Session - Tested both X11 and Wayland

I haven't been able to reproduce it so far.
I even attempted to leave my laptop in sleep for a while, and then editing/saving but everything seems to be working as expected.

Making it as Resolved, thank you for following up!