Bug 222231 - okular crashes when opening PDF file
Summary: okular crashes when opening PDF file
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 15:30 UTC by Henning Schnoor
Modified: 2010-01-25 21:27 UTC (History)
0 users

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 Henning Schnoor 2010-01-11 15:30:23 UTC
Version:           okular 0.9.80 on KDE 4.3.90 (4.4 RC1) (using Devel)
OS:                Linux
Installed from:    Compiled sources

After starting okular, the first page of the PDF is shown for about one second, then the application crashes. This happens since I updated from KDE 4.3 to KDE SC 4.4 beta 2, and still happens after an upgrade to RC1. The following is the output on the terminal (after simply running okular document.pdf):

okular(6557)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-USENAME/ksycoca4"
okular(6557)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6557)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(6557)/kdecore (trader): query for mimeType  "application/pdf" ,  "okular/Generator"  : returning  1  offers
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1674x1255@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1674x1255@1
okular(6557)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1674x1255@0 async == true
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1450x1087@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1450x1087@1
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1450x1087@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1450x1087@1
okular(6557)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1450x1087@0 async == true
okular(6557)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1450x1087@1 async == true
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@1
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@2
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@3
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@4
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@5
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@6
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@7
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@8
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@9
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@10
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@11
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=4 50x37@12
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1447x1085@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1447x1085@1
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1447x1085@0
okular(6557)/okular (app) Okular::Document::requestPixmaps: request id=3 1447x1085@1
okular(6557)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1447x1085@0 async == true
okular(6557)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 50x37@0 async == true
Bogus memory allocation size
Unable to start Dr. Konqi

Happens every time I open a pdf.
Comment 1 Pino Toscano 2010-01-11 15:39:33 UTC
What is your Poppler version?
What is your distro?
Comment 2 Henning Schnoor 2010-01-11 16:38:38 UTC
Sorry for the missing information, here it is:

Distribution: openSUSE 11.1 with KDE packages from Factory (currentle 4.4 RC1)
Poppler version:

> rpm -qa | grep poppler
libpoppler4-0.10.1-1.7.1
poppler-tools-0.10.1-1.7.1
libpoppler-qt3-devel-0.10.1-1.7.1
libpoppler-devel-0.10.1-1.7.1
libpoppler-glib4-0.10.1-1.7.1
libpoppler-qt4-3-0.10.1-1.7.1
libpoppler-qt4-devel-0.10.1-1.7.1
poppler-data-0.2.1-2.1.1
libpoppler-qt2-0.10.1-1.7.1
Comment 3 Albert Astals Cid 2010-01-11 21:42:08 UTC
Does it happen with any pdf or with a specific one? If it's a specific one can you please attach it?
Comment 4 Henning Schnoor 2010-01-12 07:43:24 UTC
It does not happen with every PDF, but with all the ones that I have created with pdflatex recently. An example is http://www.ti.informatik.uni-kiel.de/wp-content/uploads/krypto_0910/praesenzuebung_01_folien.pdf.
Comment 5 Albert Astals Cid 2010-01-12 22:10:55 UTC
It works for me.
That poppler version is quite old, is there any chance you can update to a newer one?
Comment 6 Henning Schnoor 2010-01-12 23:05:32 UTC
I'll try - do you know an openSUSE repository with an updated version? Thanks!
Comment 7 Albert Astals Cid 2010-01-12 23:29:55 UTC
No idea sorry
Comment 8 Henning Schnoor 2010-01-13 06:39:58 UTC
Do you think it's likely that the problem is with poppler, given that these PDF files worked with okular from KDE 4.3, using the same poppler version?
Comment 9 Albert Astals Cid 2010-01-13 09:50:37 UTC
You have a sane thought there, the problem is i am thinking that opensuse guys compiled these packages against a newer poppler and this is why it is crashing for you that use the old one. Since it is working just fine for me.

You could try reporting a bug in the opensuse bug tracker.
Comment 10 Albert Astals Cid 2010-01-13 09:52:00 UTC
You have a sane thought there, the problem is i am thinking that opensuse guys compiled these packages against a newer poppler and this is why it is crashing for you that use the old one. Since it is working just fine for me.

You could try reporting a bug in the opensuse bug tracker.
Comment 11 Pino Toscano 2010-01-18 12:53:10 UTC
> Bogus memory allocation size

This is coming from Poppler, the version OpenSUSE ships unfortunately has that issue.
Comment 12 Henning Schnoor 2010-01-25 21:27:40 UTC
Hi,

just wanted to confirm that this bug seems to be gone in openSuSE 11.2, so I guess this is not a KDE issue. I am now enjoying KDE SC 4.4 RC2, thanks for the hard work on this, seems to be great!

Thanks,
   Henning