Bug 277768 - Crashed on opening PDF
Summary: Crashed on opening PDF
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 16:41 UTC by Eric Roberts
Modified: 2011-11-15 23:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
generated PDF failed to open (55.57 KB, application/pdf)
2011-07-15 14:23 UTC, Eric Roberts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Roberts 2011-07-14 16:41:25 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:  Opening a downloaded PDF.

- Unusual behavior I noticed:  Other PDF viewing programs had the same behavior.

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

Thread 3 (Thread 0x7fc7b199f700 (LWP 4176)):
#0  0x00007fc7b956b203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc7b5452009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc7b54527b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fc7b20d63c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fc7b54777e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fc7b851c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fc7b957792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc79a105700 (LWP 4194)):
[KCrash Handler]
#6  0x00007fc79a1ac945 in AnnotGeometry::draw (this=0x7fc7ac014e20, gfx=0x7fc7ac007790, printing=<value optimized out>) at Annot.cc:4388
#7  0x00007fc79a215f2d in Page::displaySlice (this=<value optimized out>, out=<value optimized out>, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=<value optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x27292c0, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:492
#8  0x00007fc79a53737b in Poppler::Page::renderToImage (this=0x7fc7ac000cc0, 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
#9  0x00007fc79a7a1ac5 in PDFPixmapGeneratorThread::run (this=0x2624220) at ../../../../okular/generators/poppler/generator_pdf.cpp:1851
#10 0x00007fc7b9e0a27e in QThreadPrivate::start (arg=0x2624220) at thread/qthread_unix.cpp:266
#11 0x00007fc7b851c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007fc7b957792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7bc324760 (LWP 4175)):
#0  0x00007fc7b956b203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc7b37022da in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fc7b3703f4c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007fc7b6ff9993 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007fc7b6fe6fe0 in XQueryPointer () from /usr/lib/libX11.so.6
#5  0x00007fc7ba947cdd in QCursor::pos () at kernel/qcursor_x11.cpp:158
#6  0x00007fc79fb2812b in PageView::notifyViewportChanged (this=0x265aa00, smoothMove=false) at ../../okular/ui/pageview.cpp:925
#7  0x00007fc79f8176a3 in Okular::Document::setViewport (this=0x25741b0, viewport=..., excludeId=-1, smoothMove=false) at ../../okular/core/document.cpp:2443
#8  0x00007fc79f81f05d in Okular::Document::openDocument (this=0x25741b0, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>) at ../../okular/core/document.cpp:1649
#9  0x00007fc79fad609a in Okular::Part::openFile (this=0x25601c0) at ../../okular/part.cpp:934
#10 0x00007fc7bbf05987 in KParts::ReadOnlyPart::openUrl (this=0x25601c0, url=<value optimized out>) at ../../kparts/part.cpp:557
#11 0x00007fc79facaafa in Okular::Part::openUrl (this=0x25601c0, _url=<value optimized out>) at ../../okular/part.cpp:1055
#12 0x0000000000408dfa in Shell::openUrl (this=0x24991c0, url=...) at ../../../okular/shell/shell.cpp:133
#13 0x000000000040971c in Shell::qt_metacall (this=0x24991c0, _c=QMetaObject::InvokeMetaMethod, _id=-1, _a=0x26fedb0) at ./shell.moc:94
#14 0x00007fc7b9f0fbde in QObject::event (this=0x24991c0, e=0x7fffbb738f60) at kernel/qobject.cpp:1219
#15 0x00007fc7ba90a6df in QWidget::event (this=0x24991c0, event=0x26e1950) at kernel/qwidget.cpp:8646
#16 0x00007fc7bacf241b in QMainWindow::event (this=0x24991c0, event=0x26e1950) at widgets/qmainwindow.cpp:1417
#17 0x00007fc7bb725c93 in KXmlGuiWindow::event (this=0x7fffbb738f60, ev=0x1) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:132
#18 0x00007fc7ba8b4fdc in QApplicationPrivate::notify_helper (this=0x22b28c0, receiver=0x24991c0, e=0x26e1950) at kernel/qapplication.cpp:4396
#19 0x00007fc7ba8baaed in QApplication::notify (this=0x7fffbb73ae70, receiver=0x24991c0, e=0x26e1950) at kernel/qapplication.cpp:4277
#20 0x00007fc7bb608586 in KApplication::notify (this=0x7fffbb73ae70, receiver=0x24991c0, event=0x26e1950) at ../../kdeui/kernel/kapplication.cpp:310
#21 0x00007fc7b9efdcdc in QCoreApplication::notifyInternal (this=0x7fffbb73ae70, receiver=0x24991c0, event=0x26e1950) at kernel/qcoreapplication.cpp:732
#22 0x00007fc7b9f00c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x229a350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x229a350) at kernel/qcoreapplication.cpp:1373
#24 0x00007fc7b9f2a653 in sendPostedEvents (s=0x22b64a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x22b64a0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007fc7b544e342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007fc7b54522a8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007fc7b545245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007fc7b9f2a193 in QEventDispatcherGlib::processEvents (this=0x2299e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00007fc7ba967a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffbb738f60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fc7b9efca02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fc7b9efcdec in QEventLoop::exec (this=0x7fffbb73adc0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fc7b9f00ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x000000000040807c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Pino Toscano 2011-07-14 16:48:58 UTC
(In reply to comment #0)
> - What I was doing when the application crashed:  Opening a downloaded PDF.

Can you please attach the document, if publically distribuitable?

> - Unusual behavior I noticed:  Other PDF viewing programs had the same
> behavior.

Of course, because the crash happens in the PDF library (called Poppler) used also in most of other free software PDF viewers (like evince, epdfview, etc).
Comment 2 Eric Roberts 2011-07-15 14:23:38 UTC
Created attachment 61895 [details]
generated PDF failed to open

This PDF will not open.  When I click on it, it acts like it is about to open and then the program (document viewer) just disappears.
Comment 3 Eric Roberts 2011-07-15 14:24:53 UTC
Attached is a PDF that will not open.  I haven't tried other pdf's yet, but as i get more info, i will pass it on.
Comment 4 Albert Astals Cid 2011-07-18 11:47:30 UTC
Which poppler version are you using?
Can you please run okular from the shell and paste the output here?
Comment 5 Albert Astals Cid 2011-11-15 23:53:51 UTC
4 month and no answer, closing the bug. If you can provide the answers, please reopen the bug.