| 1 | Summary: Panic when rethrowing null |
|---|
| 2 | Reported by: isop44@gmail.com |
|---|
| 3 | --- |
|---|
| 4 | Using parrot from svn, r38390. |
|---|
| 5 | |
|---|
| 6 | Following PIR code: |
|---|
| 7 | .sub 'foo' :main |
|---|
| 8 | $P0 = null |
|---|
| 9 | rethrow $P0 |
|---|
| 10 | .end |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | Gives the following: |
|---|
| 14 | |
|---|
| 15 | Parrot VM: PANIC: Illegal rethrow! |
|---|
| 16 | C file src/exceptions.c, line 464 |
|---|
| 17 | Parrot file (not available), line (not available) |
|---|
| 18 | |
|---|
| 19 | We highly suggest you notify the Parrot team if you have not been working on |
|---|
| 20 | Parrot. Use parrotbug (located in parrot's root directory) or send an |
|---|
| 21 | e-mail to parrot-dev@lists.parrot.org. |
|---|
| 22 | Include the entire text of this error message and the text of the script that |
|---|
| 23 | generated the error. If you've made any modifications to Parrot, please |
|---|
| 24 | describe them as well. |
|---|
| 25 | |
|---|
| 26 | Version : 1.1.0-devel |
|---|
| 27 | Configured : Tue Apr 28 18:49:03 2009 GMT |
|---|
| 28 | Architecture: i386-linux |
|---|
| 29 | JIT Capable : Yes |
|---|
| 30 | Interp Flags: 0 |
|---|
| 31 | Exceptions : (missing from core) |
|---|
| 32 | |
|---|
| 33 | Dumping Core... |
|---|
| 34 | Quit |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | --- |
|---|
| 39 | osname= linux |
|---|
| 40 | osvers= 2.6.24-16-server |
|---|
| 41 | arch= i486-linux-gnu-thread-multi |
|---|
| 42 | cc= cc |
|---|
| 43 | --- |
|---|
| 44 | Flags: |
|---|
| 45 | category=core |
|---|
| 46 | severity=medium |
|---|
| 47 | ack=no |
|---|
| 48 | --- |
|---|
| 49 | Summary of my parrot 1.1.0 (r38390) configuration: |
|---|
| 50 | configdate='Tue Apr 28 18:49:03 2009 GMT' |
|---|
| 51 | Platform: |
|---|
| 52 | osname=linux, archname=i486-linux-gnu-thread-multi |
|---|
| 53 | jitcapable=1, jitarchname=i386-linux, |
|---|
| 54 | jitosname=LINUX, jitcpuarch=i386 |
|---|
| 55 | execcapable=1 |
|---|
| 56 | perl=/usr/bin/perl |
|---|
| 57 | Compiler: |
|---|
| 58 | 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', |
|---|
| 59 | Linker and Libraries: |
|---|
| 60 | ld='cc', ldflags=' -L/usr/local/lib', |
|---|
| 61 | cc_ldflags='', |
|---|
| 62 | libs='-ldl -lm -lpthread -lcrypt -lreadline ' |
|---|
| 63 | Dynamic Linking: |
|---|
| 64 | share_ext='.so', ld_share_flags='-shared -O2 -g -L/usr/local/lib -fPIC', |
|---|
| 65 | load_ext='.so', ld_load_flags='-shared -O2 -g -L/usr/local/lib -fPIC' |
|---|
| 66 | Types: |
|---|
| 67 | iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4, |
|---|
| 68 | ptrsize=4, ptr_alignment=1 byteorder=1234, |
|---|
| 69 | nv=double, numvalsize=8, doublesize=8, longdoublesize=12 |
|---|
| 70 | |
|---|
| 71 | --- |
|---|
| 72 | Environment: |
|---|
| 73 | HOME =/home/isop |
|---|
| 74 | LANG =en_US.UTF-8 |
|---|
| 75 | LANGUAGE =en_US:en |
|---|
| 76 | LD_LIBRARY_PATH (unset) |
|---|
| 77 | LOGDIR (unset) |
|---|
| 78 | PATH =/home/isop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games |
|---|
| 79 | SHELL =/bin/bash |
|---|