[XeTeX] Segfault in Mac xelatex using fancybox
George V. Reilly
george at reilly.org
Mon Mar 1 06:59:21 CET 2010
With the following LaTeX fragment, I can reproduce a segfault in the latest
MacTeX version of xelatex on OS X 10.6.2. I was also able to repro it with
the version of MacTeX that I downloaded a year ago.
%-------
\documentclass{article}
\usepackage{fontspec}
\usepackage{fancybox}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[Mapping=tex-text, Numbers=OldStyle]{Hoefler Text}
% Framed box
\newcommand{\fb}[1]{
\begin{center}
\fbox{\parbox{.9\textwidth}{\setlength\parindent{1em}#1}}
\end{center}
}
%-------
$ gdb xelatexGNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18
20:40:51 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ........ done
(gdb) r coredump.tex
Starting program: /usr/local/texlive/2009/bin/universal-darwin/xelatex
coredump.tex
Reading symbols for shared libraries
.+++++++............................................................................................
done
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)
entering extended mode
(./coredump.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus,
ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk,
po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian,
span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2009/texmf-dist/tex/generic/xkeyval/keyval.tex)))
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2009/texmf-dist/tex/latex/fancybox/fancybox.sty
Style option: `fancybox' v1.3 <2000/09/19> (tvz)
)Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffffc
0x00062d0e in ?? ()
(gdb) bt
#0 0x00062d0e in ?? ()
#1 0x0005d1ee in ?? ()
#2 0x0002c8af in ?? ()
#3 0x0002d089 in ?? ()
#4 0x0002dbe8 in ?? ()
#5 0x0004b2a7 in ?? ()
#6 0x00008482 in ?? ()
#7 0x00051017 in ?? ()
#8 0x00011449 in ?? ()
#9 0x00056835 in ?? ()
#10 0x00002402 in ?? ()
#11 0x00002329 in ?? ()
(gdb)
$ xelatex --version
XeTeX 3.1415926-2.2-0.9995.2 (TeX Live 2009)
kpathsea version 5.0.0
Copyright 2009 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 3.8.1 [with modifications for XeTeX]
Compiled with zlib version 1.2.3; using 1.2.3
Compiled with FreeType2 version 2.3.9; using 2.3.9
Using Mac OS X Carbon, Cocoa & QuickTime frameworks
The repro case is cut down from a much larger file that worked a year ago on
OS X 10.5. The same large file continues to work on the latest TeXLive on
Ubuntu.
--
/George V. Reilly george at reilly.org Twitter: @georgevreilly
http://www.georgevreilly.com/blog http://blogs.cozi.com/tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100228/bff8d2ff/attachment-0001.html>
More information about the XeTeX
mailing list