Subject: mailing-list for TeXmacs Users
List archive
From : address@hidden- To: Ken Feyl <address@hidden>, address@hidden
- Subject: Re: malloc problem
- Date: Sat, 7 Dec 2002 15:04:49 +0100
On Fri, Dec 06, 2002 at 01:28:22PM -0800, Ken Feyl wrote:
> Using TeXmacs under the usual XDarwin on my OS X 10.2.2 system
> running at 400 MHz with 384 MB RAM, I observe a rather predictable
> occurrence of this malloc error:
>
> malloc[11452]: Deallocation of a pointer not malloced: 0xd19454;
> This could be a double free(), or free() called with the middle of
> an allocated block; Try setting environment variable MallocHelp to
> see tools to help debug pure virtual method called
[snip]
> I don't observe this behavior in any other program... only TeXmacs.
> Does anyone know what I can perhaps do to fix this? Thanks! BTW, I
> compiled TeXmacs from source. BTW, I also tried it on 1.024 and
> 1.023... same problem.
I believe this error may be related to the problem we are experiencing
when compiling TeXmacs with optimizations with recent version of g++.
That is caused by a bug in the compiler optimizer which causes
multiple destruction of some objects.
At the moment, the best fix available is to disable function inlining
in optimization options (add "-fno-default-inline -fno-inline" to the
compiler options) when using g++ version 3 or later, or simply use
g++-2.95.
--
David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://alqua.com/tmresources
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.
- malloc problem, Ken Feyl, 12/06/2002
- Re: malloc problem, Martin Costabel, 12/06/2002
- Re: malloc problem, david, 12/07/2002
Archive powered by MHonArc 2.6.19.