[Okular-devel] [Bug 240946] New: Okular crashes when opening a PDF

Nicolas Troncoso ntroncos at gmail.com
Sun Jun 6 21:50:44 CEST 2010


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

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


Application: okular (0.10.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-112.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Okular was already open with a document. It started that way when i loged into
my session.
When I tried to open an other document it crashed.

The crash does not seem to be reproducible.

 -- 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 0x7fb4bd019820 (LWP 2350))]

Thread 3 (Thread 0x7fb4b12b5710 (LWP 2628)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000361d27188b in wait (this=<value optimized out>, mutex=0x28ba6c0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28ba6c0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000361d26e380 in QSemaphore::acquire (this=0x2803350, n=1) at
thread/qsemaphore.cpp:142
#4  0x00007fb4b34964ff in GSRendererThread::run (this=0x2803340) at
/usr/src/debug/kdegraphics-4.4.3/okular/generators/spectre/rendererthread.cpp:50
#5  0x000000361d270995 in QThreadPrivate::start (arg=0x2803340) at
thread/qthread_unix.cpp:248
#6  0x0000003612a07761 in start_thread (arg=0x7fb4b12b5710) at
pthread_create.c:301
#7  0x00000036122e150d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb4a8153710 (LWP 3050)):
[KCrash Handler]
#5  0x00007fb4a007c380 in ?? ()
#6  0x00007fb4b28510be in jpeg_alloc (cinfo=0x7fb4a0077148, size=168,
info=0x7fb4b2b15028 "JPEG small internal data allocation") at base/sjpegc.c:199
#7  0x0000003625a1c307 in jinit_memory_mgr (cinfo=0x7fb4a0077148) at
./jmemmgr.c:1059
#8  0x0000003625a0e2e7 in jpeg_CreateDecompress (cinfo=0x7fb4a0077148,
version=<value optimized out>, structsize=632) at ./jdapimin.c:58
#9  0x00007fb4a8400e85 in DCTStream::init (this=0x7fb4a0077120) at
DCTStream.cc:94
#10 0x00007fb4a8401043 in DCTStream::DCTStream (this=0x7fb4a0077120,
strA=<value optimized out>, colorXformA=<value optimized out>) at
DCTStream.cc:62
#11 0x00007fb4a8470b45 in Stream::makeFilter (this=0x7fb4a0076fc0, name=<value
optimized out>, str=0x7fb4a0076fc0, params=<value optimized out>) at
Stream.cc:269
#12 0x00007fb4a84712ac in Stream::addFilters (this=0x7fb4a0076fc0,
dict=0x7fb4a81526b0) at Stream.cc:142
#13 0x00007fb4a8467bf2 in Parser::makeStream (this=<value optimized out>,
dict=0x7fb4a81526b0, fileKey=<value optimized out>, encAlgorithm=<value
optimized out>, keyLength=<value optimized out>, 
    objNum=194, objGen=0) at Parser.cc:241
#14 0x00007fb4a8467ed2 in Parser::getObj (this=0x7fb4a007f9c0,
obj=0x7fb4a81526b0, fileKey=0x0, encAlgorithm=<value optimized out>,
keyLength=<value optimized out>, objNum=194, objGen=0)
    at Parser.cc:109
#15 0x00007fb4a8475bab in XRef::fetch (this=0x28c12d0, num=194, gen=<value
optimized out>, obj=0x7fb4a81526b0) at XRef.cc:963
#16 0x00007fb4a8431f86 in dictLookup (this=<value optimized out>,
name=0x7fb4a0076a20 "Im1", obj=0x7fb4a81526b0) at Object.h:301
#17 GfxResources::lookupXObject (this=<value optimized out>,
name=0x7fb4a0076a20 "Im1", obj=0x7fb4a81526b0) at Gfx.cc:393
#18 0x00007fb4a8436fc3 in Gfx::opXObject (this=0x7fb4a0007ec0, args=<value
optimized out>, numArgs=<value optimized out>) at Gfx.cc:3703
#19 0x00007fb4a8425d8d in Gfx::go (this=0x7fb4a0007ec0, topLevel=<value
optimized out>) at Gfx.cc:671
#20 0x00007fb4a8428ff4 in Gfx::display (this=0x7fb4a0007ec0,
obj=0x7fb4a8152a90, topLevel=1) at Gfx.cc:640
#21 0x00007fb4a8466240 in Page::displaySlice (this=0x2ee5a70,
out=0x7fb4a0001f10, hDPI=<value optimized out>, vDPI=<value optimized out>,
rotate=-1475010400, useMediaBox=0, 
    crop=<value optimized out>, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1,
printing=0, catalog=0x29ad200, abortCheckCbk=0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0, annotDisplayDecideCbkData=
    0x0) at Page.cc:474
