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

Piotr Mitas yabolus at gmail.com
Sun Jan 30 21:44:03 CET 2011


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


Piotr Mitas <yabolus at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #10 from Piotr Mitas <yabolus gmail com>  2011-01-30 21:44:00 ---
Hi again,

I upgraded to poppler 0.16.2, which according to it's website fixed this issue.
I can still see the crashes however, though they are less frequent. I'm
reopening the bug. Here's the backtrace with the new version of poppler.



Application: Okular (okular), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fa75a269760 (LWP 13710))]

Thread 3 (Thread 0x7fa748201700 (LWP 13711)):
#0  0x00007fa757517203 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa757e7af9c in QProcessManager::run (this=0x7fa7581ccf60) at
io/qprocess_unix.cpp:245
#2  0x00007fa757db274e in QThreadPrivate::start (arg=0x7fa7581ccf60) at
thread/qthread_unix.cpp:285
#3  0x00007fa7558a7d4c in start_thread (arg=0x7fa748201700) at
pthread_create.c:301
#4  0x00007fa75751da7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fa746690700 (LWP 19533)):
#0  pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa757db18a3 in QMutexPrivate::wait (this=0x20cc7a0, timeout=-1) at
thread/qmutex_unix.cpp:84
#2  0x00007fa757dae33d in QMutex::lock (this=0x20cd6b0) at
thread/qmutex.cpp:204
#3  0x00007fa7477e8b2f in PDFPixmapGeneratorThread::run (this=0x2092c60) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/generators/poppler/generator_pdf.cpp:1836
#4  0x00007fa757db274e in QThreadPrivate::start (arg=0x2092c60) at
thread/qthread_unix.cpp:285
#5  0x00007fa7558a7d4c in start_thread (arg=0x7fa746690700) at
pthread_create.c:301
#6  0x00007fa75751da7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fa75a269760 (LWP 13710)):
[KCrash Handler]
#6  UnicodeMap::mapUnicode (this=0x20af0f0, u=101, buf=0x7fff3bcd4a40 "",
bufSize=<value optimized out>) at
/usr/src/debug/app-text/poppler-0.16.2/poppler-0.16.2/poppler/UnicodeMap.cc:245
#7  0x00007fa747586101 in Poppler::unicodeToQString (u=<value optimized out>,
len=6) at
/usr/src/debug/app-text/poppler-0.16.2/poppler-0.16.2/qt4/src/poppler-private.cc:93
#8  0x00007fa747586b5c in Poppler::DocumentData::addTocChildren
(this=0x1d84860, docSyn=0x2078040, parent=0x2078040, items=0x25c3ab0) at
/usr/src/debug/app-text/poppler-0.16.2/poppler-0.16.2/qt4/src/poppler-private.cc:239
#9  0x00007fa7475734c0 in Poppler::Document::toc (this=0x1ff8570) at
/usr/src/debug/app-text/poppler-0.16.2/poppler-0.16.2/qt4/src/poppler-document.cc:429
#10 0x00007fa7477e5a60 in PDFGenerator::generateDocumentSynopsis
(this=0x2091fa0) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/generators/poppler/generator_pdf.cpp:592
#11 0x00007fa74bd57819 in TOC::notifySetup (this=0x1df0080, setupFlags=<value
optimized out>) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/ui/toc.cpp:75
#12 0x00007fa74ba111db in Okular::Document::openDocument (this=0x1df98e0,
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 0x00007fa74bcebada in Okular::Part::openFile (this=0x1d13530) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/part.cpp:955
#14 0x00007fa759e6d650 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=0x1d35230) at
/usr/src/debug/kde-base/kdelibs-4.6.0/kdelibs-4.6.0/kparts/part.cpp:592
#15 0x00007fa759e6dc96 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 0x00007fa74bce7e9e in Okular::Part::slotDoFileDirty (this=0x1d13530) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/part.cpp:1244
#17 0x00007fa74bcf4105 in Okular::Part::qt_metacall (this=0x1d13530,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0x7fff3bcd5940) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0_build/okular/part.moc:244
#18 0x00007fa757eaeba7 in QMetaObject::activate (sender=0x1f76250, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3272
#19 0x00007fa757eae3d9 in QObject::event (this=0x1f76250, e=<value optimized
out>) at kernel/qobject.cpp:1175
#20 0x00007fa75886e734 in QApplicationPrivate::notify_helper (this=0x1c712b0,
receiver=0x1f76250, e=0x7fff3bcd6080) at kernel/qapplication.cpp:4445
#21 0x00007fa75887321a in QApplication::notify (this=<value optimized out>,
receiver=0x1f76250, e=0x7fff3bcd6080) at kernel/qapplication.cpp:4324
#22 0x00007fa75956bff6 in KApplication::notify (this=0x7fff3bcd63c0,
receiver=0x1f76250, event=0x7fff3bcd6080) at
/usr/src/debug/kde-base/kdelibs-4.6.0/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007fa757e9a55b in QCoreApplication::notifyInternal
(this=0x7fff3bcd63c0, receiver=0x1f76250, event=0x7fff3bcd6080) at
kernel/qcoreapplication.cpp:732
#24 0x00007fa757ec7c6e in sendEvent (this=0x1c75030) at
../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x1c75030) at
kernel/qeventdispatcher_unix.cpp:603
#26 0x00007fa757ec4d18 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 0x00007fa75445d262 in g_main_dispatch (context=0x1c73d20) at gmain.c:2149
#29 g_main_context_dispatch (context=0x1c73d20) at gmain.c:2702
#30 0x00007fa75445da40 in g_main_context_iterate (context=0x1c73d20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2780
#31 0x00007fa75445dcdd in g_main_context_iteration (context=0x1c73d20,
may_block=1) at gmain.c:2843
#32 0x00007fa757ec53df in QEventDispatcherGlib::processEvents (this=0x1c57e60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007fa758912f2e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fa757e99922 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fa757e99b64 in QEventLoop::exec (this=0x7fff3bcd6310, flags=...) at
kernel/qeventloop.cpp:201
#36 0x00007fa757e9dfcb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#37 0x0000000000408f98 in main (argc=2, argv=0x7fff3bcd69a8) at
/usr/src/debug/kde-base/okular-4.6.0/okular-4.6.0/okular/shell/main.cpp:82

-- 
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