Ticket #1209 (closed bug: fixed)

Opened 12 years ago

Last modified 12 years ago

parrot -O Fails Tests

Reported by: dukeleto Owned by: chromatic
Priority: major Milestone:
Component: imcc Version: 1.7.0
Severity: medium Keywords: testing
Cc: Language:
Patch status: Platform:

Description

Currently we can't run Parrot with certain IMCC optimizations (by setting TEST_PROG_ARGS, for example, or hacking t/harness because the optimization somehow removes useful context information printed in the Parrot backtrace.

$ ./parrot -O t/compilers/imcc/syn/const_24.pir Null PMC access in get_string()

$ ./parrot t/compilers/imcc/syn/const_24.pir Null PMC access in get_string() current instr.: 'main' pc 5 (t/compilers/imcc/syn/const_24.pir:11)

The difference lies somewhere in Parrot_Context_get_info(), I believe.

I don't have the time or capacity to track this down tonight; I was tracking down a potential bug in the IMCC optimizer and thought it would be nice to see if any tests fail with optimizations.

-- c

This used to be tracked at  http://rt.perl.org/rt3/Ticket/Display.html?id=50894

Change History

Changed 12 years ago by dukeleto

  • owner set to chromatic

I have verified that this still occurs on trunk r42259

(kadath)(~/svn/parrot)$ ./parrot -O t/compilers/imcc/syn/const_24.pir 
Null PMC access in get_string()
(kadath)(~/svn/parrot)$ ./parrot t/compilers/imcc/syn/const_24.pir 
Null PMC access in get_string()
current instr.: 'main' pc 5 (t/compilers/imcc/syn/const_24.pir:11)

Changed 12 years ago by plobsing

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

fixed in r46463.

Note: See TracTickets for help on using tickets.