美文网首页
nativeCrash杂谈

nativeCrash杂谈

作者: moasm | 来源:发表于2020-05-13 15:38 被阅读0次

    在oppo 的android 9机型上, 高概率有如下一些崩溃:

    F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    F DEBUG   : Build fingerprint: 'OPPO/PBDM00/PBDM00:9/PKQ1.190101.001/1537025821:user/release-keys'
    F DEBUG   : Revision: '0'
    F DEBUG   : ABI: 'arm64'
    F DEBUG   : pid: 7903, tid: 8593, name: RenderThread  >>> com.xx.xx <<<
    F DEBUG   : signal 6 (SIGABRT), code 0 (SI_USER), fault addr --------
    F DEBUG   : Abort message: 'glVertexAttribPointer error! GL_INVALID_OPERATION (0x502)'
    F DEBUG   :     x0  0000000000000000  x1  0000000000002191  x2  0000000000000006  x3  0000000000000008
    F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  7f7f7f7f7f7f7f7f
    F DEBUG   :     x8  0000000000000083  x9  c332e3e2547517be  x10 0000000000000000  x11 fffffffc7ffffbdf
    F DEBUG   :     x12 0000000000000001  x13 000000005ebb9281  x14 0020e2594187e066  x15 0000433910d4e732
    F DEBUG   :     x16 0000007503a0f2b8  x17 000000750392ec40  x18 0000000000000010  x19 0000000000001edf
    F DEBUG   :     x20 0000000000002191  x21 000000744e184400  x22 000000003c58812d  x23 00000000d083bae2
    F DEBUG   :     x24 00000000c889b5a6  x25 000000003c58812e  x26 000000000d51f059  x27 00000000f00be130
    F DEBUG   :     x28 00000000c889b5a5  x29 000000745f7ba7a0
    F DEBUG   :     sp  000000745f7ba760  lr  0000007503922394  pc  00000075039223bc
    F DEBUG   : 
    F DEBUG   : backtrace:
    F DEBUG   :     #00 pc 00000000000223bc  /system/lib64/libc.so (abort+116)
    F DEBUG   :     #01 pc 000000000007c44c  /system/lib64/libc.so (__stack_chk_fail+20)
    F DEBUG   :     #02 pc 0000000000005cac  /data/data/com.xx.xx/app_tbs_64/core_share/libQimei.so
    F DEBUG   :     #03 pc 0000000000000001  <unknown>
    
    F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    F DEBUG   : Build fingerprint: 'OPPO/PBDM00/PBDM00:9/PKQ1.190101.001/1537025821:user/release-keys'
    F DEBUG   : Revision: '0'
    F DEBUG   : ABI: 'arm64'
    F DEBUG   : pid: 9261, tid: 9834, name: RenderThread  >>> com.xx.xx <<<
    F DEBUG   : signal 6 (SIGABRT), code 0 (SI_USER), fault addr --------
    F DEBUG   : Abort message: 'glVertexAttribPointer error! GL_INVALID_OPERATION (0x502)'
    F DEBUG   :     x0  0000000000000000  x1  000000000000266a  x2  0000000000000006  x3  0000000000000008
    F DEBUG   :     x4  2900000000000000  x5  2900000000000000  x6  2900000000000000  x7  0000000000008029
    F DEBUG   :     x8  0000000000000083  x9  c332e3e2547517be  x10 0000000000000000  x11 fffffffc7ffffbdf
    F DEBUG   :     x12 0000000000000001  x13 0000000000000007  x14 ffffffffffffffff  x15 2900000000000000
    F DEBUG   :     x16 0000007503a0f2b8  x17 000000750392ec40  x18 0000000000000010  x19 000000000000242d
    F DEBUG   :     x20 000000000000266a  x21 0000000000000502  x22 00000074830140b0  x23 00000075061b12a8
    F DEBUG   :     x24 00000075061b1290  x25 00000075061b135e  x26 00000075061b132f  x27 00000075061b130f
    F DEBUG   :     x28 00000075061b1344  x29 000000746396f0c0
    F DEBUG   :     sp  000000746396f080  lr  0000007503922394  pc  00000075039223bc
    F DEBUG   : 
    F DEBUG   : backtrace:
    F DEBUG   :     #00 pc 00000000000223bc  /system/lib64/libc.so (abort+116)
    F DEBUG   :     #01 pc 0000000000008784  /system/lib64/liblog.so (__android_log_assert+296)
    F DEBUG   :     #02 pc 00000000003524d4  /system/lib64/libhwui.so (android::uirenderer::debug::GlesErrorCheckWrapper::assertNoErrors(char const*)+728)
    

    应该是 该机型上, glVertexAttribPointer api的实现有问题. 需要推动oppo解救. 应用开发这边, 需要做规避.

    相关文章

      网友评论

          本文标题:nativeCrash杂谈

          本文链接:https://www.haomeiwen.com/subject/hvinnhtx.html