[okular] [Bug 376990] Okular randomly crashes when launched from Emacs

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Aug 1 13:07:58 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=376990

jappel at linux01.gwdg.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jappel at linux01.gwdg.de

--- Comment #10 from jappel at linux01.gwdg.de ---
When opening an xterm from emacs instead of the viewer I find that a lot of qt
programs crash deterministically if called from within this xterm (konsole,
kruler, /usr/lib64/qt5/examples/gui/openglwindow/openglwindow). It turns out
the guilty part is that emacs defines the environment variable
XLIB_SKIP_ARGB_VISUALS, i.e. if I call 
XLIB_SKIP_ARGB_VISUALS='' okular then okular crashes as soon as i open the file
menu no matter the actual value of the environment variable.

Workaround: call the viewer with  
'(("Okular"
   ("env -u XLIB_SKIP_ARGB_VISUALS okular --unique file:%o"
    (mode-io-correlate "#src:%n%a"))
   "okular"))
by setting TeX-view-program-list in AucTeX accordingly

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list