#595: Panic when rethrowing null
-------------------+--------------------------------------------------------
Reporter: isop | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: trunk | Severity: medium
Keywords: | Lang:
Patch: | Platform:
-------------------+--------------------------------------------------------
Using parrot from svn, r38390.
Following PIR code:
.sub 'foo' :main
$P0 = null
rethrow $P0
.end
Gives the following:
Parrot VM: PANIC: Illegal rethrow!
C file src/exceptions.c, line 464
Parrot file (not available), line (not available)
We highly suggest you notify the Parrot team if you have not been working
on
Parrot. Use parrotbug (located in parrot's root directory) or send an
e-mail to [email protected].
Include the entire text of this error message and the text of the script
that
generated the error. If you've made any modifications to Parrot, please
describe them as well.
Version : 1.1.0-devel
Configured : Tue Apr 28 18:49:03 2009 GMT
Architecture: i386-linux
JIT Capable : Yes
Interp Flags: 0
Exceptions : (missing from core)
Dumping Core...
Quit
---
osname= linux
osvers= 2.6.24-16-server
arch= i486-linux-gnu-thread-multi
cc= cc
---
Flags:
category=core
severity=medium
ack=no
---
Summary of my parrot 1.1.0 (r38390) configuration:
configdate='Tue Apr 28 18:49:03 2009 GMT'
Platform:
osname=linux, archname=i486-linux-gnu-thread-multi
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/bin/perl
Compiler:
cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC
-DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE
-DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign-
functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-outgoing-
args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-
subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra
-Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security
-Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch
-Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-
format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-
arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-
aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef
-Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-strings -Wbad-
function-cast -Wc++-compat -Wdeclaration-after-statement -Werror
=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-
int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wnonnull -DHAS_GETTEXT',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-ldl -lm -lpthread -lcrypt -lreadline '
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -O2 -g -L/usr/local/lib
-fPIC',
load_ext='.so', ld_load_flags='-shared -O2 -g -L/usr/local/lib -fPIC'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8, longdoublesize=12
---
Environment:
HOME =/home/isop
LANG =en_US.UTF-8
LANGUAGE =en_US:en
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH
=/home/isop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL =/bin/bash
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/595>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets