On Thu, Feb 24, 2005 at 01:13:05PM -0800, Kean Johnston wrote:
> Hi all,
> 
> This is my first posting to this list so go easy :)
> 
> While doing a make test on the BerkeleyDB module I am getting a
> core dump from perl. A stack trace shows its breaking in
> Perl_newRV_noinc (tmpRef=0x0), called from Perl_newRV (tmpRef=0x0).
> Now, I dont know what conditions lead up to Perl_newRV being called
> with a NULL pointer, but shouldn't that case be covered by the
> code? The actual core dump occurs when trying to do SvTEMP_off(tmpRef),
> becuase thats trying to reference sv->sv_flags.
> 
> Platform is SCO 5.0.7 (I know I know), compiler is gcc 2.95.3.
> This worked in 5.8.4, which was the last version I tried.
> 
> Any/all help greatly appreciated.
> 
> Kean
>

Hi Kean,

Could you actually forward the backtrace.  That would help find that 
naughty NULL pointer that's causing the core dump.

Thanks!

Steve Peters
[EMAIL PROTECTED]  

Reply via email to