#193: segfault using -t1
--------------------+-------------------------------------------------------
Reporter: coke | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by Infinoid):
Please note: Jim Keenan just reported seeing a very similar crash on
linux, but without tcl and without -t1. I can't reproduce it myself, but
it may help to have a simpler test case.
He gave us this backtrace, with r35851:
{{{
$ gdb parrot
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
(gdb) run t/pmc/io_23.pir
Starting program: /home/jimk/work/parrot/parrot t/pmc/io_23.pir
[Thread debugging using libthread_db enabled]
[New Thread 1098423808 (LWP 14219)]
warning: Lowest section in /usr/lib/libicudata.so.36 is .hash at 000000b4
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1098423808 (LWP 14219)]
0x4146e77e in memmove () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4146e77e in memmove () from /lib/tls/libc.so.6
#1 0x40333161 in Parrot_io_write_buffer (interp=0x804f048,
filehandle=0x80e6b98, s=0x80cc2d0) at src/io/buffer.c:658
#2 0x40414217 in Parrot_FileHandle_nci_puts (interp=0x804f048,
pmc=0x80c01d8) at ./src/pmc/filehandle.pmc:517
#3 0x4037ec62 in Parrot_NCI_invoke (interp=0x804f048, pmc=0x80c01d8,
next=0x0) at ./src/pmc/nci.pmc:320
#4 0x401e1ddd in Parrot_PCCINVOKE (interp=0x804f048, pmc=0x80e6b98,
method_name=0x8070b14, signature=0x404dd6c5 "S->I")
at src/inter_call.c:2716
#5 0x4033184c in Parrot_io_putps (interp=0x804f048, pmc=0x80e6b98,
s=0x80cc2d0) at src/io/api.c:432
#6 0x401892c9 in Parrot_print_p_s (cur_opcode=0x812dad0,
interp=0x804f048) at src/ops/io.ops:283
#7 0x4022c6b9 in runops_slow_core (interp=0x804f048, pc=0x812dad0)
at src/runops_cores.c:228
#8 0x401e7aa0 in runops_int (interp=0x804f048, offset=0)
at src/interpreter.c:978
#9 0x401e86bd in runops (interp=0x804f048, offs=0)
at src/inter_run.c:108
#10 0x401e8947 in runops_args (interp=0x804f048, sub=0x80e6be0,
obj=0x80bb908, meth_unused=0x0, sig=0x404d453b "vP",
ap=0xbfadcfdc "?k\016\b8Э?\220?") at src/inter_run.c:248
---Type <return> to continue, or q <return> to quit---
#11 0x401e979d in Parrot_runops_fromc_args (interp=0x804f048,
sub=0x80e6be0, sig=0x404d453b "vP") at src/inter_run.c:315
#12 0x401c6b69 in Parrot_runcode (interp=0x804f048, argc=1,
argv=0xbfadd158) at src/embed.c:984
#13 0x404aa5b7 in imcc_run_pbc (interp=0x804f048, obj_file=0,
output_file=0x0, argc=1, argv=0xbfadd158)
at compilers/imcc/main.c:824
#14 0x404aa919 in imcc_run (interp=0x804f048,
sourcefile=0xbfaddb86 "t/pmc/io_23.pir", argc=1, argv=0xbfadd158)
at compilers/imcc/main.c:1111
#15 0x08048938 in main (argc=1, argv=0xbfadd158) at src/main.c:61
(gdb)
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/193#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets