# New Ticket Created by  Matt Diephouse 
# Please include the string:  [perl #32196]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32196 >


Parrot exploded when running my forth implementation after a cvs 
update. Below is the backtrace from gdb.

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

ns:~/Projects/parrot/languages/forth ezekiel$ ulimit -c unlimited
ns:~/Projects/parrot/languages/forth ezekiel$ parrot -t forth.pir 
2>trace.log
Bus error (core dumped)
ns:~/Projects/parrot/languages/forth ezekiel$ ls /cores/
core.20226
ns:~/Projects/parrot/languages/forth ezekiel$ gdb ../../parrot 
/cores/core.20226
GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 
2004)
Copyright 2003 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
Core was generated by `/Users/ezekiel/bin/parrot'.
#0  0x0003d420 in pobject_lives (interpreter=0xd00140, obj=0x0) at 
src/dod.c:198
198         if (PObj_is_live_or_free_TESTALL(obj)) {
(gdb) bt
#0  0x0003d420 in pobject_lives (interpreter=0xd00140, obj=0x0) at 
src/dod.c:198
#1  0x000048f0 in mark_1_seg (interpreter=0xd00140, cs=0xd01fd0) at 
src/packfile.c:360
#2  0x00004990 in find_code_iter (seg=0xd01fd0, user_data=0xd00140) at 
src/packfile.c:375
#3  0x0000503c in PackFile_map_segments (dir=0xd01e40, callback=0x4920 
<find_code_iter>, user_data=0xd00140) at src/packfile.c:687
#4  0x00004a18 in mark_const_subs (interpreter=0xd00140) at 
src/packfile.c:399
#5  0x0003d734 in Parrot_dod_trace_root (interpreter=0xd00140, 
trace_stack=1) at src/dod.c:333
#6  0x0003d848 in trace_active_PMCs (interpreter=0xd00140, 
trace_stack=1) at src/dod.c:371
#7  0x0003e5b0 in Parrot_dod_ms_run (interpreter=0xd00140, flags=1) at 
src/dod.c:1168
#8  0x0003e76c in Parrot_do_dod_run (interpreter=0xd00140, flags=1) at 
src/dod.c:1224
#9  0x0009a0a4 in mem_allocate (interpreter=0xd00140, 
req_size=0xbfffe650, pool=0xd002d0, align_1=15) at src/resources.c:142
#10 0x0009aefc in Parrot_allocate_string (interpreter=0xd00140, 
str=0xfe7798, size=128) at src/resources.c:656
#11 0x0002a814 in string_make_empty (interpreter=0xd00140, 
representation=enum_stringrep_one, capacity=128) at src/string.c:352
#12 0x00102138 in Parrot_sprintf_format (interpreter=0xd00140, 
pat=0xfe77c0, obj=0xbffff7e0) at src/spf_render.c:290
#13 0x000ea728 in Parrot_vsprintf_s (interpreter=0xd00140, 
pat=0xfe77c0, args=0xbffff8f0 "") at src/misc.c:68
#14 0x000ea7d4 in Parrot_vsprintf_c (interpreter=0xd00140, pat=0x299f40 
"\n", args=0xbffff8f0 "") at src/misc.c:93
#15 0x00033da8 in PIO_eprintf (interpreter=0xd00140, s=0x299f40 "\n") 
at io/io.c:1069
#16 0x001d469c in trace_op_dump (interpreter=0xd00140, 
code_start=0x102cc00, pc=0x102cda4) at src/trace.c:327
#17 0x001d4724 in trace_op (interpreter=0xd00140, code_start=0x102cc00, 
code_end=0x102d398, pc=0x102cda4) at src/trace.c:355
#18 0x001d33f8 in runops_slow_core (interpreter=0xd00140, pc=0x102cda4) 
at src/runops_cores.c:155
#19 0x0003fc8c in runops_int (interpreter=0xd00140, offset=0) at 
src/interpreter.c:808
#20 0x00038bd0 in runops (interpreter=0xd00140, offset=0) at 
src/inter_run.c:69
#21 0x0000c150 in Parrot_runcode (interpreter=0xd00140, argc=1, 
argv=0xbffffd98) at src/embed.c:750
#22 0x0000bf58 in Parrot_runcode (interpreter=0xd00140, argc=1, 
argv=0xbffffd98) at src/embed.c:679
#23 0x00003f8c in main (argc=1, argv=0xbffffd98) at imcc/main.c:579
(gdb)

Reply via email to