We have an error like this,but it doesn't printf register info,so we can't analyze it, we need to implement MaybeDumpRegisters.
ERROR: AddressSanitizer: BUS on unknown address (pc 0x0020224a96e0 bp 0x007fc159cc80 sp 0x007fc159cb40 T0)
The signal is caused by a READ memory access.
Hint: this fault was caused by a dereference of a high value address (see register values below). Disassemble the provided pc to learn which register was used.
#0 0x20224a96e0 (/lib/ld-musl-aarch64-asan.so.1+0x8c6e0)
#1 0x20224a95dc (/lib/ld-musl-aarch64-asan.so.1+0x8c5dc)
#2 0x202252edcc (/lib/ld-musl-aarch64-asan.so.1+0x111dcc)
#3 0x55570cc304 (/system/asan/bin/hilogd+0x1d304)
AddressSanitizer can not provide additional info.
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @hhj @Pavel Kosov 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @hhj @Pavel Kosov for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
您好, @Pavel Kosov ,issue已经分配给您,请及时处理。
@Pavel Kosov , the issue has been assigned to you. Please handle it in time.
void SignalContext::DumpAllRegisters(void *context)
您好, @Peshkov Ivan ,issue已经分配给您,请及时处理。
@Peshkov Ivan , the issue has been assigned to you. Please handle it in time.
登录 后才可以发表评论