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 20:45:30 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Joris van der Hoeven wrote:
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.


By the way, what happens if you do not use TeXmacs' redefinitions of
new and delete in basic.hh (lines 29--32)?



I looked closer at the source and this seems to be unrelated.
I'm confused here too :) So I've done tests without modification
to TeXmacs memory allocation scheme.

BTW, how comes that dynamically-linked texmacs.bin does not use malloc() from 
libc?

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





reply via email to

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