android问题汇总-待解决

本文详细分析了一次程序崩溃导致的设备挂死问题,通过内核日志深入探讨了Binder机制下进程间通信失败的原因,以及关键内存地址异常引发的系统错误。文章还展示了异常堆栈跟踪和内存状态,为理解复杂系统故障提供了实例。
  • 问题:程序挂死退出

ANR in com.xxx.xxx (com.xxx.xxx/.xxxxMainActivity)
                                                               PID: 6605
                                                               Reason: Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it.  Outbound queue length: 0.  Wait queue length: 1.)
                                                               Load: 8.95 / 6.71 / 6.36
                                                               CPU usage from 500961ms to 0ms ago 

解决:

  • 问题 内核日志

a40-p1:/ # [84237.834469] binder: release 6605:6605 transaction 85033535 out, still active
[84237.842800] binder: undelivered transaction 85033542
[84237.848812] binder: undelivered transaction 85033541
[84237.857112] binder: 2333:3929 transaction failed 29189, size 104-0
[84237.946437] binder: 2333:3385 transaction failed 29189, size 4-0
[84237.953505] binder: send failed reply for transaction 85033535, target dead

  • 问题

    [SERIAL-TRACE] : COMM-EVENT [tx]

    a40-xx:/ # [SERIAL-TRACE] : COMM-EVENT [tx]

    a40-xx:/ # [SERIAL-TRACE] : COMM-EVENT [tx]

    a40-xx:/ # [ 7280.460268] Unable to handle kernel paging request at virtual address 6b6b6b6b
    [ 7280.468170] pgd = e3b38000
    [ 7280.470021] [6b6b6b6b] *pgd=00000000
    [ 7280.470021] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
    [ 7280.470021] Modules linked in: mali(O) nand(O)
    [ 7280.470021] CPU: 3 PID: 3362 Comm: sh Tainted: G        W  O 3.10.65 #350
    [ 7280.470021] task: e3bc1040 ti: e2a9a000 task.ti: e2a9a000
    [ 7280.470021] PC is at __wake_up_common+0x2c/0x88
    [ 7280.470021] LR is at __wake_up+0x48/0x5c
    [ 7280.470021] pc : [<c004f4b0>]    lr : [<c00507a0>]    psr: 60070093
    [ 7280.470021] sp : e2a9be98  ip : e2a9bec8  fp : e2a9bec4
    [ 7280.470021] r10: 00000000  r9 : 00000000  r8 : 00000003
    [ 7280.470021] r7 : 00000001  r6 : 00000001  r5 : 90070013  r4 : e28aab0c
    [ 7280.470021] r3 : 6b6b6b6b  r2 : 00000001  r1 : 00000003  r0 : e28aab08
    [ 7280.470021] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [ 7280.470021] Control: 10c5387d  Table: 63b3806a  DAC: 00000015
    [ 7280.470021

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值