gdb debug 3 thread blocked

thread 2 blocked in function open:

^C
Program received signal SIGINT, Interrupt.
0x00003fff78819134 in .__nanosleep () at ../sysdeps/unix/syscall-template.S:84
84in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0  0x00003fff78819134 in .__nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00003fff78818efc in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x0000000010b7b25c in Fsap2Start () at pthreads/osixpth.c:925
#3  0x000000001027e5e4 in ModInitCreateTask ()
    at /net/sanb/vol/view/tps_build/latest/build_r1.0.1/app/modinit/src/modinit.c:721
#4  0x000000001027f2b4 in ModInitInitialize ()
    at /net/sanb/vol/view/tps_build/latest/build_r1.0.1/app/modinit/src/modinit.c:678
#5  0x0000000010043524 in main (argc=, argv=) at lrmain.c:1228
(gdb) c info threads  s
  Id   Target Id         Frame 
  68   Thread 0x3fff67736190 (LWP 2929) "TMR#" 0x00003fff78c93120 in .__nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  67   Thread 0x3fff64c34190 (LWP 3001) "bcmDPC" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  66   Thread 0x3fff62ac5130 (LWP 3002) "bcmINTR" 0x00003fff78848dc0 in __ioctl (
    fd=, request=536890377) at ../sysdeps/unix/sysv/linux/powerpc/ioctl.c:56
  65   Thread 0x3fff625a0190 (LWP 3003) "socdmadesc.0" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  64   Thread 0x3fff624f2190 (LWP 3004) "bcmL2age.0" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff624f1420, expected=0, futex_word=0x21263684)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  63   Thread 0x3fff623ac190 (LWP 3005) "bcmCNTR.0" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff623ab410, expected=0, futex_word=0x214a66d4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  62   Thread 0x3fff62261190 (LWP 3006) "bcmTX" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable
    (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  61   Thread 0x3fff6223d190 (LWP 3007) "bcmXGS3AsyncTX" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  60   Thread 0x3fff6210a190 (LWP 3008) "Time capture cb" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
---Type  to continue, or q  to quit---
  59   Thread 0x3fff620e6190 (LWP 3009) "bcmL2X.0" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff620e5450, expected=0, futex_word=0x212635c4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  58   Thread 0x3fff620c2190 (LWP 3010) "bcmLINK.0" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff620c1310, expected=0, futex_word=0x214a60e4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  57   Thread 0x3fff608ec190 (LWP 3011) "socdmadesc.1" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  56   Thread 0x3fff608c8190 (LWP 3012) "bcmL2age.1" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff608c7420, expected=0, futex_word=0x21de4554)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  55   Thread 0x3fff608a4190 (LWP 3013) "bcmCNTR.1" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff608a3410, expected=0, futex_word=0x221d0d44)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  54   Thread 0x3fff60880190 (LWP 3014) "Time capture cb" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  53   Thread 0x3fff6085c190 (LWP 3015) "bcmL2X.1" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff6085b450, expected=0, futex_word=0x21de4494)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  52   Thread 0x3fff60838190 (LWP 3016) "bcmLINK.1" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable (private=0, abstime=0x3fff60837310, expected=0, futex_word=0x221d08f4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  51   Thread 0x3fff60814190 (LWP 3017) "MODI" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74458 , mutex=0x20c74488 ) at pthread_cond_wait.c:186
