[Okular-devel] [Bug 235805] New: Okular crashes when opening PDF document

johan.gill at gmail.com johan.gill at gmail.com
Fri Apr 30 13:38:23 CEST 2010


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

           Summary: Okular crashes when opening PDF document
           Product: okular
           Version: 0.10.2
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: johan.gill at gmail.com


Application: okular (0.10.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.2-57.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
When opening a PDF document downloaded from the web (will attach it, it's a
public document), okular crashes.


The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162    62:    movl    (%rsp), %edi
[Current thread is 1 (Thread 0x7fa82fd6e820 (LWP 3966))]

Thread 2 (Thread 0x7fa82251a710 (LWP 3969)):
[KCrash Handler]
#5  decRef (this=0x7fa81c01c1d0) at Stream.h:86
#6  Object::free (this=0x7fa81c01c1d0) at Object.cc:142
#7  0x00007fa82283b264 in ObjectStream::~ObjectStream (this=0x7fa81c008350,
__in_chrg=<value optimized out>) at XRef.cc:185
#8  0x00007fa82283c85a in XRef::fetch (this=0xcc0e20, num=19, gen=<value
optimized out>, obj=0x7fa822519790) at XRef.cc:976
#9  0x00007fa82280496a in GfxFontDict::GfxFontDict (this=0x7fa81c081090,
xref=<value optimized out>, fontDictRef=<value optimized out>, fontDict=<value
optimized out>) at GfxFont.cc:2089
#10 0x00007fa8227d0aea in AnnotWidget::generateFieldAppearance
(this=0x7fa81c013c00) at Annot.cc:3169
#11 0x00007fa8227d1c06 in AnnotWidget::draw (this=0x7fa81c013c00,
gfx=0x7fa81c0080c0, printing=<value optimized out>) at Annot.cc:3434
#12 0x00007fa82282d2fd in Page::displaySlice (this=<value optimized out>,
out=<value optimized out>, hDPI=<value optimized out>, vDPI=<value optimized
out>, rotate=1, useMediaBox=575772560, 
    crop=<value optimized out>, sliceX=<value optimized out>, sliceY=-1,
sliceW=-1, sliceH=-1, printing=0, catalog=0xcc1050, abortCheckCbk=0,
abortCheckCbkData=0x0, annotDisplayDecideCbk=0, 
    annotDisplayDecideCbkData=0x0) at Page.cc:492
#13 0x00007fa822b3acee in Poppler::Page::renderToImage (this=0x7fa81c0013e0,
xres=<value optimized out>, yres=<value optimized out>, x=<value optimized
out>, y=<value optimized out>, w=-1, h=-1, 
    rotate=Poppler::Page::Rotate0) at poppler-page.cc:211
#14 0x00007fa822d8dcf5 in PDFPixmapGeneratorThread::run (this=0xf48170) at
/usr/src/debug/kdegraphics-4.4.2/okular/generators/poppler/generator_pdf.cpp:1836
#15 0x0000003fa7e70995 in QThreadPrivate::start (arg=0xf48170) at
thread/qthread_unix.cpp:248
#16 0x0000003f9d207951 in start_thread (arg=0x7fa82251a710) at
pthread_create.c:301
#17 0x0000003f9c6e4d3d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fa82fd6e820 (LWP 3966)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fa7e70183 in QMutexPrivate::wait (this=0x11b69c0, timeout=-1) at
thread/qmutex_unix.cpp:84
#2  0x0000003fa7e6cb45 in QMutex::lock (this=0x110edb0) at
thread/qmutex.cpp:205
#3  0x00007fa822d89e35 in PDFGenerator::embeddedFiles (this=0xce8c90) at
/usr/src/debug/kdegraphics-4.4.2/okular/generators/poppler/generator_pdf.cpp:703
#4  0x00007fa827bad3c3 in Okular::Part::openFile (this=0xd4a020) at
/usr/src/debug/kdegraphics-4.4.2/okular/part.cpp:943
#5  0x0000003fb1a21c17 in KParts::ReadOnlyPart::openUrl (this=0xd4a020,
url=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kparts/part.cpp:557
#6  0x00007fa827ba1d7a in Okular::Part::openUrl (this=0xd4a020, _url=<value
optimized out>) at /usr/src/debug/kdegraphics-4.4.2/okular/part.cpp:1049
#7  0x000000000040918a in Shell::openUrl (this=0xd2ab50, url=...) at
/usr/src/debug/kdegraphics-4.4.2/okular/shell/shell.cpp:130
#8  0x0000000000409aac in Shell::qt_metacall (this=0xd2ab50,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2afa4c50)
    at
/usr/src/debug/kdegraphics-4.4.2/x86_64-redhat-linux-gnu/okular/shell/shell.moc:94
#9  0x0000003fa7f6a81f in QMetaObject::activate (sender=0x1113970, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3293
#10 0x0000003fa7f6feff in QSingleShotTimer::timerEvent (this=0x1113970) at
kernel/qtimer.cpp:308
#11 0x0000003fa7f66a2e in QObject::event (this=0x1113970, e=0x7fff2afa53b0) at
kernel/qobject.cpp:1212
#12 0x0000003fabbaaa0c in QApplicationPrivate::notify_helper (this=0xc5c4d0,
receiver=0x1113970, e=0x7fff2afa53b0) at kernel/qapplication.cpp:4300
#13 0x0000003fabbb09db in QApplication::notify (this=<value optimized out>,
receiver=0x1113970, e=0x7fff2afa53b0) at kernel/qapplication.cpp:4183
#14 0x0000003fa9a06da6 in KApplication::notify (this=0x7fff2afa5700,
receiver=0x1113970, event=0x7fff2afa53b0) at
/usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#15 0x0000003fa7f57cdc in QCoreApplication::notifyInternal
(this=0x7fff2afa5700, receiver=0x1113970, event=0x7fff2afa53b0) at
kernel/qcoreapplication.cpp:704
#16 0x0000003fa7f804a2 in sendEvent (this=0xc601a0) at
kernel/qcoreapplication.h:215
#17 QTimerInfoList::activateTimers (this=0xc601a0) at
kernel/qeventdispatcher_unix.cpp:603
#18 0x0000003fa7f7d914 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#19 0x0000003f9de3bd02 in g_main_dispatch (context=0xc5f120) at gmain.c:1960
#20 IA__g_main_context_dispatch (context=0xc5f120) at gmain.c:2513
#21 0x0000003f9de3fae8 in g_main_context_iterate (context=0xc5f120,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:2591
#22 0x0000003f9de3fc9c in IA__g_main_context_iteration (context=0xc5f120,
may_block=1) at gmain.c:2654
#23 0x0000003fa7f7d603 in QEventDispatcherGlib::processEvents (this=0xc44c70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x0000003fabc499de in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#25 0x0000003fa7f56722 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x0000003fa7f569ec in QEventLoop::exec (this=0x7fff2afa5650, flags=...) at
kernel/qeventloop.cpp:201
#27 0x0000003fa7f58cd9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#28 0x0000000000408049 in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdegraphics-4.4.2/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