在 Erlang SASL 崩溃报告中,“messages:”的确切含义是什么?场地?

发布于 2024-11-06 09:14:00 字数 1018 浏览 8 评论 0原文

sasl 崩溃报告中的消息字段是否是消息邮箱的当前内容,即未收到的消息?

或者是消息历史记录,最后收到的消息?

如果它显示收到的消息,它们按什么顺序显示?

=CRASH REPORT==== 8-May-2011::09:00:38 ===
  crasher:
    initial call: most_msgs:-connect/4-fun-0-/0
    pid: <0.181.0>
    registered_name: []
    exception exit: {tx_succ_timeout,mcm}
      in function  most_msgs:wait_tx_succ/4
    ancestors: [<0.178.0>,<0.177.0>,<0.175.0>,<0.174.0>,<0.173.0>,<0.172.0>]
    messages: [{send,{most_mcm,{most_fdh,mcm,undefined,undefined,968,6,255},
                                  80,set,undefined,undefined,
                                  <<244,239,62,2>>}},
                  {recv,{most_icm,768,status,<<2>>}},
                  {recv,{most_fifo_status,mcm,0,net_off,1}},
                  {send,{most_mcm,{most_fdh,mcm,undefined,undefined,968,6,255},
                                  80,set,undefined,undefined,
                                  <<244,223,62,128>>}},

Is the messages field in a sasl crash report the current content of the messages mailbox i.e. the unrecieved messages?

Or is it the messages history, the last received messages?

If it shows the received messages in what order are they shown?

=CRASH REPORT==== 8-May-2011::09:00:38 ===
  crasher:
    initial call: most_msgs:-connect/4-fun-0-/0
    pid: <0.181.0>
    registered_name: []
    exception exit: {tx_succ_timeout,mcm}
      in function  most_msgs:wait_tx_succ/4
    ancestors: [<0.178.0>,<0.177.0>,<0.175.0>,<0.174.0>,<0.173.0>,<0.172.0>]
    messages: [{send,{most_mcm,{most_fdh,mcm,undefined,undefined,968,6,255},
                                  80,set,undefined,undefined,
                                  <<244,239,62,2>>}},
                  {recv,{most_icm,768,status,<<2>>}},
                  {recv,{most_fifo_status,mcm,0,net_off,1}},
                  {send,{most_mcm,{most_fdh,mcm,undefined,undefined,968,6,255},
                                  80,set,undefined,undefined,
                                  <<244,223,62,128>>}},

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

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

发布评论

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

评论(2

眼藏柔 2024-11-13 09:14:00

http://www.erlang.org/doc/man/erlang.html #process_info-2

{messages, MessageQueue}

MessageQueue 是进程中尚未处理的消息的列表。


大部分信息来自process_info (lib/stdlib/src/proc_lib.erl)。但不确定消息的顺序。

http://www.erlang.org/doc/man/erlang.html#process_info-2

{messages, MessageQueue}

MessageQueue is a list of the messages to the process, which have not yet been processed.


Most of the information comes from process_info (lib/stdlib/src/proc_lib.erl). Not sure about the order of messages though.

硪扪都還晓 2024-11-13 09:14:00

它是进程崩溃时消息队列中的消息。

it is the messages in the message queue at the time when the process crashed.

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