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: u...@uvi-desktop:~$ cat /etc/issue Ubuntu 10.04 LTS \n \l u...@uvi-desktop:~$ uname -aLinux uvi-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
u...@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 u...@uvi-desktop:~$ ldd `which xetex` linux-vdso.so.1 => (0x00007fff2d1ff000)libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f09d27e5000)
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)
\documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} \setromanfont{XITS} \setmathfont{XITS Math} \begin{document} \tracingall $$ \left( \frac{x^2}{y^2} \right) $$ $$ \biggl( \frac{x^2}{y^2} \biggr) $$ \end{document}
\documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} \setromanfont{XITS} \setmathfont{XITS Math} \begin{document} $$ \sqrt{x^2 + y^2} $$ $$ \frac{1}{\sqrt{x^2 + y^2}} $$ \end{document}
xe-test-sqrt.pdf
Description: Adobe PDF document
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex