Submitter-Id: net
Originator:
Organization:
XEmacs Users
Confidential: no
Synopsis: crash when entering close bracket } in math mode adjacent to $
Severity: serious
Priority: medium
Category: misc
Class: sw-bug
Release: gnats-3.101
Environment:
<machine, os, target, libraries (multiple lines)>
System: SunOS
palm.phys.psu.edu 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
Description:
I can reproducibly generate a crash when editting text inside math
mode $$ and entering a close bracket \}. A sample is provided below.
I don't know the details of how xemacs was installed, but the people
at help(a)phys.psu.edu would know.
How-To-Repeat:
This is a piece of a latex file being editted. Notice how the first
math mode has squiggly brackets around the vector. When squiggly
brackets are added to the vector in the second piece of math mode, the
final backet `\}`, added just before the closing $, crashes xemacs
reproducibly.
This condition can be satisfied by a properly designed genetic search.
A genetic search parameterizes a structure as a vector of generalized
coordinates $\{a_1, a_2, ... a_N\}$ and generates a new structure $C$ by
combining the coordinates of two known structures $A$ an $B$ at a
random crossover point $M$: $C = (a_1, a_2, ... a_M, b_{M+1}, b_{M+2},
... b_N)$. These structures are eva
Fix:
One can work around the problem by eliminating math mode, adding the
bracket, and then restoring math mode.