请问[kdb_get_virtual_memory] no real storage 是什么意思

发布于 2022-09-08 17:00:59 字数 13622 浏览 27 评论 5

碰到一问题,现场在跑的程序有个线程没起作用,查看发现是这个线程挂死,现在不知道怎么找这个问题,希望有人能帮我一把~~

-bash-3.2# kdb
The specified kernel file is a 64-bit kernel
Preserving 1414852 bytes of symbol table
First symbol __mulh
           START              END <name>
0000000000001000 0000000003E0F050 start+000FD8
F00000002FF47600 F00000002FFDC940 __ublock+000000
000000002FF22FF4 000000002FF22FF8 environ+000000
000000002FF22FF8 000000002FF22FFC errno+000000
F100070F00000000 F100070F10000000 pvproc+000000
F100070F10000000 F100070F18000000 pvthread+000000
PFT:
PVT:
id....................0002
raddr.....0000000002000000 eaddr.....F200800040000000
size..............00080000 align.............00001000
valid..1 ros....0 fixlmb.1 seg....0 wimg...2
(0)> dcal 401906
Value decimal: 401906          Value hexa: 000621F2
(0)> tpid 000621F2
                SLOT NAME     STATE    TID PRI   RQ CPUID  CL  WCHAN

pvthread+80C800 32968 filter   SLEEP 0C81F5 03C    6         0  
pvthread+80FD00 33021 filter   SLEEP 0FD117 03C    7         0  pvthread+80FD40
pvthread+00C000  192 filter   SLEEP 0C007B 03C    6         0  F1000110115D0630
pvthread+80E700 32999!filter   RUN   0E715F 05E    7         0                                   ----------挂死的线程
pvthread+00B900  185 filter   SLEEP 0B90E1 03C    4         0  F10001101BCEE930
pvthread+80DC00 32988 filter   SLEEP 0DC1C3 03C    4         0  
pvthread+010000  256 filter   SLEEP 1000C3 03C    0         0  pvthread+010040
pvthread+805900 32857 filter   SLEEP 059105 03C    6         0  F10001101321AA30
pvthread+00D800  216 filter   SLEEP 0D80DB 03C    2         0  F10001003EC04FB0
pvthread+805E00 32862 filter   SLEEP 05E1CF 03C    6         0  F100011013041AD8
pvthread+005900   89 filter   SLEEP 05901D 03C    6         0  F100011013041C58
pvthread+805A00 32858 filter   SLEEP 05A1CB 03C    4         0  F100011013041A18
pvthread+809A00 32922 filter   SLEEP 09A1A7 03C    6         0  
pvthread+811900 33049 filter   SLEEP 1191FD 03C    4         0  pvthread+811940
pvthread+00DC00  220 filter   SLEEP 0DC06D 03C    2         0  pvthread+00DC40
pvthread+010A00  266 filter   SLEEP 10A00F 03C    0         0  F10001003A677930
(0)> f 32968
pvthread+80C800 STACK:
[000551C8]et_wait+0002B0 (00000000D0431F3C, 000000000000D0B2,
   00000000D012F230 [??])
[00459AD8]poll_wait+00003C (??, ??)
[00472064]_select+000BD0 (??, ??, ??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0431DBC]__fd_select+000098 (??, ??, ??, ??, ??)
[100153A0]select+00003C (00000004, 2FF20BD4, 00000000, 00000000,
   2FF22BE4)
[10015C6C]Select+00003C (00000004, 2FF20BD4, 00000000, 00000000,
   2FF22BE4)
