Bug 163802

Summary: Okular crashes while opening a PDF file
Product: [Applications] okular Reporter: Jose Couto <coque.couto>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jose Couto 2008-06-11 17:16:35 UTC
Version:           0.6.80 (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.25-2-686

Okular crashes when trying to view this file:

http://www.juniper.net/solutions/literature/white_papers/200103.pdf

Great work. Regards.
Comment 1 Pino Toscano 2008-06-11 17:26:23 UTC
Can you please attach a backtrace of the crash?
Which poppler-qt4 version is used for Okular?
Comment 2 Tobias Koenig 2008-06-11 20:41:10 UTC
On Wed, Jun 11, 2008 at 03:26:24PM -0000, Pino Toscano wrote:
Hej,

> Can you please attach a backtrace of the crash?
> Which poppler-qt4 version is used for Okular?

Reproducable here with a somewhat older version of poppler (git).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb318eb90 (LWP 3447)]
0xb328f089 in OCGs::findOcgByRef (this=0x82891f8, ref=@0xb318dd14) at
/mnt/archive/src/poppler/poppler/OptionalContent.cc:156
156       for (int i=0; i < optionalContentGroups->getLength(); ++i) {
(gdb) bt
#0  0xb328f089 in OCGs::findOcgByRef (this=0x82891f8, ref=@0xb318dd14) at /mnt/archive/src/poppler/poppler/OptionalContent.cc:156
#1  0xb329009c in OCGs::optContentIsVisible (this=0x82891f8, dictRef=0xb318dd50) at /mnt/archive/src/poppler/poppler/OptionalContent.cc:201
#2  0xb324c96e in Gfx::opBeginMarkedContent (this=0x82bdcb8, args=0xb318de00, numArgs=2) at /mnt/archive/src/poppler/poppler/Gfx.cc:4142
#3  0xb324bdb2 in Gfx::execOp (this=0x82bdcb8, cmd=0xb318dfa0, args=0xb318de00, numArgs=2) at /mnt/archive/src/poppler/poppler/Gfx.cc:740
#4  0xb324bf80 in Gfx::go (this=0x82bdcb8, topLevel=1) at /mnt/archive/src/poppler/poppler/Gfx.cc:611
#5  0xb324c687 in Gfx::display (this=0x82bdcb8, obj=0xb318e07c, topLevel=1) at /mnt/archive/src/poppler/poppler/Gfx.cc:580
#6  0xb32935fa in Page::displaySlice (this=0x826d5d8, out=0x82b8500, hDPI=9.1764705882352935, vDPI=9.1818181818181817, rotate=0,
    useMediaBox=0, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1,
    printing=0, catalog=0x826d538, abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at /mnt/archive/src/poppler/poppler/Page.cc:414

Ciao,
Tobias
Comment 3 Albert Astals Cid 2008-06-11 21:47:20 UTC
Should be fixed in poppler 0.8.3