[Bug 360647] [NEW] okular crashes when refresh compiling DVI files

moky moky.math at gmail.com
Mon Apr 13 19:12:43 UTC 2009


Public bug reported:

Binary package hint: kdegraphics

1. Open a large DVI file with Okular (see an example of LaTeX source file bellow)
2. Compile the tex file
3. Okular crashes when refresh under certain conditions.

At a certain point during the compilation, Okular remarks that the DVI is being changed. So it empty the content of the DVI being on screen (normal bahaviour).
At that point, if the LaTeX compilation still stand some seconds, Okular crashes.

I can reproduce the bug "at will" with the following trick :

------ Structure of a LaTeX file -----------

<Big LaTeX document (around 70 pages)>

\input{foo.tex}

\end{document}

------------ end -----------------

I suppose that the "big file" is just enough in order Okular to set
itself in a "waiting" mode.

\input produces an error which stops the compilation until I react. 
If I react sufficiently rapidly, no crash.
If I leave some seconds without answering, Okular crashes.

It seems to be really a matter of TIME between the moment Okular sees
that the DVI is being changed and the moment where the DVI is actually
finished.

An actual example which produces the crash 100% of time.

++++++++++++ EXAMPLE ++++++++++++++++++

\documentclass[a4paper]{book} 
\usepackage{lipsum}
\begin{document}

bonjour

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\lipsum[1-2000]

\end{document}

+++++++++++++ END OF EXAMPLE +++++++++++++

BTW : if I launch Okular in the terminal, I get "core dumped". Where can
I find the core file ?

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: okular 4:4.2.2-0ubuntu2
ProcEnviron:
 LANGUAGE=it_IT:it:en_GB:en
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: kdegraphics
Uname: Linux 2.6.28-11-generic i686

** Affects: kdegraphics (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
okular crashes when refresh compiling DVI files
https://bugs.launchpad.net/bugs/360647
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdegraphics in ubuntu.




More information about the kubuntu-bugs mailing list