develooper Front page | perl.perl5.porters | Postings from November 2011

Segmentation Fault

Thread Next
From:
Sunil Bojanapally
Date:
November 28, 2011 06:11
Subject:
Segmentation Fault
Message ID:
CABzHhYxcUcNw0ZgWpSp4Gnahtf_ZNPn3D94UgWQ2A5bBrcyUTQ@mail.gmail.com
Hi all,

I am getting segmentation fault in perl_parse().
I think i'm attempting to free unreferenced scalar value SV.
How come a new source checkout and while porting can cause this!
Please find the stack trace of it.
What might cause this fault ?
As i am newbie to Perl, apologies if this ends up as a duplicate.

---------------------------------------------------------------------------------
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000001000c520c in ?? ()
(gdb) bt
#0  0x00000001000c520c in Perl_free_tmps ()
#1  0x0000000100013a0c in perl_parse (my_perl=0xffffffff00000002,
xsinit=0x100140b84 <xs_init>, argc=2, argv=0xffffffdea0, env=0x0)
    at sw/se/xc/bsd/tools/perl-5.10.0/perl.c:1665
#2  0x0000000100140af8 in main ()
--------------------------------------------------------------------------------------

Thanks,
Sunil


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About