[10002230]ListenPorts+000540 (00000000)
[10001CAC]main+000508 (00000001, 2FF22D64)
[100001E8]__start+000098 ()
(0)>
(0)> f 33021
pvthread+80FD00 STACK:
[0005EC1C]ep_block_thread+000520 (00000000D0120F04 [??])
[0005D298]_thread_tsleep+000678 (??, ??, ??, ??, ??)
[00061070]thread_tsleep+000014 (??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0120300]_vp_sleep+000384 (??, ??)
[D011E140]_usched_dispatch+000280 (??, ??, ??)
[00000000]00000000 ()
[kdb_get_virtual_memory] no real storage @ 3835383142002234
(0)>
(0)> f 192
pvthread+00C000 STACK:
[000542F8]e_block_thread+000290 ()
[00145504]nsleep_com+0000BC (??)
[001460A8]nsleep+00006C (??, ??)
[00003810].svc_instr+000110 ()
[D0124410]_p_nsleep+00000C (??, ??)
[D037D51C]nsleep+0000A8 (??, ??)
[D02765FC]sleep_4_1+000028 (??)
[10006428]ShExec+000078 (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 32999                                                       ------------挂死线程的堆栈显示
pvthread+80E700 STACK:
Use current context [F00000003011F780] of cpu 7
[100060FC]ReadFtpFile+000090 (00000000)
[kdb_get_virtual_memory] no real storage @ 307C0D08                            ----------不明白是什么意思
[100060F4]ReadFtpFile+000088 (00000000)                         -------------+000088  怎么理解???
(0)>
(0)> f 185
pvthread+00B900 STACK:
[000542F8]e_block_thread+000290 ()
[00145504]nsleep_com+0000BC (??)
[001460A8]nsleep+00006C (??, ??)
[00003810].svc_instr+000110 ()
[D0124410]_p_nsleep+00000C (??, ??)
[D037D51C]nsleep+0000A8 (??, ??)
[D02765FC]sleep_4_1+000028 (??)
[1002E034]Msleep+00006C (00000BB
[100049CC]AlarmMsgSender+000114 (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 32988
pvthread+80DC00 STACK:
[000551C8]et_wait+0002B0 (000000000000E088, 000000000000D032,
   00000000000000FF [??])
[00459AD8]poll_wait+00003C (??, ??)
[00472064]_select+000BD0 (??, ??, ??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0431DBC]__fd_select+000098 (??, ??, ??, ??, ??)
[100153A0]select+00003C (00000001, 294E219C, 00000000, 00000000,
   294E419C)
[10015C6C]Select+00003C (00000001, 294E219C, 00000000, 00000000,
   294E419C)
[100124AC]WaitSelect+0000CC (00000000, 0000000A, 00000000, 0000000
[10014A30]RecvFromTcp2+000074 (00000000, 294F4684, 00000001)
[10012F20]RecvIcpData2+00016C (00000000, 294F56E0, 00000001)
[10004114]AppIcpRecvMsg+000290 (241D0E54)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 256
pvthread+010000 STACK:
[0005EC1C]ep_block_thread+000520 (00000000D0116AB8 [??])
[0005D298]_thread_tsleep+000678 (??, ??, ??, ??, ??)
[00061070]thread_tsleep+000014 (??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0120300]_vp_sleep+000384 (??, ??)
[D011E140]_usched_dispatch+000280 (??, ??, ??)
[00000000]00000000 ()
[kdb_get_virtual_memory] no real storage @ 42002234
(0)>
(0)> f 32857
pvthread+805900 STACK:
[000542F8]e_block_thread+000290 ()
[00145504]nsleep_com+0000BC (??)
[001460A8]nsleep+00006C (??, ??)
[00003810].svc_instr+000110 ()
[D0124410]_p_nsleep+00000C (??, ??)
[D037D51C]nsleep+0000A8 (??, ??)
[D02765FC]sleep_4_1+000028 (??)
[1002E034]Msleep+00006C (0000138
[100038B0]HandSwitch+000094 (00000005)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 216
pvthread+00D800 STACK:
[000542F8]e_block_thread+000290 ()
[00145504]nsleep_com+0000BC (??)
[001460A8]nsleep+00006C (??, ??)
[00003810].svc_instr+000110 ()
[D0124410]_p_nsleep+00000C (??, ??)
[D037D51C]nsleep+0000A8 (??, ??)
[D02765FC]sleep_4_1+000028 (??)
[1002E034]Msleep+00006C (0000138
[10003CA0]SysGuardian+000078 (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 32862
pvthread+805E00 STACK:
[000542F8]e_block_thread+000290 ()
[0044EAF4]rtipc_tsleep_block+000154 (??, ??, ??)
[0044EF4C]rtipc_tsleep_thread+000074 (??, ??, ??, ??, ??, ??, ??)
[004558A0]semsleep+000124 (??, ??, ??, ??, ??)
[00456000]atomic+000654 (??, ??, ??, ??, ??, ??, ??)
[00456B78]rsemop+0004EC (0080003100800031, F00000003008F698,
   0000000000000001, 0000000100000001, 0000000000000000, 0000000400000004)
[00452CE0]_sem_wait+0001E0 (??, ??, ??)
[00003810].svc_instr+000110 ()
[D04E427C]sem_wait+000014 (??)
[100104F8]Sem_wait+00001C (241D0C60)
[10028E54]ReadRecvBuff+00001C (2947C6F0)
[100034D0]MsgProcessor+000074 (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 89
pvthread+005900 STACK:
[000542F8]e_block_thread+000290 ()
[0044EAF4]rtipc_tsleep_block+000154 (??, ??, ??)
[0044EF4C]rtipc_tsleep_thread+000074 (??, ??, ??, ??, ??, ??, ??)
[004558A0]semsleep+000124 (??, ??, ??, ??, ??)
[00456000]atomic+000654 (??, ??, ??, ??, ??, ??, ??)
[00456B78]rsemop+0004EC (0080002F0080002F, F000000030077698,
   0000000000000001, 0000000100000001, 0000000000000000, 0000000400000004)
[00452CE0]_sem_wait+0001E0 (??, ??, ??)
[00003810].svc_instr+000110 ()
[D04E427C]sem_wait+000014 (??)
[100104F8]Sem_wait+00001C (241D0CC0)
[10029290]ReadSendBuff+00001C (2945D6E
[10002E38]MsgSender+00004C (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 32858
pvthread+805A00 STACK:
[000542F8]e_block_thread+000290 ()
[0044EAF4]rtipc_tsleep_block+000154 (??, ??, ??)
[0044EF4C]rtipc_tsleep_thread+000074 (??, ??, ??, ??, ??, ??, ??)
[004558A0]semsleep+000124 (??, ??, ??, ??, ??)
[00456000]atomic+000654 (??, ??, ??, ??, ??, ??, ??)
[00456B78]rsemop+0004EC (0080002C0080002C, F00000003005F698,
   0000000000000001, 0000000100000001, 0000000000000000, 0000000400000004)
[00452CE0]_sem_wait+0001E0 (??, ??, ??)
[00003810].svc_instr+000110 ()
[D04E427C]sem_wait+000014 (??)
[100104F8]Sem_wait+00001C (28681A54)
[1002E8C8]GetRecvBuffer+00001C (291218E
[10040168]MMLProcessThread+000038 (00000000)
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 32922
pvthread+809A00 STACK:
[0005F3E0]thread_waitact+000228 (00000000D011B7B4 [??])
[00003810].svc_instr+000110 ()
[D011B7B0]_usched_func+00008C ()
[D010D780]_pthread_body+000118 (??)
(0)>
(0)> f 33049
pvthread+811900 STACK:
[0005EC1C]ep_block_thread+000520 (00000000100EFBF0 [??])
[0005D298]_thread_tsleep+000678 (??, ??, ??, ??, ??)
[00061070]thread_tsleep+000014 (??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0120300]_vp_sleep+000384 (??, ??)
[D011E140]_usched_dispatch+000280 (??, ??, ??)
[00000000]00000000 ()
[kdb_get_virtual_memory] no real storage @ 3132303542002234
(0)>
(0)> f 220
pvthread+00DC00 STACK:
[0005EC1C]ep_block_thread+000520 (00000000F028C988 [??])
[0005D298]_thread_tsleep+000678 (??, ??, ??, ??, ??)
[00061070]thread_tsleep+000014 (??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D0120300]_vp_sleep+000384 (??, ??)
[D011E140]_usched_dispatch+000280 (??, ??, ??)
[00000000]00000000 ()
[kdb_get_virtual_memory] no real storage @ 42002234
(0)>
(0)> f 266
pvthread+010A00 STACK:
[000542F8]e_block_thread+000290 ()
[00145504]nsleep_com+0000BC (??)
[001460A8]nsleep+00006C (??, ??)
[00003810].svc_instr+000110 ()
[D0124410]_p_nsleep+00000C (??, ??)
[D037D51C]nsleep+0000A8 (??, ??)
[D037D14C]usleep+000080 (??)
[1002E040]Msleep+000078 (0000000A)
[1002D464]scan_timer+000424 (00000000)
[D010D780]_pthread_body+000118 (??)

除了挂死的线程,还有好几个线程都有[kdb_get_virtual_memory] no real storage。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

彻夜缠绵 2022-09-11 13:51:22

有没人知道?

别想她 2022-09-10 14:11:13

断肠人 2022-09-10 10:26:46

只有一腔孤勇 2022-09-09 15:18:54

有没人知道阿???

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文