---Type  to continue, or q  to quit---
  50   Thread 0x3fff53fff190 (LWP 3018) "FLTS" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74508 , mutex=0x20c74538 ) at pthread_cond_wait.c:186
  49   Thread 0x3fff537ff190 (LWP 3019) "PLLP" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c745b8 , mutex=0x20c745e8 ) at pthread_cond_wait.c:186
  48   Thread 0x3fff52ffeed0 (LWP 3020) "ALM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74668 , mutex=0x20c74698 ) at pthread_cond_wait.c:186
  47   Thread 0x3fff50f57190 (LWP 3021) "Pm" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74718 , mutex=0x20c74748 ) at pthread_cond_wait.c:186
  46   Thread 0x3fff3ffff190 (LWP 3022) "EqmP" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c747c8 , mutex=0x20c747f8 ) at pthread_cond_wait.c:186
  45   Thread 0x3fff3f7ff190 (LWP 3023) "Eqmt" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74878 , mutex=0x20c748a8 ) at pthread_cond_wait.c:186
  44   Thread 0x3fff3efff190 (LWP 3024) "EqmS" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74928 , mutex=0x20c74958 ) at pthread_cond_wait.c:186
  43   Thread 0x3fff3e7ff190 (LWP 3025) "EqmE" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c749d8 , mutex=0x20c74a08 ) at pthread_cond_wait.c:186
  42   Thread 0x3fff507564e0 (LWP 3026) "SWMT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74a88 , mutex=0x20c74ab8 ) at pthread_cond_wait.c:186
  41   Thread 0x3fff3dfff190 (LWP 3027) "UISE" 0x00003fff78819134 in .__nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  40   Thread 0x3fff3d7ff190 (LWP 3028) "ROOT" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable
    (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  39   Thread 0x3fff3cfff190 (LWP 3029) "CMEV" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74c98 , mutex=0x20c74cc8 ) at pthread_cond_wait.c:186
  38   Thread 0x3fff3c7ff190 (LWP 3030) "CFA" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (
---Type  to continue, or q  to quit---
    private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  37   Thread 0x3fff1ffff190 (LWP 3059) "CCHK" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74df8 , mutex=0x20c74e28 ) at pthread_cond_wait.c:186
  36   Thread 0x3fff1cb22190 (LWP 3060) "LBLT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74ea8 , mutex=0x20c74ed8 ) at pthread_cond_wait.c:186
  35   Thread 0x3fff12268190 (LWP 3061) "FDIT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c74f58 , mutex=0x20c74f88 ) at pthread_cond_wait.c:186
  34   Thread 0x3fff11a68190 (LWP 3062) "CCHK" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x3fff1806b1a8, mutex=0x3fff1806f080) at pthread_cond_wait.c:186
  33   Thread 0x3fff11268190 (LWP 3063) "LLFT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75008 , mutex=0x20c75038 ) at pthread_cond_wait.c:186
  32   Thread 0x3fff10a68190 (LWP 3064) "DMTS" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c750b8 , mutex=0x20c750e8 ) at pthread_cond_wait.c:186
  31   Thread 0x3fff03fff190 (LWP 3065) "SLMT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75168 , mutex=0x20c75198 ) at pthread_cond_wait.c:186
  30   Thread 0x3fff037ff190 (LWP 3066) "PMSL" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75218 , mutex=0x20c75248 ) at pthread_cond_wait.c:186
  29   Thread 0x3fff0194e190 (LWP 3067) "PMDM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c752c8 , mutex=0x20c752f8 ) at pthread_cond_wait.c:186
  28   Thread 0x3fff0114e190 (LWP 3068) "CFMF" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75378 , mutex=0x20c753a8 ) at pthread_cond_wait.c:186
  27   Thread 0x3fff501c6190 (LWP 3069) "eth_drv_rx_thre" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  26   Thread 0x3fff501a2190 (LWP 3070) "bcmRX" 0x00003fff78c90fa4 in futex_abstimed_wait_cancelable
    (private=0, abstime=0x3fff501a1500, expected=0, futex_word=0x3fff2c00c8e4)
---Type  to continue, or q  to quit---
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  25   Thread 0x3fff5017e190 (LWP 3071) "eth_drv_rx_thre" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  24   Thread 0x3fff0094e190 (LWP 3077) "PIf" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75428 , mutex=0x20c75458 ) at pthread_cond_wait.c:186
  23   Thread 0x3ffecffff190 (LWP 3078) "CCHK" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  22   Thread 0x3fff500ed190 (LWP 3079) "RAD" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  21   Thread 0x3ffecf7ff190 (LWP 3080) "LAGM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75588 , mutex=0x20c755b8 ) at pthread_cond_wait.c:186
  20   Thread 0x3ffecefff190 (LWP 3081) "LGT1" 0x00003fff78819134 in .__nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  19   Thread 0x3ffece7ff190 (LWP 3082) "LGT2" 0x00003fff78819134 in .__nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  18   Thread 0x3ffecdfff190 (LWP 3083) "ERPT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75798 , mutex=0x20c757c8 ) at pthread_cond_wait.c:186
  17   Thread 0x3ffebcc39190 (LWP 3084) "RTXT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75848 , mutex=0x20c75878 ) at pthread_cond_wait.c:186
  16   Thread 0x3ffeb7fff190 (LWP 3085) "RAPT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c758f8 , mutex=0x20c75928 ) at pthread_cond_wait.c:186
  15   Thread 0x3ffeb7023190 (LWP 3086) "PTPM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c759a8 , mutex=0x20c759d8 ) at pthread_cond_wait.c:186
  14   Thread 0x3fff500c9190 (LWP 3115) "uC msg" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
---Type  to continue, or q  to quit---
  13   Thread 0x3fff500a5190 (LWP 3116) "uC system msg" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  12   Thread 0x3fff50081190 (LWP 3117) "uC msg" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  11   Thread 0x3fff5005d190 (LWP 3118) "uC system msg" 0x00003fff78c90c04 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x200)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  10   Thread 0x3ffeb6823190 (LWP 3119) "PTPT" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  9    Thread 0x3ffeb6023190 (LWP 3120) "XCOM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75b08 , mutex=0x20c75b38 ) at pthread_cond_wait.c:186
  8    Thread 0x3ffeb4e22190 (LWP 3610) "EHDL" 0x00003fff78849834 in .__select ()
    at ../sysdeps/unix/syscall-template.S:84
  7    Thread 0x3ffeaffff190 (LWP 3611) "LLDP" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75c68 , mutex=0x20c75c98 ) at pthread_cond_wait.c:186
  6    Thread 0x3ffeaf7ff190 (LWP 3612) "SAT" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75d18 , mutex=0x20c75d48 ) at pthread_cond_wait.c:186
  5    Thread 0x3ffeaefff190 (LWP 3613) "MSR" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75dc8 , mutex=0x20c75df8 ) at pthread_cond_wait.c:186
  4    Thread 0x3ffeae7ff190 (LWP 3614) "SYNM" 0x00003fff78c8d780 in __pthread_cond_wait (
    cond=0x20c75e78 , mutex=0x20c75ea8 ) at pthread_cond_wait.c:186
  3    Thread 0x3ffeadfff190 (LWP 3615) "cltS" 0x00003fff78c92790 in __libc_accept (
    fd=, addr=..., len=0x3ffeadffe658) at ../sysdeps/unix/sysv/linux/accept.c:28
  2    Thread 0x3ffead7ff190 (LWP 3616) "ntpl" 0x00003fff78c931c4 in .open ()
---Type  to continue, or q  to quit---
    at ../sysdeps/unix/syscall-template.S:84
* 1    Thread 0x3fff77f3b000 (LWP 2926) "CPEIMG" 0x00003fff78819134 in .__nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
(gdb) set pagi off
(gdb) c
Continuing.
^C

(gdb) thread apply 2 bt

Thread 2 (Thread 0x3ffead7ff190 (LWP 3616)):
#0  0x00003fff78c931c4 in .open () at ../sysdeps/unix/syscall-template.S:84
#1  0x0000000010abd5d4 in NTPLogMon () at src/cmntputil.c:429
#2  0x0000000010b798dc in OsixTskWrapper (pArg=0x20c75f98 ) at pthreads/osixpth.c:1130
#3  0x00003fff78c85b30 in start_thread (arg=0x3ffead7ff190) at pthread_create.c:462
#4  0x00003fff788532d4 in .__clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:96
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x00003fff78819134 in .__nanosleep () at ../sysdeps/unix/syscall-template.S:84
84in ../sysdeps/unix/syscall-template.S
(gdb) detach
Detaching from program: /tmp/CPEIMG.dbg, process 2926
(gdb) quit
root@TPS24[C]/pureNeApp# ll /var/log/syslog-pipe
prw-r--r-- 1 root root 0 Jan 14 15:37 /var/log/syslog-pipe
root@TPS24[C]/pureNeApp# 

你可能感兴趣的:(gdb debug 3 thread blocked)