! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
latex thumbnailer fails on incomplete latex files
Status:
RESOLVED: FIXED
Product:
Thunar-thumbnailers
Component:
General

Comments

Description Gregor Hlawacek 2007-10-15 19:46:18 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.6) Gecko/20070820 Firefox/2.0.0.6
Build Identifier: 

The latex thumbnailer fails obviously on incomplete latex files. The problem is when you have latex files that get included into other latex files they don't have a \begin{document}. tetex will fail on this files and generate an incredible large logfile using a large amount of cpu.

Somehow the thumbnailer should check first if at least some minimalistic requirements are met.

Reproducible: Sometimes

Steps to Reproduce:
1. create a latex file without proper start and end
2. make it large like a Ph.D. thesis :-)
3. wait for the thumbnailer trying to run latex on it

Actual Results:  
puts cpu to 100% for quite some time

Expected Results:  
either ignore such files or try to find the including file and start compiling there.
Comment 1 Erlend Davidson 2007-11-29 01:39:12 CET
Ok, sorry this has taken me so long to look at.  Been very busy.

I have (hopefully) fixed this in SVN.  Would you mind trying the latest version please?  Post back with your findings, if it works for you then I'll make a release.

Thanks.
Comment 2 Erlend Davidson 2008-03-10 20:51:59 CET
This has now been resolved (0.3.1)

Bug #3608

Reported by:
Gregor Hlawacek
Reported on: 2007-10-15
Last modified on: 2009-07-14

People

Assignee:
Erlend Davidson
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information