Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created March 6, 2017 21:30
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/433e0f6c901d47faccaa877c88729402 to your computer and use it in GitHub Desktop.
Save dogbert17/433e0f6c901d47faccaa877c88729402 to your computer and use it in GitHub Desktop.
Breakpoint 1, enter_single_user (tc=0xac83bcf0, decoder=0xb5da70f8) at src/6model/reprs/Decoder.c:107
107 MVM_exception_throw_adhoc(tc, "Deocder may not be used concurrently");
(gdb) bt
#0 enter_single_user (tc=0xac83bcf0, decoder=0xb5da70f8) at src/6model/reprs/Decoder.c:107
#1 0xb7c97c04 in MVM_decoder_add_bytes (tc=0xac83bcf0, decoder=0xb5da70f8, buffer=0xa08ff29c) at src/6model/reprs/Decoder.c:208
#2 0xb7c20edc in MVM_interp_run (tc=0xac83bcf0, initial_invoke=0xb7c31e51 <thread_initial_invoke>, invoke_data=0xad9f2ef8) at src/core/interp.c:5052
#3 0xb7c31f93 in start_thread (data=data@entry=0xad9f2ef8) at src/core/threads.c:80
#4 0xb7d159a7 in uv__thread_start (arg=0xac83bca0) at 3rdparty/libuv/src/unix/thread.c:49
#5 0xb7948f72 in start_thread (arg=0xac1b5b40) at pthread_create.c:312
#6 0xb7a90f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) info threads
Id Target Id Frame
18 Thread 0xa76feb40 (LWP 12908) "moar" 0xb7fdccb0 in ?? ()
17 Thread 0xa8529b40 (LWP 12907) "moar" 0xb7fdccb0 in ?? ()
16 Thread 0xa916cb40 (LWP 12905) "moar" 0xb7fdccb0 in ?? ()
15 Thread 0xa9d6eb40 (LWP 12903) "moar" 0xb7fdccb0 in ?? ()
14 Thread 0xaa970b40 (LWP 12902) "moar" 0xb7fdccb0 in ?? ()
13 Thread 0xab572b40 (LWP 12901) "moar" 0xb7fdccb0 in ?? ()
* 12 Thread 0xac1b5b40 (LWP 12900) "moar" enter_single_user (tc=0xac83bcf0, decoder=0xb5da70f8) at src/6model/reprs/Decoder.c:107
11 Thread 0xae7f4b40 (LWP 12895) "moar" 0xb7fdccb0 in ?? ()
10 Thread 0xaf3f6b40 (LWP 12893) "moar" 0xb7fdccb0 in ?? ()
9 Thread 0xafff8b40 (LWP 12892) "moar" 0xb7fdccb0 in ?? ()
8 Thread 0xb0bfab40 (LWP 12891) "moar" 0xb7fdccb0 in ?? ()
7 Thread 0xb17fcb40 (LWP 12888) "moar" 0xb7fdccb0 in ?? ()
6 Thread 0xb23feb40 (LWP 12887) "moar" 0xb7fdccb0 in ?? ()
5 Thread 0xb31fcb40 (LWP 12885) "moar" 0xb7fdccb0 in ?? ()
4 Thread 0xb3dfeb40 (LWP 12884) "moar" 0xb7fdccb0 in ?? ()
3 Thread 0xb4bfeb40 (LWP 12882) "moar" __GI___libc_free (mem=0x98fd2830) at malloc.c:2912
2 Thread 0xb59a2b40 (LWP 12881) "moar" 0xb7fdccb0 in ?? ()
1 Thread 0xb7932700 (LWP 12877) "moar" _int_free (av=0xb7b50420 <main_arena>, p=0xda459c0, have_lock=0) at malloc.c:3918
(gdb) t 3
[Switching to thread 3 (Thread 0xb4bfeb40 (LWP 12882))]
#0 __GI___libc_free (mem=0x98fd2830) at malloc.c:2912
2912 malloc.c: No such file or directory.
(gdb) bt
#0 __GI___libc_free (mem=0x98fd2830) at malloc.c:2912
#1 0xb7c6ae5c in MVM_free (p=0x98fd2830) at src/core/alloc.h:29
#2 0xb7c6b2df in gc_free (tc=0x9fb2f68, obj=0xb4c081d8) at src/6model/reprs/VMArray.c:95
#3 0xb7c4f549 in MVM_gc_collect_free_nursery_uncopied (tc=0x9fb2f68, limit=0xb4c0d250) at src/gc/collect.c:580
#4 0xb7c49f2e in run_gc (tc=0x9fb2f68, what_to_do=1 '\001') at src/gc/orchestrate.c:353
#5 0xb7c4a3d3 in MVM_gc_enter_from_interrupt (tc=0x9fb2f68) at src/gc/orchestrate.c:511
#6 0xb7c49c65 in MVM_gc_mark_thread_blocked (tc=0x9fb2f68) at src/gc/orchestrate.c:254
#7 0xb7c9021d in MVM_concblockingqueue_poll (tc=0x9fb2f68, queue=0xbd26de0) at src/6model/reprs/ConcBlockingQueue.c:271
#8 0xb7c544ca in setup_work (tc=0x9fb2f68) at src/io/eventloop.c:18
#9 0xb7c545df in async_handler (handle=0xb4200468) at src/io/eventloop.c:45
#10 0xb7d0b6c5 in uv__async_event (loop=0x9db2a60, w=0x9db2b4c, nevents=1) at 3rdparty/libuv/src/unix/async.c:98
#11 0xb7d0b7c6 in uv__async_io (loop=0x9db2a60, w=0x9db2b50, events=1) at 3rdparty/libuv/src/unix/async.c:138
#12 0xb7d07cb2 in uv__io_poll (loop=loop@entry=0x9db2a60, timeout=-1) at 3rdparty/libuv/src/unix/linux-core.c:345
#13 0xb7d0c0b3 in uv_run (loop=0x9db2a60, mode=UV_RUN_DEFAULT) at 3rdparty/libuv/src/unix/core.c:351
#14 0xb7c54685 in enter_loop (tc=0x9fb2f68, callsite=0xb7fd6c44 <null_args_callsite>, args=0x0) at src/io/eventloop.c:64
#15 0xb7c70a6e in invoke_handler (tc=0x9fb2f68, invokee=0xb7615558, callsite=0xb7fd6c44 <null_args_callsite>, args=0x0) at src/6model/reprs/MVMCFunction.c:9
#16 0xb7c31f15 in thread_initial_invoke (tc=0x9fb2f68, data=0x9fb6160) at src/core/threads.c:59
#17 0xb7bfe64a in MVM_interp_run (tc=0x9fb2f68, initial_invoke=0xb7c31e51 <thread_initial_invoke>, invoke_data=0x9fb6160) at src/core/interp.c:87
#18 0xb7c31f93 in start_thread (data=data@entry=0x9fb6160) at src/core/threads.c:80
#19 0xb7d159a7 in uv__thread_start (arg=0x825d930) at 3rdparty/libuv/src/unix/thread.c:49
#20 0xb7948f72 in start_thread (arg=0xb4bfeb40) at pthread_create.c:312
#21 0xb7a90f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) t 1
[Switching to thread 1 (Thread 0xb7932700 (LWP 12877))]
#0 _int_free (av=0xb7b50420 <main_arena>, p=0xda459c0, have_lock=0) at malloc.c:3918
3918 in malloc.c
(gdb) bt
#0 _int_free (av=0xb7b50420 <main_arena>, p=0xda459c0, have_lock=0) at malloc.c:3918
#1 0xb7c81589 in MVM_free (p=0xda459c8) at src/core/alloc.h:29
#2 0xb7c81b04 in gc_free (tc=0x804c450, obj=0xb7640a88) at src/6model/reprs/MVMCallCapture.c:89
#3 0xb7c4f549 in MVM_gc_collect_free_nursery_uncopied (tc=0x804c450, limit=0xb7930fe8) at src/gc/collect.c:580
#4 0xb7c49f2e in run_gc (tc=0x804c450, what_to_do=0 '\000') at src/gc/orchestrate.c:353
#5 0xb7c4a2cc in MVM_gc_enter_from_allocator (tc=0x804c450) at src/gc/orchestrate.c:463
#6 0xb7c4a5e9 in MVM_gc_allocate_nursery (tc=0x804c450, size=32) at src/gc/allocation.c:32
#7 0xb7c4a4fe in MVM_gc_allocate (tc=0x804c450, size=32) at src/gc/allocation.h:13
#8 0xb7c4a64d in MVM_gc_allocate_zeroed (tc=0x804c450, size=32) at src/gc/allocation.c:49
#9 0xb7c4a7f7 in MVM_gc_allocate_object (tc=0x804c450, st=0x853c9d0) at src/gc/allocation.c:86
#10 0xb7c71c97 in allocate (tc=0x804c450, st=0x853c9d0) at src/6model/reprs/P6opaque.c:60
#11 0xb7c656f2 in MVM_repr_clone (tc=0x804c450, obj=0x8db2a20) at src/6model/reprconv.c:28
#12 0xb7c2b405 in MVM_frame_vivify_lexical (tc=0x804c450, f=0xb5da40c8, idx=5) at src/core/frame.c:1141
#13 0xb7c2bc82 in MVM_frame_find_lexical_by_name_rel (tc=0x804c450, name=0x8b62b48, cur_frame=0xb7930eb8) at src/core/frame.c:1256
#14 0xb7c2ba2f in MVM_frame_find_lexical_by_name_outer (tc=0x804c450, name=0x8b62b48) at src/core/frame.c:1232
#15 0xb7c17017 in MVM_interp_run (tc=0x804c450, initial_invoke=0xb7cf9b44 <toplevel_initial_invoke>, invoke_data=0x80b8b18) at src/core/interp.c:3745
#16 0xb7cf9c73 in MVM_vm_run_file (instance=0x804c008, filename=0xbffff2e1 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:310
#17 0x08048e76 in main (argc=6, argv=0xbffff094) at src/main.c:201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment