[XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64

Ulrik Vieth ulrik.vieth at arcor.de
Wed Jul 14 23:59:35 CEST 2010

On 07/12/2010 06:45 PM, Jonathan Kew wrote:
> I have just checked-in a patch to the xetex and texlive source trees
 > to fix the xetex segfault that was occurring with \XeTeXdelcode
 > on some systems. This brings the xetex version number to 0.9997.4.

> Anyone who has been experiencing this problem is welcome to build
 > and test the new version to confirm that the crash no longer occurs;
 > obviously, I have not been able to test it on all possible systems
 > and configurations.

I have updated the latest binaries from TL Pretest and tested it
on Linux x86_64. It is getting better, but it is not perfect yet.
It has fixed some problem, but I am still getting segfaults and
malfunctions, depending on which formulas I typeset.

1) I am getting segfaults for formulas involving \left and \right,
i.e. delimiters. See the attached test file xe-test-delim.tex.

The \tracingall output indicates that the segfault occurs at the end
of display math, i.e. when the accumulated math list is converted
to a horizontal and vertical list.  The problem only occurs when
the formula contains \left and \right delimters,  The fraction
in display math is typeset correctly when it appears by itself.

Unfortunately, I don't have a xetex binary with debug symbols,
so I can't provide a meaningful backtrace from the core dump.

2) I am getting incorrect results (presumably caused by incorrectly
reading the font metric data) for formulas involving radicals.
See the attached test file xe-test-sqrt.tex and corresponding PDF.

This seems to indicate that RadicalRuleThickness and or related stuff
is not intialized correctly.

Regards, Ulrik

If anyone cares, here's my platform data:

uvi at uvi-desktop:~$ cat /etc/issue
Ubuntu 10.04 LTS \n \l

uvi at uvi-desktop:~$ uname -a
Linux uvi-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 
UTC 2010 x86_64 GNU/Linux

uvi at uvi-desktop:~$ xetex --version
XeTeX 3.1415926-2.2-0.9997.4 (TeX Live 2010)
kpathsea version 6.0.0
Copyright 2010 SIL International and Jonathan Kew.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 4.4 [with modifications for XeTeX]
Compiled with zlib version 1.2.3; using 1.2.3
Compiled with FreeType2 version 2.3.11; using 2.3.11
Compiled with fontconfig version 2.7.3; using 2.8.0
Compiled with libpng version 1.2.40; using 1.2.40
Compiled with xpdf version 3.02pl4

uvi at uvi-desktop:~$ ldd `which xetex`
         linux-vdso.so.1 =>  (0x00007fff2d1ff000)
         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 
         libm.so.6 => /lib/libm.so.6 (0x00007f09d2562000)
         libc.so.6 => /lib/libc.so.6 (0x00007f09d21de000)
         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f09d1f58000)
         libz.so.1 => /lib/libz.so.1 (0x00007f09d1d41000)
         libexpat.so.1 => /lib/libexpat.so.1 (0x00007f09d1b17000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f09d2a39000)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xe-test-delim.tex
Type: text/x-tex
Size: 250 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100714/733f22a1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xe-test-sqrt.tex
Type: text/x-tex
Size: 219 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100714/733f22a1/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xe-test-sqrt.pdf
Type: application/pdf
Size: 3835 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100714/733f22a1/attachment-0001.pdf>

More information about the XeTeX mailing list