#22 0x00007fb4a8773cee in Poppler::Page::renderToImage (this=0x7fb4a00013e0,
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
#23 0x00007fb4a89c6cf5 in PDFPixmapGeneratorThread::run (this=0x2c9a640) at
/usr/src/debug/kdegraphics-4.4.3/okular/generators/poppler/generator_pdf.cpp:1836
#24 0x000000361d270995 in QThreadPrivate::start (arg=0x2c9a640) at
thread/qthread_unix.cpp:248
#25 0x0000003612a07761 in start_thread (arg=0x7fb4a8153710) at
pthread_create.c:301
#26 0x00000036122e150d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb4bd019820 (LWP 2350)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000361d270183 in QMutexPrivate::wait (this=0x2f21130, timeout=-1) at
thread/qmutex_unix.cpp:84
#2  0x000000361d26cb45 in QMutex::lock (this=0x28db4c0) at
thread/qmutex.cpp:205
#3  0x00007fb4a89c2e35 in PDFGenerator::embeddedFiles (this=0x28bca00) at
/usr/src/debug/kdegraphics-4.4.3/okular/generators/poppler/generator_pdf.cpp:703
#4  0x00007fb4b527e3c3 in Okular::Part::openFile (this=0x2576290) at
/usr/src/debug/kdegraphics-4.4.3/okular/part.cpp:943
#5  0x0000003625e21c17 in KParts::ReadOnlyPart::openUrl (this=0x2576290,
url=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kparts/part.cpp:557
#6  0x00007fb4b5272d7a in Okular::Part::openUrl (this=0x2576290, _url=<value
optimized out>) at /usr/src/debug/kdegraphics-4.4.3/okular/part.cpp:1049
#7  0x000000000040918a in Shell::openUrl (this=0x2553ac0, url=...) at
/usr/src/debug/kdegraphics-4.4.3/okular/shell/shell.cpp:130
#8  0x00000000004098db in Shell::fileOpen (this=0x2553ac0) at
/usr/src/debug/kdegraphics-4.4.3/okular/shell/shell.cpp:250
#9  0x0000000000409b54 in Shell::qt_metacall (this=0x2553ac0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff5d0e4d0)
    at
/usr/src/debug/kdegraphics-4.4.3/x86_64-redhat-linux-gnu/okular/shell/shell.moc:90
#10 0x000000361d36a81f in QMetaObject::activate (sender=0x27e71e0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff5d0e4d0)
at kernel/qobject.cpp:3293
#11 0x000000361fba5a92 in QAction::triggered (this=<value optimized out>,
_t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x000000361fba71cb in QAction::activate (this=0x27e71e0, event=<value
optimized out>) at kernel/qaction.cpp:1255
#13 0x000000361ffaa505 in QMenuPrivate::activateCausedStack (this=0x2868ad0,
causedStack=..., action=0x27e71e0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1011
#14 0x000000361ffaf8fa in QMenuPrivate::activateAction (this=0x2868ad0,
action=0x27e71e0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1103
#15 0x0000003620ed045e in KMenu::mouseReleaseEvent (this=0x285fb00, e=<value
optimized out>) at /usr/src/debug/kdelibs-4.4.3/kdeui/widgets/kmenu.cpp:471
#16 0x000000361fbf5aba in QWidget::event (this=0x285fb00, event=0x7ffff5d0f120)
at kernel/qwidget.cpp:7998
#17 0x000000361ffb18bb in QMenu::event (this=0x285fb00, e=0x7ffff5d0f120) at
widgets/qmenu.cpp:2414
#18 0x000000361fbaaa0c in QApplicationPrivate::notify_helper (this=0x2461570,
receiver=0x285fb00, e=0x7ffff5d0f120) at kernel/qapplication.cpp:4300
#19 0x000000361fbb11ad in QApplication::notify (this=<value optimized out>,
receiver=0x285fb00, e=0x7ffff5d0f120) at kernel/qapplication.cpp:3865
#20 0x0000003620e06da6 in KApplication::notify (this=0x7ffff5d0fe20,
receiver=0x285fb00, event=0x7ffff5d0f120) at
/usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#21 0x000000361d357cdc in QCoreApplication::notifyInternal
(this=0x7ffff5d0fe20, receiver=0x285fb00, event=0x7ffff5d0f120) at
kernel/qcoreapplication.cpp:704
#22 0x000000361fbb039e in sendEvent (receiver=0x285fb00, event=0x7ffff5d0f120,
alienWidget=0x0, nativeWidget=0x285fb00, buttonDown=0x362062b128,
lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QApplicationPrivate::sendMouseEvent (receiver=0x285fb00,
event=0x7ffff5d0f120, alienWidget=0x0, nativeWidget=0x285fb00,
buttonDown=0x362062b128, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#24 0x000000361fc2283d in QETWidget::translateMouseEvent (this=0x285fb00,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4307
#25 0x000000361fc20d3c in QApplication::x11ProcessEvent (this=0x7ffff5d0fe20,
event=0x7ffff5d0fa40) at kernel/qapplication_x11.cpp:3506
#26 0x000000361fc49d12 in x11EventSourceDispatch (s=0x24652d0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x0000003613e3bd02 in g_main_dispatch (context=0x2463a20) at gmain.c:1960
#28 IA__g_main_context_dispatch (context=0x2463a20) at gmain.c:2513
#29 0x0000003613e3fae8 in g_main_context_iterate (context=0x2463a20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2591
#30 0x0000003613e3fc9c in IA__g_main_context_iteration (context=0x2463a20,
may_block=1) at gmain.c:2654
#31 0x000000361d37d603 in QEventDispatcherGlib::processEvents (this=0x2449c70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x000000361fc499de in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#33 0x000000361d356722 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x000000361d3569ec in QEventLoop::exec (this=0x7ffff5d0fd70, flags=...) at
kernel/qeventloop.cpp:201
#35 0x000000361d358cd9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#36 0x0000000000408049 in main (argc=3, argv=0x7ffff5d10408) at
/usr/src/debug/kdegraphics-4.4.3/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