[perl #36480] Bus Error from languages/tcl/examples/bench.tcl

1 view
Skip to first unread message

Matt Diephouse

unread,
Jul 7, 2005, 10:58:58 AM7/7/05
to bugs-bi...@rt.perl.org
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #36480]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36480 >


This seems to be a core Parrot bug:

harmony:~/Projects/parrot/languages/tcl mdiep$ gdb parrot
GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT
2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols
for shared libraries ..... done

(gdb) run tcl.pbc examples/bench.tcl
Starting program: /Users/mdiep/bin/parrot tcl.pbc examples/bench.tcl
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .+ done
Reading symbols for shared libraries .+ done
Reading symbols for shared libraries .+ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x00087fb4 in Parrot_set_i_p (cur_opcode=0xf4eab0,
interpreter=0xd00180) at ops/set.ops:218
218 $1 = $2->vtable->get_integer(interpreter, $2);
(gdb) bac
#0 0x00087fb4 in Parrot_set_i_p (cur_opcode=0xf4eab0,
interpreter=0xd00180) at ops/set.ops:218
#1 0x002058cc in runops_slow_core (interpreter=0xd00180,
pc=0xf4eab0) at src/runops_cores.c:153
#2 0x0004c800 in runops_int (interpreter=0xd00180, offset=0) at src/
interpreter.c:750
#3 0x00044e80 in runops (interpreter=0xd00180, offs=0) at src/
inter_run.c:81
#4 0x000168fc in Parrot_runcode (interpreter=0xd00180, argc=2,
argv=0xbffffa18) at src/embed.c:831
#5 0x000166ac in Parrot_runcode (interpreter=0xd00180, argc=2,
argv=0xbffffa18) at src/embed.c:765
#6 0x000043c8 in main (argc=2, argv=0xbffffa18) at imcc/main.c:637
(gdb)


--
matt diephouse
http://matt.diephouse.com


Reply all
Reply to author
Forward
0 new messages