texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Segmentation fault with gcc 3.2


From: Igor V. Kovalenko
Subject: Re: [Texmacs-dev] Segmentation fault with gcc 3.2
Date: Thu, 31 Oct 2002 19:15:08 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Igor V. Kovalenko wrote:
Joris van der Hoeven wrote:



I am confused...

Don't be, I'll try to rebuild guile and TeXmacs-1.0.0.20 using compat-gcc package. It'll take a while but may rule out the gcc/g++/libstdc++ and show glibc dependence.

So I've now rebuilt guile-1.4 and TeXmacs-1.0.0.20 with compat-gcc package:

$ strings -a TeXmacs-1.0.0.20/bin/texmacs.bin|grep GCC|sort|uniq
GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
GCC: (GNU) 3.2 20021021 (Red Hat Linux 8.0 3.2-11)

$ strings -a /usr/lib/libguile.so.9.0.0 |grep GCC|sort|uniq
GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
GCC: (GNU) 3.2 20021021 (Red Hat Linux 8.0 3.2-11)

In this configuration fully-optimized TeXmacs is stable (at least in my tests)
both statically and dynamically linked.

If TeXmacs is otherwise built optimized using GCC-3.2 then it crashes.
The crash is after the sequience of "document->update->all" which rebuilds
TOC, fails to rebuild bibliography, and somehow manages to overwrite math 
formula
tags and contents with mostly zero-bytes and garbage (I also looked at the saved
document) - ergo there should be some kind of memory corruption.

--
Regards,
Igor V. Kovalenko    mailto: iko at crec dot mipt dot ru





reply via email to

[Prev in Thread] Current Thread [Next in Thread]