gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] strings copied across heap/local data boundaries


From: Camm Maguire
Subject: Re: [Gcl-devel] strings copied across heap/local data boundaries
Date: 28 Apr 2004 10:52:03 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Mike, this sounds quite interesting and promising.

The BEGIN/END NO_INTERRUPT macros only govern signal handling.  I'm
trying at the moment to reproduce the signal capture in the maxima
build that you must be seeing.  Do you have strace?  If so, can you
post the results of running the maxima build under strace -f?
Alternately,  can you break in main_signal_handler and/or before
interrupt and provide a gdb backtrace?  What we may be seeing is that
the Windows OS is sending signals to the running process that are
simply not being seen on other systems.

Take care,



"Mike Thomas" <address@hidden> writes:

> Hi Camm.
> 
> I finally got gdb onto a repeatable Maxima "ignore-errors" session and found
> that tracing through the problem code made the problm disappear.
> Fortunately the section of code was quite short (file.d open_stream).  I
> noticed that there wasa string copy there from a Lisp object into a string
> buffer and that triggered an earlier hunch you had which I believe was about
> relocation messing up string manipulation.
> 
> So I stuck BEGIN/END_NO_INTERRUPT into open_stream and lo and behold the
> formerly repeatable error was replaced by another repeatable error of
> similar nature much later in the Maxima build - at the point where all the
> object modules are being loaded after compilation.  This particular bug has
> never manifested at that late stage before so I take this as a positive sign
> and an indication that we need to systematically track down similar
> unbracketed string/data copies across local/heap boundaries of which there
> appear to be several including, significantly, "o/pathname.d".
> 
> Late again
> 
> Mike Thomas.
> 
> 
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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