Application: okular (0.25.0) KDE Platform Version: 4.14.22 Qt Version: 4.8.7 Operating System: Linux 4.6.4-1-ARCH x86_64 Distribution (Platform): Archlinux Packages -- Information about the crash: - What I was doing when the application crashed: I extracted a page of a pdf file with pdfmod. When openning this extracted page with okular, it crash - Custom settings of the application: The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [KCrash Handler] #6 0x00007f3f0e6e804f in raise () from /usr/lib/libc.so.6 #7 0x00007f3f0e6e947a in abort () from /usr/lib/libc.so.6 #8 0x00007f3efae9afc8 in PDFDoc::getDocInfoStringEntry(char const*) () from /usr/lib/libpoppler.so.63 #9 0x00007f3efb204402 in Poppler::Document::info(QString const&) const () from /usr/lib/libpoppler-qt4.so.4 #10 0x00007f3efb45dc33 in PDFGenerator::metaData(QString const&, QVariant const&) const () from /usr/lib/kde4/okularGenerator_poppler.so #11 0x00007f3efee6d257 in Okular::Document::metaData(QString const&, QVariant const&) const () from /usr/lib/libokularcore.so.7 #12 0x00007f3eff1ca02f in Okular::Part::setWindowTitleFromDocument() () from /usr/lib/kde4/okularpart.so #13 0x00007f3eff1da8b5 in ?? () from /usr/lib/kde4/okularpart.so #14 0x00007f3f0f211590 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #15 0x00007f3f1162bae2 in KParts::ReadOnlyPartPrivate::openLocalFile() () from /usr/lib/libkparts.so.4 #16 0x00007f3f1162e3ad in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #17 0x00007f3eff1cf333 in Okular::Part::openUrl(KUrl const&) () from /usr/lib/kde4/okularpart.so #18 0x00000000004111fe in Shell::openUrl(KUrl const&, QString const&) () #19 0x000000000041141c in Shell::openDocument(QString const&, QString const&) () #20 0x000000000040c658 in Okular::main(QStringList const&, QString const&) () #21 0x000000000040b470 in main () Reported using DrKonqi
Can you please attach the file?
Created attachment 100539 [details] pdf file extracted with pdfmod
It works for me. Is your okular/poppler too old? Mine is $okular --version Qt: 4.8.7 KDE: 4.14.22 Okular: 0.25.0 $apt show libpoppler-dev Package: libpoppler-dev Version: 0.44.0-3 on an up-to-date Debian Testing.
I have se same version: $okular --version Qt: 4.8.7 Plataforma de desarrollo de KDE: 4.14.22 Okular: 0.25.0 up-to-date archlinux
Hmm, strange. Can you get a backtrace with debug symbols?
Sorry, I do not know how to do that...
I don't know how to do it on ArchLinux. DuckDuckGo gave me the following link, which appears to go into the right direction: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
In archlinux, the only way is to recompile. For example, install the aur version: https://aur.archlinux.org/packages/okular-git
The problem is that it might be also in kpart, so maybe you'll need to do the same for the whole chain.
According to the original trace, the segfault happens in poppler, so maybe you should start with that.
I'm using ArchLinux too and I see the same problem. It seems that it's indeed a problem with poppler, because after downgrading poppler, poppler-glib, poppler-qt4 and poppler-qt5 from the current v. 0.46.0-2 to v. 0.42.0-1 I haven't seen any okular crashes anymore.
Downgrading these packages also worked for me. No more okular crashes.
bug in poppler 0.46, use a newer or older version.