问题描述
每次崩溃时的崩溃痕迹都不同。这是测试设备的一部分,持续重启(约 300 次重启)设备以验证产品的稳定性。
正如下面提到的崩溃日志(只为 ref 添加了两个案例),每次都在改变崩溃模式,即崩溃不同的功能。
Call trace not giving any data,SUSPECTing memory corruption?
但是在内核命令行参数中添加 debug_guardpage_minorder=2 选项时我没有看到崩溃。
'''
案例1:
cpu: 1 PID: 2027 Comm: dnsmasq Tainted: P O 4.1.52 #0
Hardware name: broadcom-v8A (DT)
task: ffffffc022bc2ac0 ti: ffffffc01fcec000 task.ti: ffffffc01fcec000
PC is at down_write+0xc/0x60
LR is at unlink_anon_vmas+0xb8/0x258
pc : [<ffffffc0005040cc>] lr : [<ffffffc0001324d0>] pstate: 20000145
sp : ffffffc01fcefc90
x29: 0000007fe3a300a0 x28: 0000000000000000
x27: ffffffc0006acfc8 x26: ffffffc000939ddf
x25: ffffffc01fd04f38 x24: dead000000000100
x23: ffffffc01fd04fb0 x22: 00ffffc01fc0b860
x21: ffffffc01fc98038 x20: ffffffc0227c6a40
x19: 00ffffc01fc0b868 x18: 0000000000000013
x17: 0000007f7c45c5a0 x16: ffffffc000094db8
x15: 0000000000502ac0 x14: 0000000000000002
x13: 0000000000008060 x12: ffffffc02422d640
x11: ffffffc01fd04f90 x10: 0000000000000000
x9 : ffffffc02409a330 x8 : 0000000000000000
x7 : 0000007fa3d49000 x6 : ffffffc025bd91d0
x5 : ffffffc025546750 x4 : 0000007f7c3ba000
x3 : 0000000000000000 x2 : 0000007f7c3ba000
x1 : ffffffff00000001 x0 : 00ffffc01fc0b868
case 2:
cpu: 1 PID: 2590 Comm: sh Tainted: P O 4.1.52 #0
Hardware name: broadcom-v8A (DT)
task: ffffffc025c77540 ti: ffffffc025c84000 task.ti: ffffffc025c84000
PC is at vma_interval_tree_insert_after+0x24/0x88
LR is at copy_process.part.7+0xa64/0x1340
pc : [<ffffffc000123954>] lr : [<ffffffc000090c14>] pstate: 600001c5
sp : ffffffc025c87d60
x29: 0000007fda782770 x28: ffffffc02ad08640
x27: ffffffc03bc3fae0 x26: 0000000001200011
x25: 0000000000000000 x24: 0000000000000000
x23: 0000000000000000 x22: ffffffc025c6b018
x21: 0000007f8b7c6a40 x20: ffffffc03bc3fab8
x19: ffffffc026e000c8 x18: ffffffc000938bc0
x17: 0000007f8b5bb2b0 x16: ffffffc0000918d0
x15: 0000000000000002 x14: ffffffc025c6b090
x13: ffffffc025c6b090 x12: 000000000000014a
x11: ffffffc026f03ac0 x10: 00ffffc026f1d1d0
x9 : ffffffc026eaa5f1 x8 : ffffffc02beaba00
x7 : 000000000000013b x6 : ffffffc025c6b078
x5 : 00ffffc026f1d1d0 x4 : 000000000000014a
x3 : 000000000000013a x2 : ffffffc03bc3fad8
x1 : 00ffffc026f1d178 x0 : ffffffc026e000c8
'''
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)