Texmaker and TeXstudioTexmaker crashes when file contains errors

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Texmaker crashes when file contains errors

Post by Isopropyl »

Hi there,

I have the following problem when using Texmaker (v1.8) together with xelatex on a WinXP system: sometimes compiling a document turns into some kind of endless loop and neither Texmaker nor xelatex can be terminated. The only way out of that situation is to actually reboot the whole system.

However, this only happens if the file to be compiled contains errors in the LaTeX code and I press "Quickbuild" (okay, a couple of minutes ago it also happened with the "LaTeX" button - that's why I am writing).

So, is this a known problem? Can anything be done to avoid this?

Thanks for your help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Texmaker crashes when file contains errors

Post by meho_r »

Are you sure if it crashes on ANY error? Did you try compile the same code which caused Texmaker to crash in other editors just to be sure if it's Texmaker's or (xe)latex's issue.

Although not so relevant info, no problem with Texmaker 1.8 nor 1.8.1 on Ubuntu.
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Re: Texmaker crashes when file contains errors

Post by Isopropyl »

Well, I am not sure of very much, actually. To me, this behavior seems completely erratic. So, suppose I compile something that contains a missing '}'. If I press "LaTeX" it will try to compile and then tell me that the "process has finished with errors". If, on the other hand, I accidentally press the quickbuild button, the whole system will freeze, although it is the same error in the same code.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Texmaker crashes when file contains errors

Post by localghost »

Compile your document on the command line just for testing purposes.


Best regards and welcome to the board
Thorsten
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Re: Texmaker crashes when file contains errors

Post by Isopropyl »

Hi,

I tried that and it turned out OK. Which is, however, not surprising. Every time my computer freezes because I accidentally hit the quickbuild button, the file will compile just ok after rebooting if I hit the "LaTeX" button instead...
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Texmaker crashes when file contains errors

Post by meho_r »

Since (xe)latex isn't the cause of problem, one option is that you change Texmaker QuickBuild settings. Go to Options > Configure Texmaker > QuickBuild and try this setting (tick "user" checkbutton):

Code: Select all

xelatex -interaction=nonstopmode %.tex
You may replace xelatex with pdflatex or latex depending on what you want to use. Try and see if this helps.
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Re: Texmaker crashes when file contains errors

Post by Isopropyl »

Thanks for the hint. I had configured quickbuild to use xelatex but I did not include the "-interaction=nonstopmode". Let's see if this helps. I'll write here, if it crashes again.
Post Reply