Ilya Zakharevich on Tue, 19 Sep 2000 17:56:11 -0400


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

Re: Math::Pari segfaults?


On Wed, Sep 20, 2000 at 03:25:56AM +0530, Vipul Ved Prakash wrote:
> Yes, I would assume so too, because, after all, the code did work 99% of the
> time.

Oh, this is normal with dangling pointers - unless you use a
"convenient" malloc, such as Perl's one ;-).  Most implementations of
free() do not immediately overwrite the free()ed memory buffer, so you
may use the free()ed pointer for some more time - until some malloc()
will grab it...

Ilya