Texmaker and TeXstudio ⇒ Texmaker crashes when file contains errors
Texmaker crashes when file contains errors
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!
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Texmaker crashes when file contains errors
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.
Although not so relevant info, no problem with Texmaker 1.8 nor 1.8.1 on Ubuntu.
Re: Texmaker crashes when file contains errors
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Texmaker crashes when file contains errors
Compile your document on the command line just for testing purposes.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Texmaker crashes when file contains errors
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...
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...
Texmaker crashes when file contains errors
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):
You may replace xelatex with pdflatex or latex depending on what you want to use. Try and see if this helps.
Code: Select all
xelatex -interaction=nonstopmode %.tex
Re: Texmaker crashes when file contains errors
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.