[5403] in testers

home help back first fref pref prev next nref lref last post

Re: 9.2.4 solaris: from coredump

daemon@ATHENA.MIT.EDU (Robert A Basch)
Mon May 19 11:36:20 2003

Message-Id: <200305191536.LAA24418@abulia.mit.edu>
To: Arun A Tharuvai <aatharuv@MIT.EDU>
cc: John Hawkinson <jhawk@MIT.EDU>, Robert A Basch <rbasch@MIT.EDU>,
        testers@MIT.EDU
In-Reply-To: Your message of "Fri, 16 May 2003 16:11:36 EDT."
             <20030516201136.GD26874@multics.mit.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 19 May 2003 11:36:18 -0400
From: Robert A Basch <rbasch@MIT.EDU>

I think I found the problem.  In the Cyrus Perl XSUB interface, the
stack pointer is not properly maintained when calling code which can
invoke Perl callback subroutines.  If such a subroutine does something
which causes stack memory to be reallocated (in this case, triggered
by the long string value passed to the SEARCH callback), the XSUB code
must refresh its copy of the stack pointer to avoid corrupting memory.

I will submit a patch soon.

Thanks,
Bob


home help back first fref pref prev next nref lref last post