texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me...


From: Igor V. Kovalenko
Subject: Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me...
Date: Tue, 05 Nov 2002 21:48:47 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Joris van der Hoeven wrote:


What is surprising, is that the patch you proposed does seem to eliminate
the bug on your system. Please check well though, because I did notice
some change in the behaviour of TeXmacs. For instance, TeXmacs does not
automatically crash at the first autosave, but only after typing a bit.
You may also try to add a line "rep = NULL" at the end of destroy_tree_rep
in order to check whether this also stabilizes TeXmacs on your system...

In fact, the bug seems to be related to some kind of memory corruption.
Another approach might be to determine which memory location
is corrupted and then try to track down where in the code this happens.
It may be some very dumb compilation error in some not-too-often used routine.
I do not know any debugging tool which allows you to do this though.


I'll dig into this.

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





reply via email to

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