Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: New to me crash message

by grinder (Bishop)
on Apr 22, 2009 at 08:03 UTC ( #759206=note: print w/ replies, xml ) Need Help??


in reply to Re: New to me crash message
in thread New to me crash message

I'm stumped about the reference to "aelem" in the error message

It is internals-speak for "array element", at the C level. It only surfaces when you grovel deeply in magic, or XS.

• another intruder with the mooring in the heart of the Perl


Comment on Re^2: New to me crash message
Re^3: New to me crash message
by ikegami (Pope) on Apr 22, 2009 at 14:52 UTC
    More precisely, it's one of the opcodes that implements $a[$i]. (There appears to be a aelemfast as well.)
    $ perl -MO=Concise -e'$a[$i]' 7 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 6 <2> aelem vK/2 ->7 4 <1> rv2av sKR/1 ->5 3 <#> gv[*a] s ->4 - <1> ex-rv2sv sK/1 ->6 5 <#> gvsv[*i] s ->6 -e syntax OK

    But oddly, there's no array indexing at the source line number given by the message.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://759206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-07-06 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (73 votes), past polls