Application: okular (0.10.3) KDE Platform Version: 4.4.3 (KDE 4.4.3) Qt Version: 4.6.2 Operating System: Linux 2.6.33.5-desktop-2mnb i686 Distribution: "Mandriva Linux 2010.1" -- Information about the crash: I just used the menu command "Import a PS file as a PDF". After committing the file open dialog, Okular crashed. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [Current thread is 1 (Thread 0xb56076d0 (LWP 13392))] Thread 3 (Thread 0xafc1fb70 (LWP 13410)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb5b4bc75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb601426d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6 #3 0xb6c5d020 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb6c5894e in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4 #5 0xb0f5f36c in ?? () from /usr/lib/kde4/okularGenerator_ghostview.so #6 0xb6c5bfcf in ?? () from /usr/lib/libQtCore.so.4 #7 0xb5b47ae5 in start_thread () from /lib/i686/libpthread.so.0 #8 0xb600603e in clone () from /lib/i686/libc.so.6 Thread 2 (Thread 0xaddffb70 (LWP 14798)): [KCrash Handler] #6 0xb008fe99 in ?? () from /usr/lib/libgs.so.8 #7 0xb0091a58 in jinit_memory_mgr () from /usr/lib/libgs.so.8 #8 0xafe7ba7a in jpeg_CreateDecompress (cinfo=0xa74149b8, version=80, structsize=484) at jdapimin.c:59 #9 0xa6a8f09e in DCTStream::init() () from /usr/lib/libpoppler.so.5 #10 0xa6a8f37d in DCTStream::DCTStream(Stream*, int) () from /usr/lib/libpoppler.so.5 #11 0xa6b26682 in Stream::makeFilter(char*, Stream*, Object*) () from /usr/lib/libpoppler.so.5 #12 0xa6b26f04 in Stream::addFilters(Object*) () from /usr/lib/libpoppler.so.5 #13 0xa6b1a9ea in Parser::makeStream(Object*, unsigned char*, CryptAlgorithm, int, int, int) () from /usr/lib/libpoppler.so.5 #14 0xa6b1b0ac in Parser::getObj(Object*, unsigned char*, CryptAlgorithm, int, int, int) () from /usr/lib/libpoppler.so.5 #15 0xa6b2c615 in XRef::fetch(int, int, Object*) () from /usr/lib/libpoppler.so.5 #16 0xa6b140b2 in Object::fetch(XRef*, Object*) () from /usr/lib/libpoppler.so.5 #17 0xa6ab727b in Dict::lookup(char*, Object*) () from /usr/lib/libpoppler.so.5 #18 0xa6ad3cb8 in GfxResources::lookupXObject(char*, Object*) () from /usr/lib/libpoppler.so.5 #19 0xa6ad91ac in Gfx::opXObject(Object*, int) () from /usr/lib/libpoppler.so.5 #20 0xa6ac7931 in Gfx::execOp(Object*, Object*, int) () from /usr/lib/libpoppler.so.5 #21 0xa6ac7f83 in Gfx::go(int) () from /usr/lib/libpoppler.so.5 #22 0xa6acb1bd in Gfx::display(Object*, int) () from /usr/lib/libpoppler.so.5 #23 0xa6b17be3 in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.5 #24 0xa6b1b936 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, int, int, int, int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.5 #25 0xae4b06b2 in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3 #26 0xae848ff4 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so #27 0xb6c5bfcf in ?? () from /usr/lib/libQtCore.so.4 #28 0xb5b47ae5 in start_thread () from /lib/i686/libpthread.so.0 #29 0xb600603e in clone () from /lib/i686/libc.so.6 Thread 1 (Thread 0xb56076d0 (LWP 13392)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb5ffab16 in poll () from /lib/i686/libc.so.6 #2 0xb5651c10 in _xcb_conn_wait (c=0x9905720, cond=0xbfa9215c, vector=0x0, count=0x0) at xcb_conn.c:316 #3 0xb5653c14 in xcb_wait_for_reply (c=0x9905720, request=74059, e=0xbfa921dc) at xcb_in.c:390 #4 0xb5bc033b in _XReply (dpy=0x9916da8, rep=0xbfa92210, extra=0, discard=1) at xcb_io.c:461 #5 0xb5bad76d in XQueryPointer (dpy=0x9916da8, w=179, root=0xbfa922ac, child=0xbfa922a8, root_x=0xbfa922a4, root_y=0xbfa922a0, win_x=0xbfa9229c, win_y=0xbfa92298, mask=0xbfa92294) at QuPntr.c:49 #6 0xb633421b in QCursor::pos() () from /usr/lib/libQtGui.so.4 #7 0xb2cb9530 in ?? () from /usr/lib/kde4/okularpart.so #8 0xb2bb734b in Okular::Document::setViewport(Okular::DocumentViewport const&, int, bool) () from /usr/lib/libokularcore.so.1 #9 0xb2bbe898 in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&) () from /usr/lib/libokularcore.so.1 #10 0xb2c5ea99 in ?? () from /usr/lib/kde4/okularpart.so #11 0xb7859537 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #12 0xb2c5132e in ?? () from /usr/lib/kde4/okularpart.so #13 0xb2c50baf in ?? () from /usr/lib/kde4/okularpart.so #14 0xb2c609a7 in ?? () from /usr/lib/kde4/okularpart.so #15 0xb6d6aded in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #16 0xb6d79c5a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #17 0xb6cf88dd in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib/libQtCore.so.4 #18 0xb6cfd384 in ?? () from /usr/lib/libQtCore.so.4 #19 0xb6cfd453 in QProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #20 0xb6d6aded in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #21 0xb6d79c5a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #22 0xb6dcc9d5 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 #23 0xb6d811bf in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 #24 0xb6293f1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #25 0xb629ad58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #26 0xb735a4a1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #27 0xb6d65a9e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #28 0xb6d929a8 in ?? () from /usr/lib/libQtCore.so.4 #29 0xb597ccbe in g_main_dispatch (context=0x98fec90) at gmain.c:1960 #30 IA__g_main_context_dispatch (context=0x98fec90) at gmain.c:2513 #31 0xb59809f8 in g_main_context_iterate (context=0x98fec90, block=<value optimized out>, dispatch=1, self=0x98fcba8) at gmain.c:2591 #32 0xb5980b9e in IA__g_main_context_iteration (context=0x98fec90, may_block=1) at gmain.c:2654 #33 0xb6d925c1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #34 0xb6354bda in ?? () from /usr/lib/libQtGui.so.4 #35 0xb6d640fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #36 0xb6d64549 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #37 0xb6d686d0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #38 0xb6293fc4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #39 0x0804e8a9 in _start () This bug may be a duplicate of or related to bug 240946, bug 224341. Possible duplicates by query: bug 240946, bug 224341. Reported using DrKonqi
Can you please attach, if not private, the PS document you want to open and its converted form to PDF using `ps2pdf thedocument.ps` in a console? Also, note Okular can open PostScript files directly, with no need to use the "Import a PS file as a PDF" function.
(In reply to comment #1) > Can you please attach, if not private, the PS document you want to open and its > converted form to PDF using `ps2pdf thedocument.ps` in a console? I sent it to you, Pino, in a private e-mail, if I remember well. > Also, note Okular can open PostScript files directly, with no need to use the > "Import a PS file as a PDF" function. OK, I know. I was just curious and trying how well the feature does.
Importing of that file works fine for me. If you can still reproduce this crash in newer KDE/Okular versions please reopen the bug. Thanks for caring about Okular :-)