[Okular-devel] [Bug 264667] New: okular crashed while reloading a pdf file

Piotr Mitas yabolus at gmail.com
Fri Jan 28 19:14:19 CET 2011


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

           Summary: okular crashed while reloading a pdf file
           Product: okular
           Version: 0.12
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: yabolus at gmail.com


Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-pf2 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I was writing a document in latex. I rebuilt the pdf file, Okular tried to
reload it and crashed. I tried rebuilding it a few times and was able to
reproduce the issue, but it crashed only some of the times. I can upload a pdf
file that does this on request. It happens with at least 2 different files
(both generated by pdflatex).

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  UnicodeMap::mapUnicode (this=0x1b989c0, u=87, buf=0x7fffdfa60fa0 "\r",
bufSize=8) at
/usr/src/debug/app-text/poppler-0.16.1/poppler-0.16.1/poppler/UnicodeMap.cc:220
#7  0x00007fc7dbbb9ff9 in Poppler::unicodeToQString (u=<value optimized out>,
len=5) at
/usr/src/debug/app-text/poppler-0.16.1/poppler-0.16.1/qt4/src/poppler-private.cc:91
#8  0x00007fc7dbbbaa5c in Poppler::DocumentData::addTocChildren
(this=0x1cf06c0, docSyn=0x1a09930, parent=0x1a09930, items=0x1bcba60) at
/usr/src/debug/app-text/poppler-0.16.1/poppler-0.16.1/qt4/src/poppler-private.cc:237
#9  0x00007fc7dbba7410 in Poppler::Document::toc (this=0x1b91660) at
/usr/src/debug/app-text/poppler-0.16.1/poppler-0.16.1/qt4/src/poppler-document.cc:429
#10 0x00007fc7dbde4a60 in PDFGenerator::generateDocumentSynopsis
(this=0x1805b50) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/generators/poppler/generator_pdf.cpp:592
#11 0x00007fc7e43b3819 in TOC::notifySetup (this=0x19251e0, setupFlags=<value
optimized out>) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/ui/toc.cpp:75
#12 0x00007fc7e406f1db in Okular::Document::openDocument (this=0x192ea50,
docFile=<value optimized out>, url=<value optimized out>, _mime=<value
optimized out>) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/core/document.cpp:1667
#13 0x00007fc7e4347ada in Okular::Part::openFile (this=0x1818de0) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/part.cpp:955
#14 0x00007fc7f24c3650 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=0x183e040) at
/usr/src/debug/kde-base/kdelibs-4.6.0/kdelibs-4.6.0/kparts/part.cpp:592
#15 0x00007fc7f24c3c96 in KParts::ReadOnlyPart::openUrl (this=<value optimized
out>, url=...) at
/usr/src/debug/kde-base/kdelibs-4.6.0/kdelibs-4.6.0/kparts/part.cpp:556
#16 0x00007fc7e4343e9e in Okular::Part::slotDoFileDirty (this=0x1818de0) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/part.cpp:1244
#17 0x00007fc7e4350105 in Okular::Part::qt_metacall (this=0x1818de0,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0x7fffdfa61ea0) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0_build/okular/part.moc:244
#18 0x00007fc7f0504ba7 in QMetaObject::activate (sender=0x1aa97e0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3272
#19 0x00007fc7f05043d9 in QObject::event (this=0x1aa97e0, e=<value optimized
out>) at kernel/qobject.cpp:1175
#20 0x00007fc7f0ec4734 in QApplicationPrivate::notify_helper (this=0x17a92b0,
receiver=0x1aa97e0, e=0x7fffdfa625e0) at kernel/qapplication.cpp:4445
#21 0x00007fc7f0ec921a in QApplication::notify (this=<value optimized out>,
receiver=0x1aa97e0, e=0x7fffdfa625e0) at kernel/qapplication.cpp:4324
#22 0x00007fc7f1bc1ff6 in KApplication::notify (this=0x7fffdfa62920,
receiver=0x1aa97e0, event=0x7fffdfa625e0) at
/usr/src/debug/kde-base/kdelibs-4.6.0/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007fc7f04f055b in QCoreApplication::notifyInternal
(this=0x7fffdfa62920, receiver=0x1aa97e0, event=0x7fffdfa625e0) at
kernel/qcoreapplication.cpp:732
#24 0x00007fc7f051dc6e in sendEvent (this=0x17ad030) at
../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x17ad030) at
kernel/qeventdispatcher_unix.cpp:603
#26 0x00007fc7f051ad18 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#27 idleTimerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:231
#28 0x00007fc7ecab9262 in g_main_dispatch (context=0x17abd20) at gmain.c:2149
#29 g_main_context_dispatch (context=0x17abd20) at gmain.c:2702
#30 0x00007fc7ecab9a40 in g_main_context_iterate (context=0x17abd20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2780
#31 0x00007fc7ecab9cdd in g_main_context_iteration (context=0x17abd20,
may_block=1) at gmain.c:2843
#32 0x00007fc7f051b3df in QEventDispatcherGlib::processEvents (this=0x178fe60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007fc7f0f68f2e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fc7f04ef922 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fc7f04efb64 in QEventLoop::exec (this=0x7fffdfa62870, flags=...) at
kernel/qeventloop.cpp:201
#36 0x00007fc7f04f3fcb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#37 0x0000000000408f98 in main (argc=2, argv=0x7fffdfa62f08) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/shell/main.cpp:82

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list