Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

使用ZLOG进行日志打印的时候出现crash #244

Open
pengwang7 opened this issue Dec 15, 2023 · 0 comments
Open

使用ZLOG进行日志打印的时候出现crash #244

pengwang7 opened this issue Dec 15, 2023 · 0 comments

Comments

@pengwang7
Copy link

目前临时解决是, 打印的时候, 少打印几个就不会崩溃

#0 __strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex.S:77
#1 0x00007f539c076d31 in __vfprintf_internal (s=s@entry=0x7f5258d273d0, format=format@entry=0x522d00 "iwu(%05d) --> ccs(%05d): CB_EXT_MSR %s", ap=ap@entry=0x7f5258d27578, mode_flags=mode_flags@entry=0) at ./stdio-common/vfprintf-internal.c:1517
#2 0x00007f539c08849a in __vsnprintf_internal (
string=0x7f524c0067de "iwu(00002) --> ccs(00003): quest recPhase: 2, iMrSState: IW_EVT_M_S_WAIT_CMD,iMrSNextState: IW_EVT_C_IDLE, pEvt->bMrEarlyRecord:1, pEvt->bMrCallRecord:1 ,saproc/saenty/csf/iwu/iwu_csu.c:_sa_proc_csf"..., maxlen=,
format=0x522d00 "iwu(%05d) --> ccs(%05d): CB_EXT_MSR %s", args=0x7f5258d27578, mode_flags=0) at ./libio/vsnprintf.c:114
#3 0x00000000005063f4 in zlog_buf_vprintf (a_buf=0x7f524c006370, format=0x522d00 "iwu(%05d) --> ccs(%05d): CB_EXT_MSR %s", args=0x7f524c001018) at /home/pengwang/workspace/zlog-1.2.17/src/buf.c:220
#4 0x0000000000502c61 in zlog_spec_write_usrmsg (a_spec=0x23fa970, a_thread=0x7f524c000d50, a_buf=0x7f524c006370) at /home/pengwang/workspace/zlog-1.2.17/src/spec.c:288
#5 0x0000000000503025 in zlog_spec_gen_msg_direct (a_spec=0x23fa970, a_thread=0x7f524c000d50) at /home/pengwang/workspace/zlog-1.2.17/src/spec.c:386
#6 0x00000000004fca91 in zlog_format_gen_msg (a_format=0x23eade0, a_thread=0x7f524c000d50) at /home/pengwang/workspace/zlog-1.2.17/src/format.c:156
#7 0x00000000004ff56f in zlog_rule_output_static_file_rotate (a_rule=0x2450e10, a_thread=0x7f524c000d50) at /home/pengwang/workspace/zlog-1.2.17/src/rule.c:170
#8 0x0000000000501f4f in zlog_rule_output (a_rule=0x2450e10, a_thread=0x7f524c000d50) at /home/pengwang/workspace/zlog-1.2.17/src/rule.c:991
#9 0x00000000004f95ae in zlog_category_output (a_category=0x23e9fb0, a_thread=0x7f524c000d50) at /home/pengwang/workspace/zlog-1.2.17/src/category.c:229
#10 0x00000000004f82d3 in zlog (category=0x23e9fb0, file=0x522c80 "saproc/saenty/csf/iwu/iwu_ix.c", filelen=30, func=0x522ec0 <FUNCTION.13396> "_sa_proc_csf_iw_send_cb_extsr", funclen=29, line=57, level=40, format=0x522d00 "iwu(%05d) --> ccs(%05d): CB_EXT_MSR %s")
at /home/pengwang/workspace/zlog-1.2.17/src/zlog.c:1023
#11 0x000000000049c887 in _sa_proc_csf_iw_send_cb_extsr (pSelfPid=0x7f5258d28d80, pPeerPid=0x7f524c0084c0, pCbExtSR=0x7f5258d28d90) at saproc/saenty/csf/iwu/iwu_ix.c:56
#12 0x00000000004a0ff0 in __sa_proc_csf_iw_csu_handle_msr_service_record_request (NodeData=0x250bbc0, sSelfPid=..., InvokeId=1, recPhase=2) at saproc/saenty/csf/iwu/iwu_csu.c:1080

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant