id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
537,Parrot::Interpreter - crash when calling new twice,szabgab,,"If I call Parrot::Interpreter->new twice in the same script it 
gives me a crash that I cannot catch in perl.

{{{
Backtrace - Obtained 23 stack frames (max trace depth is 32).
  (unknown)
    Parrot_confess
      (unknown)
        Parrot_str_to_hashval
          (unknown)
            parrot_hash_put
              Parrot_Hash_set_pmc_keyed_str
                (unknown)
                  Parrot_NameSpace_set_pmc_keyed_str
                    register_raw_nci_method_in_ns
                      (unknown)
                        (unknown)
                          (unknown)
                            (unknown)
                              make_interpreter
                                Parrot_new
                                  XS_Parrot__Interpreter_new
                                    Perl_pp_entersub
                                      Perl_runops_standard
                                        perl_run
                                          main
                                            __libc_start_main
                                              (unknown)
}}}

As in Padre there might be several plugins that try to embed their own Parrot interpreter it would be nice at least we could catch this exception.

If Parrot::Interpreter is not planned to support multiple instances then probably better to turn it into a singleton.
",bug,closed,normal,,none,trunk,medium,invalid,,jkeenan,,,
