Ticket #1027 (new bug) — at Version 1

Opened 12 years ago

Last modified 12 years ago

PIR-only segfault

Reported by: coke Owned by:
Priority: normal Milestone:
Component: none Version: trunk
Severity: fatal Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by coke) (diff)

See  Original Ticket.

This code segfaults in trunk:

.sub main :main
push_eh handler
test()
## NB: This makes sure the sub call PC is sufficiently
## different from the exception handler PC.
print "foo\n"
print "bar\n"
.return ()
handler:
.local pmc exception
.local string message
.get_results (exception, message)
print "Error: "
print message
.end

.sub test
## Throw an exception.
$P0 = new 'Exception'
$P0 = 'oops'
throw $P0
.end

Change History

Changed 12 years ago by coke

  • description modified (diff)
Note: See TracTickets for help on using tickets.