Skip to content

Instantly share code, notes, and snippets.

@dminuoso
Created March 14, 2023 16:36
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 dminuoso/8f72ce7c27b6585cb9488fb7ccc603bc to your computer and use it in GitHub Desktop.
Save dminuoso/8f72ce7c27b6585cb9488fb7ccc603bc to your computer and use it in GitHub Desktop.
(gdb) bt
#0 0x0000000000b1be2f in sccp ()
#1 0x0000000000b2527a in __timedwait_cp ()
#2 0x0000000000b1c1ab in pthread_cond_timedwait ()
#3 0x0000000000ab9fa9 in waitCondition (pCond=pCond@entry=0x7ffff7fe6250, pMut=pMut@entry=0x7ffff7fe6288) at rts/posix/OSThreads.c:139
#4 0x0000000000a9af7b in waitForWorkerCapability (task=<optimized out>) at rts/Capability.c:706
#5 yieldCapability (pCap=pCap@entry=0x7fffffffc078, task=task@entry=0x7ffff7fe6240, gcAllowed=gcAllowed@entry=true) at rts/Capability.c:1011
#6 0x0000000000aa211d in scheduleYield (task=0x7ffff7fe6240, pcap=0x7fffffffc070) at rts/Schedule.c:705
#7 schedule (initialCapability=initialCapability@entry=0xcd3a40 <MainCapability>, task=task@entry=0x7ffff7fe6240) at rts/Schedule.c:315
#8 0x0000000000aa2f6d in scheduleWaitThread (tso=0x4200406ce8, ret=ret@entry=0x0, pcap=pcap@entry=0x7fffffffc108) at rts/Schedule.c:2628
#9 0x0000000000a9d3ca in rts_evalLazyIO (cap=cap@entry=0x7fffffffc108, p=p@entry=0xbf9110, ret=ret@entry=0x0) at rts/RtsAPI.c:566
#10 0x0000000000a9fc5d in hs_main (argc=<optimized out>, argv=<optimized out>, main_closure=0xbf9110, rts_config=...) at rts/RtsMain.c:72
#11 0x0000000000400af2 in main ()
(gdb) thread
[Current thread is 1 (LWP 799941)]
(gdb) info thread
Id Target Id Frame
* 1 LWP 799941 "powerdns-gerd" 0x0000000000b1be2f in sccp ()
2 LWP 799944 "powerdns-gerd:w" 0x0000000000b1be2f in sccp ()
3 LWP 799945 "powerdns-gerd:w" 0x0000000000b1be2f in sccp ()
4 LWP 799946 "powerdns-gerd:w" 0x0000000000b1be2f in sccp ()
(gdb) thread 2
[Switching to thread 2 (LWP 799944)]
#0 0x0000000000b1be2f in sccp ()
(gdb) bt
#0 0x0000000000b1be2f in sccp ()
#1 0x0000000000b09108 in epoll_pwait ()
#2 0x0000000000a763cd in base_GHCziEventziEPoll_new10_info ()
#3 0x0000000000000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (LWP 799945)]
#0 0x0000000000b1be2f in sccp ()
(gdb) bt
#0 0x0000000000b1be2f in sccp ()
#1 0x0000000000b17ca7 in poll ()
#2 0x0000000000a7c90b in ?? ()
#3 0x0000000000000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (LWP 799946)]
#0 0x0000000000b1be2f in sccp ()
(gdb) bt
#0 0x0000000000b1be2f in sccp ()
#1 0x0000000000b2527a in __timedwait_cp ()
#2 0x0000000000b1c1ab in pthread_cond_timedwait ()
#3 0x0000000000ab9fa9 in waitCondition (pCond=pCond@entry=0x7ffff7fe6730, pMut=pMut@entry=0x7ffff7fe6768) at rts/posix/OSThreads.c:139
#4 0x0000000000a9af7b in waitForWorkerCapability (task=<optimized out>) at rts/Capability.c:706
#5 yieldCapability (pCap=pCap@entry=0x7ffff7f87a28, task=task@entry=0x7ffff7fe6720, gcAllowed=gcAllowed@entry=true) at rts/Capability.c:1011
#6 0x0000000000aa211d in scheduleYield (task=0x7ffff7fe6720, pcap=0x7ffff7f87a20) at rts/Schedule.c:705
#7 schedule (initialCapability=initialCapability@entry=0xcd3a40 <MainCapability>, task=task@entry=0x7ffff7fe6720) at rts/Schedule.c:315
#8 0x0000000000aa2f9d in scheduleWorker (cap=cap@entry=0xcd3a40 <MainCapability>, task=task@entry=0x7ffff7fe6720) at rts/Schedule.c:2645
#9 0x0000000000aa8222 in workerStart (task=0x7ffff7fe6720) at rts/Task.c:445
#10 0x0000000000b1c8cf in start ()
#11 0x0000000000b1d99c in __clone ()
#12 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment