Bug 197693

Summary: Okular crashes when closing Japanese pdf file with forms
Product: [Applications] okular Reporter: homoludens <homoludens1000>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description homoludens 2009-06-24 04:58:09 UTC
Version:            (using KDE 4.2.4)
Installed from:    SuSE RPMs

Okular crashes when closing Japanese pdf file with forms. Error report below.

pdf file can be provided at request.

---------------------------------

Application: Okular (okular), signal SIGSEGV
[Current thread is 1 (Thread 0xb605b700 (LWP 4414))]

Thread 1 (Thread 0xb605b700 (LWP 4414)):
[KCrash Handler]
#6  0xb2e8059e in Dict::~Dict() () from /usr/lib/libpoppler.so.4
#7  0xb2ed3727 in Object::free() () from /usr/lib/libpoppler.so.4
#8  0xb2e75f28 in NameTree::Entry::~Entry() () from /usr/lib/libpoppler.so.4
#9  0xb2e75f87 in NameTree::free() () from /usr/lib/libpoppler.so.4
#10 0xb2e760ae in Catalog::~Catalog() () from /usr/lib/libpoppler.so.4
#11 0xb2edb283 in PDFDoc::~PDFDoc() () from /usr/lib/libpoppler.so.4
#12 0xb2fd6171 in Poppler::Document::~Document() () from /usr/lib/libpoppler-qt4.so.3
#13 0xb3035469 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#14 0xb48ee5e6 in Okular::Generator::closeDocument() () from /usr/lib/libokularcore.so.1
#15 0xb48dd8c8 in Okular::Document::closeDocument() () from /usr/lib/libokularcore.so.1
#16 0xb498cb35 in ?? () from /usr/lib/kde4/okularpart.so
#17 0xb498d103 in ?? () from /usr/lib/kde4/okularpart.so
#18 0x0804f6ba in _start ()
Comment 1 homoludens 2009-06-24 05:15:46 UTC
Sorry, this is actually a CRASH and not simply a BUG. I forgot to change the relevant field.
Comment 2 Dario Andres 2009-06-24 16:10:31 UTC
Looks like a poppler bug. What is your "poppler" and "poppler-qt4" version ?
Thanks
Comment 3 homoludens 2009-06-24 16:46:02 UTC
There are the poppler-related packages that are installed on my system:

S | Name             | Type    | Version     | Arch   | Repository
--+------------------+---------+-------------+--------+---------------------
i | libpoppler-glib4 | package | 0.10.1-1.4  | i586   | openSUSE-11.1-Oss
i | libpoppler-qt4-3 | package | 0.10.1-1.4  | i586   | openSUSE-11.1-Oss
i | libpoppler4      | package | 0.10.1-1.4  | i586   | openSUSE-11.1-Oss
i | poppler-data     | package | 0.2.1-2.1.1 | noarch | openSUSE-11.1-Update
i | poppler-data     | patch   | 538         | noarch | openSUSE-11.1-Update
i | poppler-tools    | package | 0.10.1-1.4  | i586   | openSUSE-11.1-Oss

Are the relevant packages among them?
Comment 4 Dario Andres 2009-06-24 16:48:43 UTC
Yes, thanks
Comment 5 Pino Toscano 2009-06-24 19:38:36 UTC
Hi,

a first suggestion would be updating to Poppler 0.10.7, it could fix your problem. If that does not help, then please update a new bug in the Poppler's bug tracking system at https://bugs.freedesktop.org, "poppler" product.
This bug is closed as it represents a problem in another library which is not developed by KDE.
Comment 6 homoludens 2009-06-26 08:06:11 UTC
Thanks for your help. I've checked with the openSUSE repositories and Poppler 0.10.7 apparently isn't uploaded yet. I've tried to install 0.10.6 from the KDE 4.2 - Unstable repository, but this gets me into some compatibility issues with Okular, and I'm not smart enough to deal with those things ... I'll wait until v 0.10.7 is in the regular repositories, and then get back to this bug.