On Sun, Nov 20, 2016 at 06:36:31AM +0100, Janusz S. Bień wrote: > On Fri, Nov 18 2016 at 21:50 CET, ja...@inspiresomeone.us writes: > > Control: tags -1 - moreinfo unreproducible > > > > On Wed, Nov 16, 2016 at 05:20:52PM +0100, Janusz S. Bień wrote: > >> Another crash, still a not typical one: > > > > I might have found what's causing it. Try setting environment variable > > G_SLICE=always-malloc before evince runs and see if that stops the > > crashes. > > Unfortunately the crashes still occur.
I'm not familiar with AUCTeX. I suppose you open the .tex file in emacs, press some key combination, then it regenerates the PDF and runs evince? If it uses the dbus interface as I suspect, you'll have to go through some extra hoops to set the environment variables. I think running something like "G_SLICE=always-malloc dbus-run-session emacs file.tex" will work. Try it by setting GTK_THEME=Adwaita:dark first to see if that environment variable gets passed through to the evince process. The problem I found showed itself during document reloading. As mentioned in the bug report at https://bugs.freedesktop.org/98786, if you open that document in evince and hold down Ctrl-R to continuously reload the document, it will crash within a few minutes.