Bug 208389 - Okular crashes on opening PDF
Summary: Okular crashes on opening PDF
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 14:50 UTC by Seb
Modified: 2009-09-26 14:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seb 2009-09-24 14:50:23 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

Okular crashes on opening the PDF being found in

http://www.arbeiterkammer.at/bilder/d46/AK-Mietrecht2006.pdf

Acroread is doing fine. 

I use: Okular from KDE 4.3.1 (openSuse 11.1 Factory), poppler 0.10.1-1.4

Okular opens the windows for a moment, then it crashes.

terminal output:
> okular: Fatal IO error: client killed
Comment 1 Dario Andres 2009-09-25 01:06:15 UTC
It doesn't crash for me here using:

Qt: 4.5.2 (KDE-Qt git commit 0bd84180cd0a6ae5c5eb18c0d3ed74228434608d
        Date:   Mon Aug 24 13:56:57 2009 +0200)
KDE: 4.3.68 (KDE 4.3.68 (KDE 4.4 >= 20090916))
kdelibs svn rev. 1026327 / kdebase svn rev. 1026327
kdegraphics svn rev. 1026180
poppler 0.10.7
on ArchLinux i686 - Kernel 2.6.30.6

-

If you can reproduce the crash at will (or you experience this regularly), can you install the "kdegraphics4-debuginfo" package and post a complete backtrace here? Thanks
Comment 2 Seb 2009-09-25 16:01:05 UTC
I did install the debuginfo package.

It says "The information are senseless"; the only message was:
> Application: Okular (okular), signal: Floating point exception

Running it in GDB gives me:

#0  0x00007ffff0ec646f in ?? () from /usr/lib64/libfreetype.so.6
#1  0x00007ffff0ec65c0 in ?? () from /usr/lib64/libfreetype.so.6
#2  0x00007ffff0ec683b in ?? () from /usr/lib64/libfreetype.so.6
#3  0x00007ffff0ecab8d in ?? () from /usr/lib64/libfreetype.so.6
#4  0x00007ffff0ecaf7e in ?? () from /usr/lib64/libfreetype.so.6
#5  0x00007ffff0eab490 in ?? () from /usr/lib64/libfreetype.so.6
#6  0x00007ffff0ead8de in FT_Open_Face () from /usr/lib64/libfreetype.so.6
#7  0x00007ffff0eae700 in FT_New_Memory_Face () from /usr/lib64/libfreetype.so.6
#8  0x00007fffe8e066eb in SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*, SplashFontSrc*, char**) ()
   from /usr/lib64/libpoppler.so.4
#9  0x00007fffe8e074a4 in SplashFontEngine::loadType1CFont(SplashFontFileID*, SplashFontSrc*, char**) () from /usr/lib64/libpoppler.so.4
#10 0x00007fffe8d31f5a in SplashOutputDev::doUpdateFont(GfxState*) () from /usr/lib64/libpoppler.so.4
#11 0x00007fffe8d3223c in SplashOutputDev::drawChar(GfxState*, double, double, double, double, double, double, unsigned int, int, unsigned int*, int) () from /usr/lib64/libpoppler.so.4
#12 0x00007fffe8d719f2 in Gfx::doShowText(GooString*) () from /usr/lib64/libpoppler.so.4
#13 0x00007fffe8d74e1d in Gfx::opShowSpaceText(Object*, int) () from /usr/lib64/libpoppler.so.4
#14 0x00007fffe8d68b4d in Gfx::go(int) () from /usr/lib64/libpoppler.so.4
#15 0x00007fffe8d6d106 in Gfx::display(Object*, int) () from /usr/lib64/libpoppler.so.4
#16 0x00007fffe8db0a10 in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib64/libpoppler.so.4
#17 0x00007fffe90c600d in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const ()
   from /usr/lib64/libpoppler-qt4.so.3
#18 0x00007fffe9327aab in ?? () from /usr/lib64/kde4/okularGenerator_poppler.so
#19 0x00007ffff5e52e65 in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00007ffff5bdf070 in start_thread () from /lib64/libpthread.so.0
#21 0x00007ffff462310d in clone () from /lib64/libc.so.6
#22 0x0000000000000000 in ?? ()


The segfault happes allways with the same file (it never happened before using other files) and on two computers, both using openSuse 11.1 with latest patches.

Versions:
okular: 4.3.1-122.3
libpoppler4: 0.10.1-1.6.10
freetype2: 2.3.7-24.2.1
gcc: 4.3-34.243
glibc: 2.9-2.11.1
kernel-default: 2.6.27.29-0.1.1
Comment 3 Dario Andres 2009-09-25 16:42:47 UTC
The crash seems related to freetype2 and/or Poppler..
I have freetype2 2.3.9 here...
Thanks
Comment 4 Albert Astals Cid 2009-09-26 14:30:26 UTC
The problem is freetype 2.3.7 i have confirmed that it crashes with 2.3.7 and that it works with 2.3.9 (that is the only change in the system)

Tell opensuse guys to update their freetype to something newer