Bug 362446 - Okular crashed wen open document with cyrillic characterset
Summary: Okular crashed wen open document with cyrillic characterset
Status: RESOLVED NOT A BUG
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: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-28 21:58 UTC by Theodor Mueller
Modified: 2016-05-03 07:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
pdf document received from goverment (test data, fake personal data ) (165.35 KB, application/pdf)
2016-04-29 11:08 UTC, Theodor Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Theodor Mueller 2016-04-28 21:58:01 UTC
Application: okular (0.24.2)
KDE Platform Version: 4.14.18
Qt Version: 4.8.6
Operating System: Linux 4.1.20-11-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
open downloaded document. tried from different user on the same system with alway the same indication.
tried also libre-office to open , failed also. Only firefox was able to open the document. 
KDE is installed during suse 42.1 system installation as binary package

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f54c9d7700b in XRef::getNumEntry(long long) () at /usr/lib64/libpoppler.so.44
#7  0x00007f54c9d583fe in Lexer::getObj(Object*, char const*, int) () at /usr/lib64/libpoppler.so.44
#8  0x00007f54c9d62b8e in Parser::makeStream(Object*, unsigned char*, CryptAlgorithm, int, int, int, int, bool) () at /usr/lib64/libpoppler.so.44
#9  0x00007f54c9d63268 in Parser::getObj(Object*, bool, unsigned char*, CryptAlgorithm, int, int, int, int, bool) () at /usr/lib64/libpoppler.so.44
#10 0x00007f54c9d75b9c in XRef::readXRef(long long*, std::vector<long long, std::allocator<long long> >*, std::vector<int, std::allocator<int> >*) () at /usr/lib64/libpoppler.so.44
#11 0x00007f54c9d75db9 in XRef::XRef(BaseStream*, long long, long long, bool*, bool) () at /usr/lib64/libpoppler.so.44
#12 0x00007f54c9d66edf in PDFDoc::setup(GooString*, GooString*) () at /usr/lib64/libpoppler.so.44
#13 0x00007f54c9d67108 in PDFDoc::PDFDoc(GooString*, GooString*, GooString*, void*) () at /usr/lib64/libpoppler.so.44
#14 0x00007f54ca0baac9 in Poppler::Document::load(QString const&, QByteArray const&, QByteArray const&) () at /usr/lib64/libpoppler-qt4.so.4
#15 0x00007f54ca311941 in  () at /usr/lib64/kde4/okularGenerator_poppler.so
#16 0x00007f54ce5a2285 in  () at /usr/lib64/libokularcore.so.7
#17 0x00007f54ce5a27dc in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&, QString const&) () at /usr/lib64/libokularcore.so.7
#18 0x00007f54ce8b4f53 in Okular::Part::doOpenFile(KSharedPtr<KMimeType> const&, QString const&, bool*) () at /usr/lib64/kde4/okularpart.so
#19 0x00007f54ce8b625d in Okular::Part::openFile() () at /usr/lib64/kde4/okularpart.so
#20 0x00007f54df516fa7 in  () at /usr/lib64/libkparts.so.4
#21 0x00007f54df51858e in KParts::ReadOnlyPart::openUrl(KUrl const&) () at /usr/lib64/libkparts.so.4
#22 0x00007f54ce8ab01b in Okular::Part::openUrl(KUrl const&) () at /usr/lib64/kde4/okularpart.so
#23 0x000000000040fe84 in _start ()

Possible duplicates by query: bug 335413.

Reported using DrKonqi
Comment 1 Theodor Mueller 2016-04-28 22:03:48 UTC
On my second system I am able to open the file with Okular version 0.23.1 on KDE 4.14.9
Comment 2 Albert Astals Cid 2016-04-28 22:34:44 UTC
which poppler version are you running?

please attach the document
Comment 3 Theodor Mueller 2016-04-29 11:08:13 UTC
Created attachment 98681 [details]
pdf document received from goverment (test data, fake personal data )

new created document, without real personal information. It fails in the same way than the original document. 
for poppler the following products are installed 
libpoppler-cpp.so -> libpoppler-cpp.so.0.2.1
libpoppler-cpp.so.0 -> libpoppler-cpp.so.0.2.1
libpoppler-cpp.so.0.2.1
libpoppler-glib.la
libpoppler-glib.so -> libpoppler-glib.so.8
libpoppler-glib.so.8 -> libpoppler-glib.so.8.7.0
libpoppler-glib.so.8.7.0
libpoppler.la
libpoppler-qt4.so.4 -> libpoppler-qt4.so.4.3.0
libpoppler-qt4.so.4.3.0
libpoppler-qt5.so.1 -> libpoppler-qt5.so.1.0.0
libpoppler-qt5.so.1.0.0
libpoppler.so -> libpoppler.so.44
libpoppler.so.44 -> libpoppler.so.44.0.0
libpoppler.so.44.0.0
Comment 4 Albert Astals Cid 2016-05-01 22:19:04 UTC
What's the poppler version on the system that you say it works?
Comment 5 Theodor Mueller 2016-05-02 17:55:58 UTC
on he working system the following libraries from poppler are installed 
libpoppler-glib.so.8 -> libpoppler-glib.so.8.6.0
libpoppler-glib.so.8.6.0
libpoppler-qt4.so.4 -> libpoppler-qt4.so.4.4.0
libpoppler-qt4.so.4.4.0
libpoppler.so.46 -> libpoppler.so.46.0.0
libpoppler.so.46.0.0
the version of ocular on that system is 0.21.3
the version of KDE is 4.14.9
the distribution is opensuse 42.1
teh kernel is 4.1.20-11-default
Comment 6 Albert Astals Cid 2016-05-02 20:17:13 UTC
So you're using old poppler and it crashes and in a system with a newer poppler it works. Update the old poppler.
Comment 7 Theodor Mueller 2016-05-03 07:37:13 UTC
correction the distribution of the working system is opensuse 13.2
the kernel of the working system is 3.16.7-35-desktop
----
updating from the opensuse site did not fix the problem.
updating with the package from the page https://poppler.freedesktop.org/ 
and installing the package poppler-0.42.0 fixed the problem.
i updated than to poppler-0.43.0 which works also fine.