Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created February 18, 2017 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/71bd542c007241aa10c45e0bf44dae61 to your computer and use it in GitHub Desktop.
Save dogbert17/71bd542c007241aa10c45e0bf44dae61 to your computer and use it in GitHub Desktop.
harness6 SEGV
...
t/spec/S32-list/grep-p.t .......................................... ok
t/spec/S32-list/grep-v.t .......................................... ok
t/spec/S32-list/grep.rakudo.moar .................................. ok
t/spec/S32-list/head.t ............................................ ok
===( 0;806 0/? 11/54 38/38 0/? 2/2)===
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x46700b40 (LWP 21986)]
__GI___libc_free (mem=0x46) at malloc.c:2929
2929 malloc.c: No such file or directory.
(gdb) bt
#0 __GI___libc_free (mem=0x46) at malloc.c:2929
#1 0x40170c27 in MVM_free (p=<optimized out>) at src/core/alloc.h:29
#2 MVM_string_decodestream_destroy (tc=tc@entry=0xaea1528, ds=0x5ef34728) at src/strings/decode_stream.c:508
#3 0x401397aa in gc_free (tc=0xaea1528, obj=0x5ed9e780) at src/6model/reprs/Decoder.c:33
#4 0x400f442d in MVM_gc_collect_free_gen2_unmarked (tc=tc@entry=0xaea1528, global_destruction=global_destruction@entry=0) at src/gc/collect.c:702
#5 0x400eee97 in run_gc (tc=tc@entry=0x429df368, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:358
#6 0x400ef8ec in MVM_gc_enter_from_allocator (tc=tc@entry=0x429df368) at src/gc/orchestrate.c:463
#7 0x400efbe0 in MVM_gc_allocate_nursery (tc=tc@entry=0x429df368, size=size@entry=72) at src/gc/allocation.c:32
#8 0x400efc5a in MVM_gc_allocate (size=72, tc=0x429df368) at src/gc/allocation.h:13
#9 MVM_gc_allocate_zeroed (tc=tc@entry=0x429df368, size=72) at src/gc/allocation.c:49
#10 0x400eff34 in MVM_gc_allocate_object (tc=tc@entry=0x429df368, st=<optimized out>, st@entry=0x95f37e8) at src/gc/allocation.c:86
#11 0x40117a2a in allocate (tc=0x429df368, st=0x95f37e8) at src/6model/reprs/P6opaque.c:60
#12 0x400ba085 in MVM_interp_run (tc=tc@entry=0x429df368, initial_invoke=initial_invoke@entry=0x400dd0e0 <thread_initial_invoke>, invoke_data=0x0) at src/core/interp.c:1766
#13 0x400dd0a2 in start_thread (data=0x429ddf58) at src/core/threads.c:77
#14 0x401bc7c7 in uv.thread_start () from //home/dogbert/repos/rakudo/install/lib/libmoar.so
#15 0x40689f72 in start_thread (arg=0x46700b40) at pthread_create.c:312
#16 0x40578f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) frame 2
#2 MVM_string_decodestream_destroy (tc=tc@entry=0xaea1528, ds=0x5ef34728) at src/strings/decode_stream.c:508
508 MVM_free(cur_bytes->bytes);
(gdb) p MVM_dump_backtrace(tc)
at <unknown>:1 (./CORE.setting.moarvm:wait)
from SETTING::src/core/Promise.pm:122 (./CORE.setting.moarvm:)
from SETTING::src/core/Lock.pm:24 (./CORE.setting.moarvm:protect)
from SETTING::src/core/Promise.pm:120 (./CORE.setting.moarvm:result)
from SETTING::src/core/asyncops.pm:17 (./CORE.setting.moarvm:await)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):996 (/home/dogbert/repos/rakudo/lib/.precomp/32311A80C7FB32250E224E41CFFC6884264DF42E.1487329407.99682/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from SETTING::src/core/Any-iterable-methods.pm:466 (./CORE.setting.moarvm:)
from SETTING::src/core/Any-iterable-methods.pm:454 (./CORE.setting.moarvm:sink-all)
from SETTING::src/core/Seq.pm:184 (./CORE.setting.moarvm:sink)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):991 (/home/dogbert/repos/rakudo/lib/.precomp/32311A80C7FB32250E224E41CFFC6884264DF42E.1487329407.99682/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):990 (/home/dogbert/repos/rakudo/lib/.precomp/32311A80C7FB32250E224E41CFFC6884264DF42E.1487329407.99682/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from SETTING::src/core/Promise.pm:218 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:284 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:173 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:166 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:163 (./CORE.setting.moarvm:)
from SETTING::src/core/Thread.pm:30 (./CORE.setting.moarvm:THREAD-ENTRY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment