[Okular-devel] [okular] [Bug 322739] New: okular crashes while saving annotation to okular document archive

bernhard.marx at gmx.net bernhard.marx at gmx.net
Tue Jul 23 16:24:47 UTC 2013


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

            Bug ID: 322739
           Summary: okular crashes while saving annotation to okular
                    document archive
    Classification: Unclassified
           Product: okular
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: bernhard.marx at gmx.net

As the KDEcrashhandler chocked on the Version (0.16.60), I paste it's output
here:

Application: okular (0.16.60)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-4-686-pae i686
Distribution: Debian GNU/Linux 7.1 (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
I opened an okular document archive that already contained many annotations. I
added many more annotations. When saving the document archive I chose the same
name and agreed to the dialog asking whether I wanted to overwrite the existing
file. Then okular crashed. 
The file however was saved. It can be opened by okular and contains all the
notes that were recently added.

- Unusual behavior I noticed:
This was not the first time this happend. But this time bonnie++ was doing hard
drive benchmarks in the background, system load was between 2 and 4 at the time
of the crash. 

On this debian system I have installed the regular debian package
(stable/wheezy) and a version compiled from git sources. The latter one was
crashing. However, I cannot report a crash with "Application: okular (0.16.60)"
so will try "using Devel" instead.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4d4a740 (LWP 8883))]

Thread 2 (Thread 0xadfffb40 (LWP 11982)):
#0  0xb549bc7f in pthread_mutex_lock () from
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#1  0xb58573d4 in pthread_mutex_lock () from
/lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb5241230 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb51fd675 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb51fd901 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5d8084f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5d4d01c in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb5d4d311 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb5c39b3c in QThread::exec() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb5d2b76d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb5c3cf00 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5499cf1 in start_thread () from
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#12 0xb5849fae in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4d4a740 (LWP 8883)):
[KCrash Handler]
#6  0xb174c7ce in Okular::Page::number (this=0xa355f60) at
/home/berny/devel/src/okular/core/page.cpp:160
#7  0xb189d5a6 in ThumbnailWidget::pageNumber (this=0xa71ca78) at
/home/berny/devel/src/okular/ui/thumbnaillist.cpp:113
#8  0xb189a82e in ThumbnailList::notifyPageChanged (this=0xa105530,
pageNumber=6, changedFlags=16) at
/home/berny/devel/src/okular/ui/thumbnaillist.cpp:351
#9  0xb172d2e0 in Okular::DocumentPrivate::notifyAnnotationChanges
(this=0xa0fc898, page=6) at /home/berny/devel/src/okular/core/document.cpp:2898
#10 0xb1723c9b in Okular::DocumentPrivate::performAddPageAnnotation
(this=0xa0fc898, page=6, annotation=0xba478c8) at
/home/berny/devel/src/okular/core/document.cpp:1057
#11 0xb174ed17 in Okular::PagePrivate::restoreLocalContents (this=0xb7ec0b0,
pageNode=...) at /home/berny/devel/src/okular/core/page.cpp:818
#12 0xb17215d2 in Okular::DocumentPrivate::loadDocumentInfo (this=0xa0fc898,
fileName=...) at /home/berny/devel/src/okular/core/document.cpp:644
#13 0xb172a2d2 in Okular::Document::openDocument (this=0xa0f1bb0, docFile=...,
url=..., _mime=...) at /home/berny/devel/src/okular/core/document.cpp:2200
#14 0xb1733413 in Okular::Document::openDocumentArchive (this=0xa0f1bb0,
docFile=..., url=...) at /home/berny/devel/src/okular/core/document.cpp:4084
#15 0xb17f9564 in Okular::Part::openFile (this=0xa0add50) at
/home/berny/devel/src/okular/part.cpp:1198
#16 0xb76aa5e4 in ?? () from /usr/lib/libkparts.so.4
#17 0xb76aac8e in KParts::ReadOnlyPart::openUrl(KUrl const&) () from
/usr/lib/libkparts.so.4
#18 0xb17fb747 in Okular::Part::slotDoFileDirty (this=0xa0add50) at
/home/berny/devel/src/okular/part.cpp:1604
#19 0xb1800efd in Okular::Part::qt_static_metacall (_o=0xa0add50,
_c=QMetaObject::InvokeMetaMethod, _id=65, _a=0xbf9f1e1c) at
/home/berny/devel/build/okular/part.moc:239
#20 0xb5d66cd2 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#21 0xb5db7ac5 in QTimer::timeout() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#22 0xb5d6ddf6 in QTimer::timerEvent(QTimerEvent*) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0xb5d64b04 in QObject::event(QEvent*) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb633a47c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb633ee7f in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb6ed66b1 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#27 0xb5d4e54e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#28 0xb5d83010 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#29 0xb5d801b8 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#30 0xb5d801f2 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#31 0xb51fd483 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb51fd820 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb51fd901 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb5d80831 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#35 0xb63ed1fa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0xb5d4d01c in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb5d4d311 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb5d52a8a in QCoreApplication::exec() () from
/usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0xb63382f4 in QApplication::exec() () from
/usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x0805001c in main (argc=1, argv=0xbf9f2784) at
/home/berny/devel/src/okular/shell/main.cpp:100

Report to https://bugs.kde.org

Reproducible: Sometimes

Steps to Reproduce:
I opened an okular document archive that already contained many annotations. I
added many more annotations. When saving the document archive I chose the same
name and agreed to the dialog asking whether I wanted to overwrite the existing
file. Then okular crashed. 
The file however was saved. It can be opened by okular and contains all the
notes that were recently added.
1.
2.
3.
Actual Results:  
Annotations saved to file, application crashed.

Expected Results:  
Save the file without crashing.

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


More information about the Okular-devel mailing list