Created
May 3, 2025 15:35
-
-
Save MasterDuke17/a147ccbf82c2161f9b7f146ccf3ecc2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dan@athena:~/Source/raku/rakudo$ sudo gdb -p 188744 | |
[sudo] password for dan: | |
GNU gdb (Ubuntu 15.1-1ubuntu2) 15.1 | |
Copyright (C) 2024 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 "aarch64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<https://www.gnu.org/software/gdb/bugs/>. | |
Find the GDB manual and other documentation resources online at: | |
<http://www.gnu.org/software/gdb/documentation/>. | |
For help, type "help". | |
Type "apropos word" to search for commands related to "word". | |
Attaching to process 188744 | |
[New LWP 188765] | |
[New LWP 188763] | |
[New LWP 188762] | |
[New LWP 188761] | |
[New LWP 188760] | |
[New LWP 188745] | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". | |
0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7afec3ca8, expected=0, op=393, abstime=0x0, cancel=true) | |
at ./nptl/futex-internal.c:57 | |
warning: 57 ./nptl/futex-internal.c: No such file or directory | |
warning: File "/home/dan/Source/raku/install/lib/libmoar.so-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". | |
To enable execution of this file add | |
add-auto-load-safe-path /home/dan/Source/raku/install/lib/libmoar.so-gdb.py | |
line to your configuration file "/root/.config/gdb/gdbinit". | |
To completely disable this security protection add | |
set auto-load safe-path / | |
line to your configuration file "/root/.config/gdb/gdbinit". | |
For more information about this security protection see the | |
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell: | |
info "(gdb)Auto-loading safe path" | |
(gdb) info threads | |
Id Target Id Frame | |
* 1 Thread 0xffff9ed78440 (LWP 188744) "rakudo" 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7afec3ca8, | |
expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
2 Thread 0xffff97e2b180 (LWP 188765) "8: GeneralWorke" 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7ae21bee4, | |
expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
3 Thread 0xffff9863f180 (LWP 188763) "async io thread" 0x0000ffff9e39dbc4 in __GI_epoll_pwait (epfd=epfd@entry=4, events=events@entry=0xffff9863a358, | |
maxevents=maxevents@entry=1024, timeout=timeout@entry=-1738284072, set=0x0, set@entry=0x8) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:40 | |
4 Thread 0xffff98e57180 (LWP 188762) "6: AffinityWork" 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7b45114a0, | |
expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
5 Thread 0xffff99667180 (LWP 188761) "5: Supervisor" 0x0000ffff9e36cba0 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, | |
flags=flags@entry=0, req=req@entry=0xffff99666470, rem=rem@entry=0xffff99666470) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48 | |
6 Thread 0xffff99e77180 (LWP 188760) "4: GeneralWorke" 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7ae21bee4, | |
expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
7 Thread 0xffff9e13f180 (LWP 188745) "spesh optimizer" 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7a8830164, | |
expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
(gdb) thread apply all bt | |
Thread 7 (Thread 0xffff9e13f180 (LWP 188745) "spesh optimizer"): | |
#0 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7a8830164, expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=0x2a7a8830164, expected=0, clockid=0, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 | |
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2a7a8830164, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 | |
#3 0x0000ffff9e333ce0 in __pthread_cond_wait_common (cond=0x2a7a8830138, mutex=0x2a7a88300d8, clockid=0, abstime=0x0) at ./nptl/pthread_cond_wait.c:503 | |
#4 ___pthread_cond_wait (cond=cond@entry=0x2a7a8830138, mutex=mutex@entry=0x2a7a88300d8) at ./nptl/pthread_cond_wait.c:627 | |
#5 0x0000ffff9e81ec0c in uv_cond_wait (cond=cond@entry=0x2a7a8830138, mutex=mutex@entry=0x2a7a88300d8) at 3rdparty/libuv/src/unix/thread.c:835 | |
#6 0x0000ffff9e73bbe0 in shift (tc=0x2a7a8023800, st=<optimized out>, root=<optimized out>, data=<optimized out>, value=0xffff9e13e350, kind=<optimized out>) at src/6model/reprs/ConcBlockingQueue.c:246 | |
#7 0x0000ffff9e713920 in MVM_repr_shift_o (tc=tc@entry=0x2a7a8023800, obj=<optimized out>) at src/6model/reprconv.c:535 | |
#8 0x0000ffff9e78303c in worker (tc=0x2a7a8023800, arg_info=<error reading variable: Cannot access memory at address 0x189>) at src/spesh/worker.c:42 | |
#9 0x0000ffff9e6d7b84 in thread_initial_invoke (tc=0x2a7a8023800, data=<optimized out>) at src/core/threads.c:68 | |
#10 0x0000ffff9e6afa54 in MVM_interp_run (tc=0x2a7a8830164, tc@entry=0x2a7a8023800, initial_invoke=0x189, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0x0, invoke_data@entry=0x2a7a85f0490, outer_runloop=outer_runloop@entry=0x0) at src/core/interp.c:177 | |
#11 0x0000ffff9e6d7c78 in start_thread (data=0x2a7a85f0490) at src/core/threads.c:101 | |
#12 0x0000ffff9e334b30 in start_thread (arg=0xffff9e13f180) at ./nptl/pthread_create.c:447 | |
#13 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 6 (Thread 0xffff99e77180 (LWP 188760) "4: GeneralWorke"): | |
#0 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7ae21bee4, expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=0x2a7ae21bee4, expected=0, clockid=0, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 | |
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2a7ae21bee4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 | |
#3 0x0000ffff9e333ce0 in __pthread_cond_wait_common (cond=0x2a7ae21beb8, mutex=0x2a7ae21be58, clockid=0, abstime=0x0) at ./nptl/pthread_cond_wait.c:503 | |
#4 ___pthread_cond_wait (cond=cond@entry=0x2a7ae21beb8, mutex=mutex@entry=0x2a7ae21be58) at ./nptl/pthread_cond_wait.c:627 | |
#5 0x0000ffff9e81ec0c in uv_cond_wait (cond=cond@entry=0x2a7ae21beb8, mutex=mutex@entry=0x2a7ae21be58) at 3rdparty/libuv/src/unix/thread.c:835 | |
#6 0x0000ffff9e73bbe0 in shift (tc=0x2a7afe23800, st=<optimized out>, root=<optimized out>, data=<optimized out>, value=0x2a7af740340, kind=<optimized out>) at src/6model/reprs/ConcBlockingQueue.c:246 | |
#7 0x0000ffff9e6b2bec in MVM_interp_run (tc=0x2a7ae21bee4, tc@entry=0x2a7afe23800, initial_invoke=0x189, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0x0, invoke_data@entry=0x2a7afee4c20, outer_runloop=outer_runloop@entry=0x0) at src/core/interp.c:2245 | |
#8 0x0000ffff9e6d7c78 in start_thread (data=0x2a7afee4c20) at src/core/threads.c:101 | |
--Type <RET> for more, q to quit, c to continue without paging-- | |
#9 0x0000ffff9e334b30 in start_thread (arg=0xffff99e77180) at ./nptl/pthread_create.c:447 | |
#10 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 5 (Thread 0xffff99667180 (LWP 188761) "5: Supervisor"): | |
#0 0x0000ffff9e36cba0 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=req@entry=0xffff99666470, rem=rem@entry=0xffff99666470) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48 | |
#1 0x0000ffff9e37739c in __GI___nanosleep (req=req@entry=0xffff99666470, rem=rem@entry=0xffff99666470) at ../sysdeps/unix/sysv/linux/nanosleep.c:25 | |
#2 0x0000ffff9e7f4f2c in MVM_platform_sleep (second=<optimized out>) at src/platform/posix/time.c:46 | |
#3 0x0000ffff9e6b3b5c in MVM_interp_run (tc=0x0, tc@entry=0x2a7afe25c00, initial_invoke=0x0, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0xffff99666470, invoke_data@entry=0x2a7afee4750, outer_runloop=0xffff99666470, outer_runloop@entry=0x0) at src/core/interp.c:3496 | |
#4 0x0000ffff9e6d7c78 in start_thread (data=0x2a7afee4750) at src/core/threads.c:101 | |
#5 0x0000ffff9e334b30 in start_thread (arg=0xffff99667180) at ./nptl/pthread_create.c:447 | |
#6 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 4 (Thread 0xffff98e57180 (LWP 188762) "6: AffinityWork"): | |
#0 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7b45114a0, expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=0x2a7b45114a0, expected=0, clockid=0, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 | |
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2a7b45114a0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 | |
#3 0x0000ffff9e333ce0 in __pthread_cond_wait_common (cond=0x2a7b4511478, mutex=0x2a7b4511418, clockid=0, abstime=0x0) at ./nptl/pthread_cond_wait.c:503 | |
#4 ___pthread_cond_wait (cond=cond@entry=0x2a7b4511478, mutex=mutex@entry=0x2a7b4511418) at ./nptl/pthread_cond_wait.c:627 | |
#5 0x0000ffff9e81ec0c in uv_cond_wait (cond=cond@entry=0x2a7b4511478, mutex=mutex@entry=0x2a7b4511418) at 3rdparty/libuv/src/unix/thread.c:835 | |
#6 0x0000ffff9e73bbe0 in shift (tc=0x2a7b411b800, st=<optimized out>, root=<optimized out>, data=<optimized out>, value=0x2a7b4780330, kind=<optimized out>) at src/6model/reprs/ConcBlockingQueue.c:246 | |
#7 0x0000ffff9e6b2bec in MVM_interp_run (tc=0x2a7b45114a0, tc@entry=0x2a7b411b800, initial_invoke=0x189, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0x0, invoke_data@entry=0x2a7b408fff0, outer_runloop=outer_runloop@entry=0x0) at src/core/interp.c:2245 | |
#8 0x0000ffff9e6d7c78 in start_thread (data=0x2a7b408fff0) at src/core/threads.c:101 | |
#9 0x0000ffff9e334b30 in start_thread (arg=0xffff98e57180) at ./nptl/pthread_create.c:447 | |
#10 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 3 (Thread 0xffff9863f180 (LWP 188763) "async io thread"): | |
#0 0x0000ffff9e39dbc4 in __GI_epoll_pwait (epfd=epfd@entry=4, events=events@entry=0xffff9863a358, maxevents=maxevents@entry=1024, timeout=timeout@entry=-1738284072, set=0x0, set@entry=0x8) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:40 | |
#1 0x0000ffff9e80b758 in uv__io_poll (loop=loop@entry=0x2a7b4542700, timeout=<optimized out>) at 3rdparty/libuv/src/unix/linux.c:1465 | |
--Type <RET> for more, q to quit, c to continue without paging-- | |
#2 0x0000ffff9e81256c in uv_run (loop=0x2a7b4542700, mode=UV_RUN_DEFAULT) at 3rdparty/libuv/src/unix/core.c:460 | |
#3 0x0000ffff9e6d7b84 in thread_initial_invoke (tc=0x2a7b4113800, data=<optimized out>) at src/core/threads.c:68 | |
#4 0x0000ffff9e6afa54 in MVM_interp_run (tc=0xfffffffffffffffc, tc@entry=0x2a7b4113800, initial_invoke=0xffff9863a358, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0x400, invoke_data@entry=0x2a7b4083760, outer_runloop=0xffffffffffffffff, outer_runloop@entry=0x0) at src/core/interp.c:177 | |
#5 0x0000ffff9e6d7c78 in start_thread (data=0x2a7b4083760) at src/core/threads.c:101 | |
#6 0x0000ffff9e334b30 in start_thread (arg=0xffff9863f180) at ./nptl/pthread_create.c:447 | |
#7 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 2 (Thread 0xffff97e2b180 (LWP 188765) "8: GeneralWorke"): | |
#0 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7ae21bee4, expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=0x2a7ae21bee4, expected=0, clockid=0, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 | |
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2a7ae21bee4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 | |
#3 0x0000ffff9e333ce0 in __pthread_cond_wait_common (cond=0x2a7ae21beb8, mutex=0x2a7ae21be58, clockid=0, abstime=0x0) at ./nptl/pthread_cond_wait.c:503 | |
#4 ___pthread_cond_wait (cond=cond@entry=0x2a7ae21beb8, mutex=mutex@entry=0x2a7ae21be58) at ./nptl/pthread_cond_wait.c:627 | |
#5 0x0000ffff9e81ec0c in uv_cond_wait (cond=cond@entry=0x2a7ae21beb8, mutex=mutex@entry=0x2a7ae21be58) at 3rdparty/libuv/src/unix/thread.c:835 | |
#6 0x0000ffff9e73bbe0 in shift (tc=0x2a7b21b0400, st=<optimized out>, root=<optimized out>, data=<optimized out>, value=0x2a7b25a0340, kind=<optimized out>) at src/6model/reprs/ConcBlockingQueue.c:246 | |
#7 0x0000ffff9e6b2bec in MVM_interp_run (tc=0x2a7ae21bee4, tc@entry=0x2a7b21b0400, initial_invoke=0x189, initial_invoke@entry=0xffff9e6d7b20 <thread_initial_invoke>, invoke_data=0x0, invoke_data@entry=0x2a7b20802b0, outer_runloop=outer_runloop@entry=0x0) at src/core/interp.c:2245 | |
#8 0x0000ffff9e6d7c78 in start_thread (data=0x2a7b20802b0) at src/core/threads.c:101 | |
#9 0x0000ffff9e334b30 in start_thread (arg=0xffff97e2b180) at ./nptl/pthread_create.c:447 | |
#10 0x0000ffff9e39d88c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 | |
Thread 1 (Thread 0xffff9ed78440 (LWP 188744) "rakudo"): | |
#0 0x0000ffff9e330edc in __futex_abstimed_wait_common64 (private=0, futex_word=0x2a7afec3ca8, expected=0, op=393, abstime=0x0, cancel=true) at ./nptl/futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=0x2a7afec3ca8, expected=0, clockid=0, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 | |
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2a7afec3ca8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 | |
#3 0x0000ffff9e333ce0 in __pthread_cond_wait_common (cond=0x2a7afec3c80, mutex=0x2a7afec3d10, clockid=0, abstime=0x0) at ./nptl/pthread_cond_wait.c:503 | |
#4 ___pthread_cond_wait (cond=0x2a7afec3c80, mutex=0x2a7afec3d10) at ./nptl/pthread_cond_wait.c:627 | |
#5 0x0000ffff9e81ec0c in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at 3rdparty/libuv/src/unix/thread.c:835 | |
#6 0x0000ffff9e73af28 in MVM_conditionvariable_wait (tc=0x2a7a8020000, cv=<optimized out>) at src/6model/reprs/ConditionVariable.c:142 | |
--Type <RET> for more, q to quit, c to continue without paging-- | |
#7 0x0000ffff9e6b4d44 in MVM_interp_run (tc=0x2a7afec3ca8, initial_invoke=0x189, initial_invoke@entry=0xffff9e7f2b40 <toplevel_initial_invoke>, invoke_data=0x0, outer_runloop=outer_runloop@entry=0x0) at src/core/interp.c:3902 | |
#8 0x0000ffff9e7f4048 in MVM_vm_run_file (instance=instance@entry=0x2a7a8010a00, filename=filename@entry=0xaaaad0fb4510 "/home/dan/r/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:523 | |
#9 0x0000aaaac41b1370 in main (argc=<optimized out>, argv=0xffffd6edf298) at src/vm/moar/runner/main.c:497 | |
(gdb) |
Thread 2 rakudo backtrace:
at SETTING::src/core.c/ThreadPoolScheduler.rakumod:291 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:)
from SETTING::src/core.c/Thread.rakumod:72 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:THREAD-ENTRY)
Thread 3 rakudo backtrace was empty
Thread 4 rakudo backtrace:
at SETTING::src/core.c/ThreadPoolScheduler.rakumod:314 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:)
from SETTING::src/core.c/Thread.rakumod:72 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:THREAD-ENTRY)
Thread 5 didn't look like it had a useable tc
Thread 6 rakudo backtrace:
at SETTING::src/core.c/ThreadPoolScheduler.rakumod:291 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:)
from SETTING::src/core.c/Thread.rakumod:72 (/home/dan/r/install/share/perl6/runtime/CORE.c.setting.moarvm:THREAD-ENTRY)
Thread 7 rakudo backtrace was empty
dan 4394 0.0 0.0 21008 4768 pts/5 Ss Apr29 0:01 | \_ /bin/bash
dan 188744 0.1 0.8 1499440 194992 pts/5 tl+ 11:31 0:01 | | \_ rakudo /home/dan/r/install/share/perl6/site/bin/prove6 -j6 -I. t/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thread 1 rakudo backtrace: