Ticket #1380 (closed bug: duplicate)
segfault in Parrot_Coroutine_invoke when running t/pmc/coroutine_9.pir
Reported by: | ligne | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 1.9.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | linux |
Description (last modified by cotto) (diff)
[chemnitz@11:36 ~/parrot]$ gdb --args ./parrot t/pmc/coroutine_9.pir GNU gdb Fedora (6.8-32.fc10) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... (gdb) run Starting program: /scratch/mlb/src/parrot/parrot t/pmc/coroutine_9.pir warning: "/usr/lib/debug/usr/lib/libicudata.so.40.0.debug": The separate debug info file has no debug info [Thread debugging using libthread_db enabled] 012344[New Thread 0xb7fe06d0 (LWP 7442)] Program received signal SIGSEGV, Segmentation fault. 0x00af9b3b in Parrot_Coroutine_invoke (interp=0x804f040, pmc=0x80b8bb8, next=0x810ab28) at ./src/pmc/coroutine.pmc:203 203 PMC * const ctx = PARROT_CONTINUATION(ccont)->to_ctx; Missing separate debuginfos, use: debuginfo-install gmp-4.2.2-8.fc10.i386 libgcc-4.3.2-7.i386 libstdc++-4.3.2-7.i386 ncurses-libs-5.6-20.20080927.fc10.i386 readline-5.2-13.fc9.i386 (gdb) bt #0 0x00af9b3b in Parrot_Coroutine_invoke (interp=0x804f040, pmc=0x80b8bb8, next=0x810ab28) at ./src/pmc/coroutine.pmc:203 #1 0x0092d889 in Parrot_invokecc_p (cur_opcode=0x810ab20, interp=0x804f040) at src/ops/core.ops:433 #2 0x00a1329e in runops_slow_core (interp=0x804f040, runcore=0x80db3b0, pc=0x810ab20) at src/runcore/cores.c:848 #3 0x00a117ff in runops_int (interp=0x804f040, offset=0) at src/runcore/main.c:546 #4 0x009cf9bf in runops (interp=0x804f040, offs=0) at src/call/ops.c:99 #5 0x009c5d49 in Parrot_pcc_invoke_from_sig_object (interp=0x804f040, sub_obj=0x80b8ba4, call_object=0x80b8be0) at src/call/pcc.c:297 #6 0x009c5e53 in Parrot_pcc_invoke_sub_from_c_args (interp=0x804f040, sub_obj=0x80b8ba4, sig=0xbd28ee "P->") at src/call/pcc.c:76 #7 0x009a91ae in Parrot_runcode (interp=0x804f040, argc=1, argv=0xbffff3d8) at src/embed.c:825 #8 0x00ba74c9 in imcc_run_pbc (interp=0x804f040, obj_file=0, output_file=0x0, argc=1, argv=0xbffff3d8) at compilers/imcc/main.c:792 #9 0x00ba80bc in imcc_run (interp=0x804f040, sourcefile=0xbffff57f "t/pmc/coroutine_9.pir", argc=1, argv=0xbffff3d8) at compilers/imcc/main.c:1075 #10 0x08048948 in main (argc=1, argv=0xbffff3d8) at src/main.c:60 (gdb) p ccont $1 = (PMC * const) 0x0 ---8<-----------
svn trunk@43141. Fedora 10 i386, gcc version 4.3.2 20081105 (Red Hat 4.3.2-7).
i've attached the output of 'parrot_config --dump'. let me know if you need additional details or a core dump.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.