develooper Front page | perl.perl5.porters | Postings from September 2010

Bus error when gv_init is given a undef scalar > SVt_NULL

From:
Father Chrysostomos
Date:
September 12, 2010 13:07
Subject:
Bus error when gv_init is given a undef scalar > SVt_NULL
Message ID:
ED876F97-5353-4D27-8A99-83D30615509A@cpan.org
If I insert this at the beginning of gv.c/Perl_gv_init, before the declaration of old_type:

  SvUPGRADE(gv,SVt_IV);

then I get a bus error when I run perl.

I have not yet determined what the exact cause is, nor have I found a way to trigger this from Perl. A patch I am working on ended up triggering this.

Any ideas?




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