Segfault moved. It's no longer occurring when run from inside
languages/tcl, but now at the top of the build dir, I get the following
backtrace when running

 ./parrot_debugger languages/tcl/tcl.pbc

and hitting "n<enter>" at the pdb prompt.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6c1d8d0 (LWP 4339)]
0xb7e07255 in Parrot_NameSpace_set_pmc_keyed_str (interp=0x804b008,
    pmc=0x81d034c, key=0x805d798, value=0x0) at ./src/pmc/namespace.pmc:164
164
(gdb) bt
#0  0xb7e07255 in Parrot_NameSpace_set_pmc_keyed_str (interp=0x804b008,
    pmc=0x81d034c, key=0x805d798, value=0x0) at ./src/pmc/namespace.pmc:164
#1  0xb7c1a0bf in Parrot_set_global (interp=0x804b008, ns=0x81d034c,
    globalname=0x805d798, val=0x0) at src/global.c:363
#2  0xb7bd8a9f in Parrot_set_root_global_pc_sc_p (cur_opcode=0xb66ab334,
    interp=0x804b008) at src/ops/var.ops:350
#3  0xb7c5103a in runops_fast_core (interp=0x804b008, pc=0xb66ab334)
    at src/runops_cores.c:62
#4  0xb7c24469 in runops_int (interp=0x804b008, offset=25623)
    at src/interpreter.c:933
#5  0xb7c24d43 in runops (interp=0x804b008, offs=25623) at
src/inter_run.c:101
#6  0xb7c24fe0 in runops_args (interp=0x804b008, sub=0x8447b88,
obj=0x80999e0,
    meth_unused=0x0, sig=0xb7e87108 "P", ap=0xbf84349c "\220'L\b\030")
    at src/inter_run.c:223
#7  0xb7c2511c in Parrot_runops_fromc_args (interp=0x804b008, sub=0x8447b88,
    sig=0xb7e87108 "P") at src/inter_run.c:295
#8  0xb7c46875 in run_sub (interp=0x804b008, sub_pmc=0x8447b88)
    at src/packfile.c:496
#9  0xb7c469c4 in do_1_sub_pragma (interp=0x804b008, sub_pmc=0x8447b88,
    action=PBC_LOADED) at src/packfile.c:557
#10 0xb7c46d46 in do_sub_pragmas (interp=0x804b008, self=0x839b420,
    action=PBC_LOADED, eval_pmc=0x0) at src/packfile.c:722
#11 0xb7c4b23a in PackFile_append_pbc (interp=0x804b008,
#12 0xb7c4b3c2 in Parrot_load_bytecode (interp=0x804b008,
file_str=0x81f1664)
    at src/packfile.c:3774
#13 0xb7badbfc in Parrot_load_bytecode_sc (cur_opcode=0xb7abf11c,
    interp=0x804b008) at src/ops/core.ops:151
#14 0xb7c08788 in PDB_next (interp=0x804b008, command=0x8393ff9 "")
    at src/debug.c:868
#15 0xb7c085ed in PDB_run_command (interp=0x804b008, command=0x8393ff9 "")
    at src/debug.c:802
#16 0xb7c07a77 in debugger_cmdline (interp=0x804b008) at src/debug.c:403
#17 0xb7c07d78 in Parrot_debugger_start (interp=0x804b008,
    cur_opcode=0xb7abf11c) at src/debug.c:528
#18 0xb7c5164c in runops_debugger_core (interp=0x804b008, pc=0xb7abf11c)
    at src/runops_cores.c:332
#19 0xb7c24469 in runops_int (interp=0x804b008, offset=3)
    at src/interpreter.c:933
#20 0xb7c24d43 in runops (interp=0x804b008, offs=3) at src/inter_run.c:101
#21 0xb7c24fe0 in runops_args (interp=0x804b008, sub=0x81cc9fc,
obj=0x80999e0,
    meth_unused=0x0, sig=0xb7e83c7b "vP", ap=0xbf8437cc
"°Ç\034\b\b8\204¿P<ó·")
    at src/inter_run.c:223
#22 0xb7c2511c in Parrot_runops_fromc_args (interp=0x804b008, sub=0x81cc9fc,
    sig=0xb7e83c7b "vP") at src/inter_run.c:295
#23 0xb7c0e1f7 in Parrot_runcode (interp=0x804b008, argc=0, argv=0xbf8438fc)
    at src/embed.c:951
#24 0x080490c8 in PDB_run_code (interp=0x804b008, argc=1, argv=0xbf8438f8)
    at src/parrot_debugger.c:235
#25 0x08049014 in main (argc=2, argv=0xbf8438f4) at
src/parrot_debugger.c:211

Reply via email to