Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Texmacs crashing when loading a file

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Texmacs crashing when loading a file


Chronological Thread 
  • From: Martin Costabel <address@hidden>
  • To: address@hidden
  • Cc: address@hidden, address@hidden
  • Subject: Re: [TeXmacs] Texmacs crashing when loading a file
  • Date: Wed, 22 Oct 2008 15:34:48 +0200

[]
As far as the "why" is concerned, the only approach which works
all the time is the "dichotomic iterative simplification" of
your file: remove parts of the file step by step, till you remove
one which also removes the crash: then you've found the offending
input, and the bug becomes reproducible (which is the first, and
mandatory step for people to be able to debug the software).

The offending input is obvious:

\newcommand{\tmtextbf}[1]{\tmtextbf{#1}}
\newcommand{\subsection}{{\macro{{\macro{1}{{\medskip}{\bigskip}
{\noindent}\tmtextbf{{\Large }}}}}}}

Texmacs interprets this as a command to go into an infinite loop, and after a couple of hundred iterations, it mercifully throws a segmentation fault and crashes.

I don't know anything about Texmacs' dialect of latex, but the example is not valid latex in any case. Latex gives up very quickly because of duplicate definitions.

--
Martin



Archive powered by MHonArc 2.6.19.

Top of Page