Version: (using KDE 4.1.2) OS: Linux Installed from: RedHat RPMs Using latest rpms from kde-redhat, okular crashes on opening a pdf file that has portions of the text highlighted. A non-highlighted version of the same document doesn't cause a crash. (I don't know what program was used to make the highlights). I can email the offending file. Evince also crashes on this file, but xpdf opens it fine. Backtrace: Application: Okular (okular), signal SIGABRT (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb80a6770 (LWP 28360)] [New Thread 0xb5464b90 (LWP 28380)] [KCrash handler] #6 0x00110416 in __kernel_vsyscall () #7 0x003c5660 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0x003c7028 in abort () at abort.c:88 #9 0x0040264d in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #10 0x00408874 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=<value optimized out>) at malloc.c:5949 #11 0x0040a8d6 in __libc_free (mem=<value optimized out>) at malloc.c:3625 #12 0x00a3d461 in operator delete (ptr=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/del_op.cc:49 #13 0x065d8f6f in Object::free () from /usr/lib/libpoppler.so.3 #14 0x0656a68f in AnnotText::initialize () from /usr/lib/libpoppler.so.3 #15 0x06573ae1 in AnnotText::AnnotText () from /usr/lib/libpoppler.so.3 #16 0x0657699a in Annots::createAnnot () from /usr/lib/libpoppler.so.3 #17 0x0657729a in Annots::Annots () from /usr/lib/libpoppler.so.3 #18 0x065dcf66 in Page::displaySlice () from /usr/lib/libpoppler.so.3 #19 0x065e0df0 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3 #20 0x005df178 in Poppler::Page::renderToImage () from /usr/lib/libpoppler-qt4.so.3 #21 0x0033dea3 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so #22 0x038138ae in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:185 #23 0x0053e32f in start_thread (arg=<value optimized out>) at pthread_create.c:297 #24 0x0047920e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb80a6770 (LWP 28360)): #0 0x00110416 in __kernel_vsyscall () #1 0x00487583 in __lll_lock_wait_private () from /lib/libc.so.6 #2 0x0040e0dd in _L_lock_4627 () from /lib/libc.so.6 #3 0x0040a8ca in __libc_free (mem=<value optimized out>) at malloc.c:3623 #4 0x0380e0fd in qFree (ptr=) at global/qmalloc.cpp:56 #5 0x03857a10 in QString::free (d=<value optimized out>) at tools/qstring.cpp:928 #6 0x0384ad9b in ~QRegExp (this=<value optimized out>) at ../../src/corelib/tools/qstring.h:825 #7 0x003c8b39 in exit (status=<value optimized out>) at exit.c:75 #8 0x058c560b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:584 #9 0x02b4fe4a in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5 #10 0x02b4fe86 in ?? () from /usr/lib/libkdeui.so.5 #11 0x006dcbb2 in _XIOError (dpy=<value optimized out>) at XlibInt.c:2940 #12 0x006e4c15 in process_responses (dpy=<value optimized out>, wait_for_first_event=<value optimized out>, current_error=<value optimized out>, current_request=<value optimized out>) at xcb_io.c:180 #13 0x006e5435 in _XEventsQueued (dpy=<value optimized out>, mode=<value optimized out>) at xcb_io.c:197 #14 0x006cd49f in XEventsQueued (dpy=<value optimized out>, mode=<value optimized out>) at Pending.c:44 #15 0x058fe33a in x11EventSourcePrepare (s=<value optimized out>, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:75 #16 0x05119f12 in IA__g_main_context_prepare (context=<value optimized out>, priority=<value optimized out>) at gmain.c:2332 #17 0x0511a39a in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=) at gmain.c:2625 #18 0x0511a871 in IA__g_main_context_iteration ( context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2708 #19 0x0392ea28 in QEventDispatcherGlib::processEvents ( this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319 #20 0x058fe105 in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:198 #21 0x039029ca in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:143 #22 0x03902b8a in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:194 #23 0x03905235 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #24 0x05864e07 in QApplication::exec () at kernel/qapplication.cpp:3331 #25 0x0804dadf in _start ()
This looks like a bug in an old 0.8.x version of poppler-qt4. (less than 0.8.4 or so). Please update your poppler installation.
That sorted it - thanks. I was on 0.8.1 and updated to 0.8.7 and all fine. Thanks.