Announcement

Collapse
No announcement yet.

Okular always crashes

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Okular always crashes

    Hi all,

    Since moving up to Trusty (14.04 Desktop 64b), I've not been able to use Okular even once. It crashes immediately when clicking on a pdf to load (via nemo). I can open Okular manually, but it then crashes when I attempt to load a pdf via file -> open.

    Here's a terminal session. This is a straight open and close of Okular with no problem (but without loading a document):
    Code:
    $ okular
    Bus::open: Can not get ibus-daemon's address. 
    IBusInputContext::createInputContext: no connection to ibus-daemon 
    $
    After loading Okular, I clicked on a file in "open recent":
    Code:
    $ okular
    Bus::open: Can not get ibus-daemon's address. 
    IBusInputContext::createInputContext: no connection to ibus-daemon 
    Xlib:  extension "RANDR" missing on display ":0".
    Xlib:  extension "RANDR" missing on display ":0".
    Can't get XRandR version 
    okular: Fatal IO error: client killed
    $
    Here's one where I clicked on open then selected a pdf that had not been loaded before:
    Code:
    $ okular
    Bus::open: Can not get ibus-daemon's address. 
    IBusInputContext::createInputContext: no connection to ibus-daemon 
    Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
    Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
    Xlib:  extension "RANDR" missing on display ":0".
    Xlib:  extension "RANDR" missing on display ":0".
    Can't get XRandR version 
    okular: Fatal IO error: client killed
    KCrash: Application 'okular' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    sock_file=/home/me/.kde/socket-wstation/kdeinit4__0
    
    [1]+  Stopped                 okular
    $
    This one was was also followd by a KDE Crash Handler dialog with this shown on the Developer information tab:
    Code:
    Application: Okular (okular), signal: Segmentation fault
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [Current thread is 1 (Thread 0x7f1cf5a4c7c0 (LWP 11590))]
    
    Thread 3 (Thread 0x7f1cdef73700 (LWP 11591)):
    #0  0x00007f1cf2a57fbd in poll () at ../sysdeps/unix/syscall-template.S:81
    #1  0x00007f1cef640fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #2  0x00007f1cef6410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #3  0x00007f1cf34597be in QEventDispatcherGlib::processEvents (this=0x7f1cd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
    #4  0x00007f1cf342b0af in QEventLoop::processEvents (this=this@entry=0x7f1cdef72de0, flags=...) at kernel/qeventloop.cpp:149
    #5  0x00007f1cf342b3a5 in QEventLoop::exec (this=this@entry=0x7f1cdef72de0, flags=...) at kernel/qeventloop.cpp:204
    #6  0x00007f1cf3327c5f in QThread::exec (this=this@entry=0x12869a0) at thread/qthread.cpp:537
    #7  0x00007f1cf340c823 in QInotifyFileSystemWatcherEngine::run (this=0x12869a0) at io/qfilesystemwatcher_inotify.cpp:265
    #8  0x00007f1cf332a32f in QThreadPrivate::start (arg=0x12869a0) at thread/qthread_unix.cpp:349
    #9  0x00007f1cefb20182 in start_thread (arg=0x7f1cdef73700) at pthread_create.c:312
    #10 0x00007f1cf2a6530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
    
    Thread 2 (Thread 0x7f1cddd30700 (LWP 11592)):
    #0  0x00007f1cf2a566bd in read () at ../sysdeps/unix/syscall-template.S:81
    #1  0x00007f1cef681c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #2  0x00007f1cef640b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #3  0x00007f1cef640f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #4  0x00007f1cef6410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #5  0x00007f1cf34597be in QEventDispatcherGlib::processEvents (this=0x7f1cd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
    #6  0x00007f1cf342b0af in QEventLoop::processEvents (this=this@entry=0x7f1cddd2fde0, flags=...) at kernel/qeventloop.cpp:149
    #7  0x00007f1cf342b3a5 in QEventLoop::exec (this=this@entry=0x7f1cddd2fde0, flags=...) at kernel/qeventloop.cpp:204
    #8  0x00007f1cf3327c5f in QThread::exec (this=this@entry=0x139e080) at thread/qthread.cpp:537
    #9  0x00007f1cf340c823 in QInotifyFileSystemWatcherEngine::run (this=0x139e080) at io/qfilesystemwatcher_inotify.cpp:265
    #10 0x00007f1cf332a32f in QThreadPrivate::start (arg=0x139e080) at thread/qthread_unix.cpp:349
    #11 0x00007f1cefb20182 in start_thread (arg=0x7f1cddd30700) at pthread_create.c:312
    #12 0x00007f1cf2a6530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
    
    Thread 1 (Thread 0x7f1cf5a4c7c0 (LWP 11590)):
    [KCrash Handler]
    #5  QObject::thread (this=0x0) at kernel/qobject.cpp:1370
    #6  0x00007f1cf38cf45e in KDBusConnectionPool::threadConnection() () from /usr/lib/libkdecore.so.5
    #7  0x00007f1cf5070fdc in ?? () from /usr/lib/libkio.so.5
    #8  0x00007f1cf507166a in OrgKdeKDirNotifyInterface::emitLeftDirectory(QString const&) () from /usr/lib/libkio.so.5
    #9  0x00007f1cf505a447 in ?? () from /usr/lib/libkio.so.5
    #10 0x00007f1cf505a4f9 in ?? () from /usr/lib/libkio.so.5
    #11 0x00007f1cf29a6509 in __run_exit_handlers (status=1, listp=0x7f1cf2d296c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
    #12 0x00007f1cf29a6555 in __GI_exit (status=<optimized out>) at exit.c:104
    #13 0x00007f1cf3e85878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
    #14 0x00007f1cf4b28760 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
    #15 0x00007f1cf198a5ee in _XIOError (dpy=dpy@entry=0xc21250) at ../../src/XlibInt.c:1498
    #16 0x00007f1cf1987a8e in require_socket (dpy=0xc21250) at ../../src/xcb_io.c:70
    #17 0x00007f1cf1988259 in _XFlush (dpy=0xc21250) at ../../src/xcb_io.c:511
    #18 0x00007f1cf198ac75 in _XGetRequest (dpy=dpy@entry=0xc21250, type=type@entry=4 '\004', len=len@entry=8) at ../../src/XlibInt.c:1735
    #19 0x00007f1cf196865c in XDestroyWindow (dpy=0xc21250, w=44040471) at ../../src/DestWind.c:40
    #20 0x00007f1cdc587d1c in XRandRX11Helper::~XRandRX11Helper (this=0x184e820, __in_chrg=<optimized out>) at /build/buildd/libkscreen-1.0.2/backends/xrandr/xrandrx11helper.cpp:62
    #21 0x00007f1cdc587d49 in XRandRX11Helper::~XRandRX11Helper (this=0x184e820, __in_chrg=<optimized out>) at /build/buildd/libkscreen-1.0.2/backends/xrandr/xrandrx11helper.cpp:64
    #22 0x00007f1cdc585f97 in XRandR11::~XRandR11 (this=0x1530b90, __in_chrg=<optimized out>) at /build/buildd/libkscreen-1.0.2/backends/xrandr1.1/xrandr11.cpp:67
    #23 0x00007f1cdc585fc9 in XRandR11::~XRandR11 (this=0x1530b90, __in_chrg=<optimized out>) at /build/buildd/libkscreen-1.0.2/backends/xrandr1.1/xrandr11.cpp:68
    #24 0x00007f1ce2bf9f69 in BackendLoader::init () at /build/buildd/libkscreen-1.0.2/src/backendloader.cpp:67
    #25 0x00007f1ce2bfa809 in KScreen::Config::current () at /build/buildd/libkscreen-1.0.2/src/config.cpp:58
    #26 0x00007f1ce3942402 in Okular::Utils::realDpi (widgetOnScreen=0xe0f1d0) at ../core/utils.cpp:102
    #27 0x00007f1ce391d0db in Okular::DocumentPrivate::openDocumentInternal (this=0xe01580, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=...) at ../core/document.cpp:939
    #28 0x00007f1ce391d745 in Okular::Document::openDocument (this=0xddb660, docFile=..., url=..., _mime=...) at ../core/document.cpp:2225
    #29 0x00007f1ce3bdfc0c in Okular::Part::openFile (this=0xdc0a70) at ../part.cpp:1244
    #30 0x00007f1cf5637c47 in ?? () from /usr/lib/libkparts.so.4
    #31 0x00007f1cf563922e in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
    #32 0x00007f1ce3bd4f5b in Okular::Part::openUrl (this=0xdc0a70, _url=...) at ../part.cpp:1394
    #33 0x000000000040f117 in Shell::openUrl (this=this@entry=0xd76d40, url=...) at ../../shell/shell.cpp:246
    #34 0x0000000000410393 in Shell::fileOpen (this=0xd76d40) at ../../shell/shell.cpp:409
    #35 0x0000000000410645 in Shell::qt_static_metacall (_o=0x0, _id=-1618656112, _a=0x7fff9f8551f0, _c=<optimized out>) at ./shell.moc:100
    #36 0x00007f1cf344087a in QMetaObject::activate (sender=sender@entry=0x11b61f0, m=m@entry=0x7f1cf48c8de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff9f8551f0) at kernel/qobject.cpp:3539
    #37 0x00007f1cf3e18a62 in QAction::triggered (this=this@entry=0x11b61f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
    #38 0x00007f1cf3e1a433 in QAction::activate (this=this@entry=0x11b61f0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
    #39 0x00007f1cf4248489 in QMenuPrivate::activateCausedStack (this=this@entry=0x11dfe40, causedStack=..., action=action@entry=0x11b61f0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
    #40 0x00007f1cf424c9b9 in QMenuPrivate::activateAction (this=0x11dfe40, action=0x11b61f0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
    #41 0x00007f1cf4be04f5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
    #42 0x00007f1cf3e6e50a in QWidget::event (this=this@entry=0x11ff6f0, event=event@entry=0x7fff9f855920) at kernel/qwidget.cpp:8376
    #43 0x00007f1cf42507bb in QMenu::event (this=0x11ff6f0, e=0x7fff9f855920) at widgets/qmenu.cpp:2481
    #44 0x00007f1cf3e1ee2c in QApplicationPrivate::notify_helper (this=this@entry=0xbe4f10, receiver=receiver@entry=0x11ff6f0, e=e@entry=0x7fff9f855920) at kernel/qapplication.cpp:4567
    #45 0x00007f1cf3e255dd in QApplication::notify (this=<optimized out>, receiver=0x11ff6f0, e=0x7fff9f855920) at kernel/qapplication.cpp:4110
    #46 0x00007f1cf4b29baa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
    #47 0x00007f1cf342c4dd in QCoreApplication::notifyInternal (this=0x7fff9f8561e0, receiver=receiver@entry=0x11ff6f0, event=event@entry=0x7fff9f855920) at kernel/qcoreapplication.cpp:953
    #48 0x00007f1cf3e24d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #49 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x11ff6f0, event=event@entry=0x7fff9f855920, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x11ff6f0, buttonDown=buttonDown@entry=0x7f1cf4904318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
    #50 0x00007f1cf3e99cfc in QETWidget::translateMouseEvent (this=this@entry=0x11ff6f0, event=event@entry=0x7fff9f855c70) at kernel/qapplication_x11.cpp:4568
    #51 0x00007f1cf3e99269 in QApplication::x11ProcessEvent (this=0x7fff9f8561e0, event=event@entry=0x7fff9f855c70) at kernel/qapplication_x11.cpp:3627
    #52 0x00007f1cf3ec0b02 in x11EventSourceDispatch (s=0xbe6320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
    #53 0x00007f1cef640e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #54 0x00007f1cef641048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #55 0x00007f1cef6410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #56 0x00007f1cf34597be in QEventDispatcherGlib::processEvents (this=0xbaab50, flags=...) at kernel/qeventdispatcher_glib.cpp:436
    #57 0x00007f1cf3ec0bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
    #58 0x00007f1cf342b0af in QEventLoop::processEvents (this=this@entry=0x7fff9f856040, flags=...) at kernel/qeventloop.cpp:149
    #59 0x00007f1cf342b3a5 in QEventLoop::exec (this=this@entry=0x7fff9f856040, flags=...) at kernel/qeventloop.cpp:204
    #60 0x00007f1cf3430b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
    #61 0x00007f1cf3e1d37c in QApplication::exec () at kernel/qapplication.cpp:3828
    #62 0x00000000004099c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:174
    Versions:
    according to Muon I have the following:
    Okular - version 4:4.13.0-0ubuntu1
    libpoppler44 - version 0.24.5-2ubuntu4
    poppler-utils - version 0.24.5-2ubuntu4


    Can someone please advise me further?

    Thanks.

    #2
    Verify that ibus is still installed.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      Verify that ibus is still installed.
      Hi Snowhog,

      No, ibus wasn't installed. So I installed it:
      Code:
      $ sudo apt-get install ibus
      This has now removed the ibus related errors but the original problem remains:
      Code:
      $ okular
      Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
      Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
      Xlib:  extension "RANDR" missing on display ":0".
      Xlib:  extension "RANDR" missing on display ":0".
      Can't get XRandR version 
      okular: Fatal IO error: client killed
      KCrash: Application 'okular' crashing...
      KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
      sock_file=/home/me/.kde/socket-wstation/kdeinit4__0
      
      [1]+  Stopped                 okular
      $

      Comment


        #4
        Maybe connected - a KDE bug report: https://bugs.kde.org/show_bug.cgi?id=333639

        Are you using the Xinerama ?
        Is the XRandR disabled ?
        A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
        Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

        Comment


          #5
          Originally posted by Rog132 View Post
          Maybe connected - a KDE bug report: https://bugs.kde.org/show_bug.cgi?id=333639

          Are you using the Xinerama ?
          Is the XRandR disabled ?
          Hi Rog132,

          Right on both counts!

          Hmmm... looks like the use of my 2 x Nvidia cards is a bigger problem than I thought. I run multiple GPUs and I've also got an issue with KDED (as mentioned here) - same as the bug reporter in the link you provided.

          So... what should I do now?

          Comment


            #6
            Use another pdf reader, at least till the bug is fixed?

            Comment

            Working...
            X