Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on Linux 64
On Tue, 20 Jul 2010, Ulrik Vieth wrote: P.S: Given that Ubuntu provides both 64-bit and 32-bit versions of all the shared libraries, I did a quick experiment today. I installed the i386-linux (32-bit) binary for xetex (checked out directly from svn) and gave it a try. That version works out of the box on Ubuntu-10.4 and produces correct results with Unicode math fonts. ... Hi Ulrik, this might indicate a 64bit problem, and if so could also manifest itself for other architectures. Regards Peter Breitenlohner p...@mppmu.mpg.de -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
Hi Peter, The segfault did occur with the latest XeTeX version 0.9997.4. Updating from 0.9997.3 to 0.9997.4 changed it from segfaulting immediately when loading unciode-math to segfaulting only in certain situation, depending on what kind of formulas you typeset. with fontconfig-2.7.3 (libfontconfig.so.1.4.3). Ubuntu 10.4 ships with fontconfig-2.8 rather than fontconfig-2.7.x. Could there be compatibility issues with that? Would it be better to use a static version of libfontconfig? Regards, Ulrik P.S: As I wrote earlier, my self-compiled version did not segfault when compiled on Ubuntu 10.4, but it did not work correctly either. As for the latter, I suspect another issue which may be unrelated to the segfaults. - Original Nachricht Von: Peter Breitenlohner p...@mppmu.mpg.de An: Karl Berry k...@freefriends.org Datum: 19.07.2010 11:23 Betreff: Re: [tex-live] [XeTeX] TeXLive Pretest - XeTeX segfaults on LInux 64 On Fri, 16 Jul 2010, Karl Berry wrote: What is the build environment for the x86_64-linux texlive binaries? I.e.: cross compiling? Which OS/distribution? Which compiler version? no, nativenone Peter should answer for sure. The info I have written down from a past year is only: gcc 3.4.6, libc 2.3.6, Linux 2.6.28.6. with fontconfig-2.7.3 (libfontconfig.so.1.4.3). Was this segfaults for latest XeTeX version 3.1415926-2.2-0.9997.4 ? There have been some critical fixes between 0.9997.3 and 0.9997.4! Regards Peter Breitenlohner p...@mppmu.mpg.de -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
Hi Peter, I had posted my configuration in an earlier message: http://tug.org/pipermail/tex-live/2010-July/026654.html $ 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 zlib and freetype versions did match on Ubutu 10.4, only fontconfig had a version mistmatch. Regards, Ulrik. - Original Nachricht Von: Peter Breitenlohner p...@mppmu.mpg.de An: ulrik.vi...@arcor.de Datum: 19.07.2010 15:12 Betreff: Re: Aw: Re: [tex-live] [XeTeX] TeXLive Pretest - XeTeX segfaults on LInux 64 On Mon, 19 Jul 2010, ulrik.vi...@arcor.de wrote: The segfault did occur with the latest XeTeX version 0.9997.4. Updating from 0.9997.3 to 0.9997.4 changed it from segfaulting immediately when loading unciode-math to segfaulting only in certain situation, depending on what kind of formulas you typeset. with fontconfig-2.7.3 (libfontconfig.so.1.4.3). Ubuntu 10.4 ships with fontconfig-2.8 rather than fontconfig-2.7.x. Could there be compatibility issues with that? Hi Ulrik, in principle yes, although libfontconfig.so.1.4.3 (from 2.7.3) and libfontconfig.so.1.4.4 (from 2.8.0) both use the same soname and thus ought to be compatible. I could try to build (actually already done) and install fontconfig-2.8.0, but should then first upgrade freetype-2.3.11 = freetype-2.3.12 or maybe even to freetype-2.4.1. Moreover there are zlib-1.2.3/1.2.4/1.2.5! Which versions are used by Ubuntu 10.4? Would it be better to use a static version of libfontconfig? Reinhard has answered this. P.S: As I wrote earlier, my self-compiled version did not segfault when compiled on Ubuntu 10.4, but it did not work correctly either. As for the latter, I suspect another issue which may be unrelated to the segfaults. Could this different behaviour be due to different gcc (and glibc?) versions -- caused in both cases by some obscure bug? Regards Peter -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On Fri, 16 Jul 2010, Karl Berry wrote: What is the build environment for the x86_64-linux texlive binaries? I.e.: cross compiling? Which OS/distribution? Which compiler version? no, nativenone Peter should answer for sure. The info I have written down from a past year is only: gcc 3.4.6, libc 2.3.6, Linux 2.6.28.6. with fontconfig-2.7.3 (libfontconfig.so.1.4.3). Was this segfaults for latest XeTeX version 3.1415926-2.2-0.9997.4 ? There have been some critical fixes between 0.9997.3 and 0.9997.4! Regards Peter Breitenlohner p...@mppmu.mpg.de -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On Mon, 19 Jul 2010, ulrik.vi...@arcor.de wrote: The segfault did occur with the latest XeTeX version 0.9997.4. Updating from 0.9997.3 to 0.9997.4 changed it from segfaulting immediately when loading unciode-math to segfaulting only in certain situation, depending on what kind of formulas you typeset. with fontconfig-2.7.3 (libfontconfig.so.1.4.3). Ubuntu 10.4 ships with fontconfig-2.8 rather than fontconfig-2.7.x. Could there be compatibility issues with that? Hi Ulrik, in principle yes, although libfontconfig.so.1.4.3 (from 2.7.3) and libfontconfig.so.1.4.4 (from 2.8.0) both use the same soname and thus ought to be compatible. I could try to build (actually already done) and install fontconfig-2.8.0, but should then first upgrade freetype-2.3.11 = freetype-2.3.12 or maybe even to freetype-2.4.1. Moreover there are zlib-1.2.3/1.2.4/1.2.5! Which versions are used by Ubuntu 10.4? Would it be better to use a static version of libfontconfig? Reinhard has answered this. P.S: As I wrote earlier, my self-compiled version did not segfault when compiled on Ubuntu 10.4, but it did not work correctly either. As for the latter, I suspect another issue which may be unrelated to the segfaults. Could this different behaviour be due to different gcc (and glibc?) versions -- caused in both cases by some obscure bug? Regards Peter -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on Linux 64
On Mon, 19 Jul 2010, ulrik.vi...@arcor.de wrote: $ xetex --version XeTeX 3.1415926-2.2-0.9997.4 (TeX Live 2010) kpathsea version 6.0.0 ... Compiled with zlib version 1.2.3; using 1.2.3 Compiled with FreeType2 version 2.3.11; using 2.3.11 Hi Ulrik, these are libz and libfreetype linked statically into the xetex binary. The shared libfontconfig, however, pulls in a libz.so.1 and libfreetype.so.6, as shown by 'ldd xetex'. What are their versions? Regards Peter -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
What is the build environment for the x86_64-linux texlive binaries? I.e.: cross compiling? Which OS/distribution? Which compiler version? Peter should answer for sure. The info I have written down from a past year is only: gcc 3.4.6, libc 2.3.6, Linux 2.6.28.6. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On Mon, 12 Jul 2010 17:45:14 +0100 Jonathan Kew jfkth...@googlemail.com 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 personally on all possible systems and configurations. Just for the record: 0.9997.3 doesn't crash on FreeBSD-8.0/amd64 with the example originally posted by Ulrik (with or without equation). Of course, the same goes for 0.9997.4. -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B signature.asc Description: PGP signature -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On 12 Jul 2010, at 09:21, ulrik.vi...@arcor.de wrote: I did check with ldd, but I don't have the exact ouput at hand. AFAIK, the XeTeX-modified ICU library was statically linked. Only stuff like fontconfig or zlib was dynamically linked. I am running Ubuntu 10.4 on AMD 64, but I haven't checked yet which libaries are provided as 64 bit versions. I wouldn't assume that the problem is with dynamic linking per se. I rather suspect that there are some issues with parsing the font information on 64 bit systems in general. It doesn't always produce segfaults, but it may simply produce incorrect results. When I first reported it to the XeTeX list some weeks ago, my problem was confirmed to exists on Solaris 64 as well, so this seems to be a generic problem of 64 bit architectures. I'm pretty sure this is true; it's probably a straightforward error related to data structures/sizes/etc in the code that interprets the font tables, but I haven't had the opportunity to set up a 64-bit system and try to debug it. If someone on a 64-bit system cares to do a debug build and provide a backtrace from such a crash, that would be a good start towards identifying the problem. JK -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
2010/7/12 Manuel Pégourié-Gonnard m...@elzevir.fr: so I think his answer is that it is *not* doable to ship 32 bit XeTeX on LinUX64, since the user would need a 32-bit version of the dynamically linked libraries. Which is the norm on OpenSUSE. :-) Best Martin -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
2010/7/12 Martin Schröder mar...@oneiros.de: 2010/7/12 Manuel Pégourié-Gonnard m...@elzevir.fr: so I think his answer is that it is *not* doable to ship 32 bit XeTeX on LinUX64, since the user would need a 32-bit version of the dynamically linked libraries. Which is the norm on OpenSUSE. :-) RHEL based distributions also often contain both i386 and x84_64 libraries. If I install them via yum install and do not specify required platform, then on i386 only i386 libs are installed, on x86_64 both will be installed . I always install both because some legacy tools do not work without i386 libraries. Best Martin -- Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
Le 12/07/2010 10:21, ulrik.vi...@arcor.de a écrit : I wouldn't assume that the problem is with dynamic linking per se. The crash has probably nothing to do with dynamic linking indeed. Reinhard was replying to this paragraph: Would it be a feasible idea to supply Linux32 binaries for XeTeX on Linux64 platforms? Would this work at all or would this require additional infrastructure (e.g. 32 bit versions of libraries)? so I think his answer is that it is *not* doable to ship 32 bit XeTeX on LinUX64, since the user would need a 32-bit version of the dynamically linked libraries. Manuel. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
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 personally on all possible systems and configurations. You will need to rebuild xetex-based format files after installing the new binary, as the .fmt file is not compatible with earlier releases. JK -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
\setromanfont{XITS} \setmathfont{XITS Math} For the future: it is much easier to debug problems (any problems) if they can be reproduced using fonts that are included in TL. Installing system fonts is not easy, versions are likely to be different, etc. At any rate, hoping that Jonathan's fix will suffice to at least avoid the crash, I've asked the TL folks to rebuild. Thanks to you and Jonathan and Thanh :). karl -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On 12 July 2010 Manuel Pégourié-Gonnard wrote: Le 12/07/2010 10:21, ulrik.vi...@arcor.de a écrit : I wouldn't assume that the problem is with dynamic linking per se. The crash has probably nothing to do with dynamic linking indeed. Reinhard was replying to this paragraph: Would it be a feasible idea to supply Linux32 binaries for XeTeX on Linux64 platforms? Would this work at all or would this require additional infrastructure (e.g. 32 bit versions of libraries)? so I think his answer is that it is *not* doable to ship 32 bit XeTeX on LinUX64, since the user would need a 32-bit version of the dynamically linked libraries. Yes, this is exactly what I meant. Furthermore, consider that TL currently supports five 64-bit Unix platforms and that one of them, 'x86_64-linux', stands for zillions of Linux distributions. Finding out whether all required 32-bit libraries are availabe everywhere is nearly impossible. I'm not even aware of all Linux distributions. Regards, Reinhard -- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotu...@web.de Microsoft isn't the answer. Microsoft is the question, and the answer is NO. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] [tex-live] TeXLive Pretest - XeTeX segfaults on LInux 64
On 12 July 2010 Ulrik Vieth wrote: Would it be a feasible idea to supply Linux32 binaries for XeTeX on Linux64 platforms? Would this work at all or would this require additional infrastructure (e.g. 32 bit versions of libraries)? I assume that the problem is that XeTeX is dynamically linked. I don't know which Linux distribution you are using. I'm using Gentoo Linux on AMD_64 and Gentoo only supplies shared 32-bit libraries needed by nonfree 32-bit-programs like acroread. I assume that a 64-bit version of XeTeX works better on my system. In order to find out whether dynamic linking is the problem, run ldd /path/to/xetex Regards, Reinhard -- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotu...@web.de Microsoft isn't the answer. Microsoft is the question, and the answer is NO. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex