Bug 266964 - okular crashed while reloading a pdf file
Summary: okular crashed while reloading a pdf file
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 13:33 UTC by Sebastian
Modified: 2011-02-23 21:02 UTC (History)
0 users

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 Sebastian 2011-02-23 13:33:59 UTC
Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.38-4-generic-pae i686
Distribution: Ubuntu natty (development branch)

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

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb522e710 (LWP 16150))]

Thread 2 (Thread 0xaf91fb70 (LWP 16155)):
#0  0xb5641d31 in clock_gettime (clock_id=1, tp=0xaf91f000) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb627f708 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb634ba02 in updateCurrentTime (this=0x852021c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x852021c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb634a252 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf91f0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb634a2ed in timerSourcePrepare (source=0x85201e8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb57da134 in g_main_context_prepare (context=<value optimized out>, priority=0xaf91f14c) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:2761
#8  0xb57dafc3 in g_main_context_iterate (context=0x8520158, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3071
#9  0xb57db684 in g_main_context_iteration (context=0x8520158, may_block=1) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3154
#10 0xb634aa97 in QEventDispatcherGlib::processEvents (this=0x83926f8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb631c7c9 in QEventLoop::processEvents (this=0xaf91f290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb631ca62 in QEventLoop::exec (this=0xaf91f290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6226bd8 in QThread::exec (this=0x8511118) at thread/qthread.cpp:490
#14 0xb62fe71b in QInotifyFileSystemWatcherEngine::run (this=0x8511118) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6229659 in QThreadPrivate::start (arg=0x8511118) at thread/qthread_unix.cpp:285
#16 0xb588ee99 in start_thread (arg=0xaf91fb70) at pthread_create.c:304
#17 0xb5fd75fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb522e710 (LWP 16150)):
[KCrash Handler]
#7  0xafa0504d in UnicodeMap::mapUnicode (this=0x84bd820, u=65, buf=0xbff2477c "\364\357\251\257\020\024R\b(\265^\b\350G\362\277\315)\237\257\270G\362\277\270G\362\277\020\024R\b", bufSize=8) at UnicodeMap.cc:245
#8  0xafaf866f in Poppler::unicodeToQString (u=0x8531230, len=21) at poppler-private.cc:93
#9  0xafaf90a0 in Poppler::DocumentData::addTocChildren (this=0x84d7150, docSyn=0x84cb3a8, parent=0x84cb3a8, items=0x84b8730) at poppler-private.cc:239
#10 0xafad2f07 in Poppler::Document::toc (this=0x84a88a0) at poppler-document.cc:429
#11 0xafc4ae6c in PDFGenerator::generateDocumentSynopsis (this=0x8490ab0) at ../../../../okular/generators/poppler/generator_pdf.cpp:592
#12 0xb2a68f50 in Okular::Document::documentSynopsis (this=0x81668a8) at ../../okular/core/document.cpp:2010
#13 0xb2b82d9d in TOC::notifySetup (this=0x8161100, setupFlags=1) at ../../okular/ui/toc.cpp:75
#14 0xb2a7b630 in Okular::Document::openDocument (this=0x81668a8, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1667
#15 0xb2b08dcb in Okular::Part::openFile (this=0x8114e58) at ../../okular/part.cpp:955
#16 0xb775b744 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x8103ec0) at ../../kparts/part.cpp:592
#17 0xb775be12 in KParts::ReadOnlyPart::openUrl (this=0x8114e58, url=...) at ../../kparts/part.cpp:556
#18 0xb2b0507f in Okular::Part::slotDoFileDirty (this=0x8114e58) at ../../okular/part.cpp:1244
#19 0xb2b1334e in Okular::Part::qt_metacall (this=0x8114e58, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbff24f2c) at ./part.moc:244
#20 0xb6323bfa in QMetaObject::metacall (object=0x8114e58, cl=QMetaObject::InvokeMetaMethod, idx=73, argv=0xbff24f2c) at kernel/qmetaobject.cpp:237
#21 0xb63339ef in QMetaObject::activate (sender=0x8411c28, m=0xb64585a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#22 0xb6380797 in QTimer::timeout (this=0x8411c28) at .moc/release-shared/moc_qtimer.cpp:134
#23 0xb63398de in QTimer::timerEvent (this=0x8411c28, e=0xbff2544c) at kernel/qtimer.cpp:271
#24 0xb6332704 in QObject::event (this=0x8411c28, e=0xbff2544c) at kernel/qobject.cpp:1183
#25 0xb67f8584 in QApplicationPrivate::notify_helper (this=0x806e820, receiver=0x8411c28, e=0xbff2544c) at kernel/qapplication.cpp:4445
#26 0xb67fd08e in QApplication::notify (this=0xbff257e0, receiver=0x8411c28, e=0xbff2544c) at kernel/qapplication.cpp:3845
#27 0xb732527a in KApplication::notify (this=0xbff257e0, receiver=0x8411c28, event=0xbff2544c) at ../../kdeui/kernel/kapplication.cpp:311
#28 0xb631d5fb in QCoreApplication::notifyInternal (this=0xbff257e0, receiver=0x8411c28, event=0xbff2544c) at kernel/qcoreapplication.cpp:732
#29 0xb634d6e4 in sendEvent (this=0x8071a34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x8071a34) at kernel/qeventdispatcher_unix.cpp:603
#31 0xb634a314 in timerSourceDispatch (source=0x8071a00) at kernel/qeventdispatcher_glib.cpp:184
#32 0xb57dac08 in g_main_dispatch (context=0x8070c70) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:2440
#33 g_main_context_dispatch (context=0x8070c70) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3013
#34 0xb57db3d0 in g_main_context_iterate (context=0x8070c70, block=-1249986400, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3091
#35 0xb57db684 in g_main_context_iteration (context=0x8070c70, may_block=1) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3154
#36 0xb634aa5c in QEventDispatcherGlib::processEvents (this=0x8055a00, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#37 0xb68aa845 in QGuiEventDispatcherGlib::processEvents (this=0x8055a00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb631c7c9 in QEventLoop::processEvents (this=0xbff256e4, flags=...) at kernel/qeventloop.cpp:149
#39 0xb631ca62 in QEventLoop::exec (this=0xbff256e4, flags=...) at kernel/qeventloop.cpp:201
#40 0xb632140c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#41 0xb67f6427 in QApplication::exec () at kernel/qapplication.cpp:3719
#42 0x0804e6d8 in main (argc=) at ../../../okular/shell/main.cpp:82

Possible duplicates by query: bug 264667.

Reported using DrKonqi
Comment 1 Sebastian 2011-02-23 13:39:13 UTC
This might be a duplicate of bug 264667. I can't tell, that's why I filed a new bugreport.
Comment 2 Sebastian 2011-02-23 21:02:58 UTC
According to the poppler-people this will be fixed in libpoppler 0.16.3

So I'll wait for that and if it isn't I'll file a new report.