[okular] [Bug 383915] Okular crashes with a segfault on reload for some synctex files

Flupp bugzilla_noreply at kde.org
Wed Nov 29 12:11:23 UTC 2017


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

--- Comment #13 from Flupp <bugs.kde.org at derflupp.e4ward.com> ---
Created attachment 109116
  --> https://bugs.kde.org/attachment.cgi?id=109116&action=edit
old synctex crashing okular 17.12

Unfortunately, okular might crash with old synctex files now. A problematic
synctex file is attached.

Note: Okular does not always crash with this file. I will attach a backtrace of
a crashing trial and the output of a non-crashing trial.

Used command: gdb --ex run --ex backtrace --ex 'set confirm off' --ex quit
--args okular empty.pdf |& tee "$(date -Is)"

Okular version: branch Applications/17.12 commit
02a4cfb26afc822777377c9539473f757b277490


I guess, this is not really a bug in okular, but in the synctex parser you just
use. Please tell me, if I shall report this bug again for the synctex project.

Also, I start to seriously doubt the code quality of the synctex parser.
Assuming the code quality is really bad, I could imagine that the unconditional
loading of synctex files together with pdfs poses a security risk. However, I
do not know how okular should deal with this.

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


More information about the Okular-devel mailing list