Ticket #74 (closed bug: invalid)

Opened 6 years ago

Last modified 3 years ago

Parrot::Interpreter - cannot use Lua

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: hll_interop Version: trunk
Severity: high Keywords: lua embed
Cc: Language:
Patch status: Platform: linux

Description

While trying to use Lua via Parrot::Interpreter I get the following exception:

t/lua....1/5 src/pmc_freeze.c:809: failed assertion
'(int)io->image->bufused >= 0'
Backtrace - Obtained 24 stack frames (max trace depth is 32).
  (unknown)
    Parrot_confess
      (unknown)
        Parrot_Class_thaw
          (unknown)
            (unknown)
              (unknown)
                (unknown)
                  Parrot_thaw
                    PackFile_Constant_unpack_pmc
                      PackFile_Constant_unpack
                        PackFile_ConstTable_unpack
                          PackFile_Segment_unpack
                            (unknown)
                              PackFile_Segment_unpack
                                PackFile_unpack
                                  Parrot_readbc
                                    XS_Parrot__Interpreter_load_file
                                      Perl_pp_entersub
                                        Perl_runops_standard
                                          perl_run
                                            main
                                              __libc_start_main
                                                (unknown)
t/lua.... Failed 2/5 subtests

Test Summary Report
-------------------
t/lua (Wstat: 6 Tests: 3 Failed: 0)
  Parse errors: Bad plan.  You planned 5 tests but ran 3.
Files=1, Tests=3,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.07 cusr
0.01 csys =  0.11 CPU)
Result: FAIL

See also  http://lists.parrot.org/pipermail/parrot-dev/2008-December/000661.html

All this happening after compiling Parrot r31691

Attachments

lua.t Download (0.7 KB) - added by szabgab 6 years ago.
ext/Parrot-Embed/t/lua.t

Change History

Changed 6 years ago by szabgab

ext/Parrot-Embed/t/lua.t

Changed 6 years ago by allison

Same comment as TT #77.

Changed 5 years ago by jkeenan

  • component changed from none to hll_interop

Changed 3 years ago by benabik

  • status changed from new to closed
  • resolution set to invalid

Parrot::Embed and Parrot::Interpreter have been removed from parrot. This ticket has been replaced with  https://github.com/parrot/parrot-embed/issues/1

Note: See TracTickets for help on using tickets.