Code Monkey home page Code Monkey logo

Comments (4)

CainKernel avatar CainKernel commented on July 24, 2024

请报备具体的设备和出错的堆栈信息。
Fatal signal 11 (SIGSEGV) 一般是Native层C/C++代码空指针导致的。你在locat中切换到No Filters状态,然后找到该出错的堆栈信息。拍照部分我都没C/C++相关的代码,这个出错有些莫名其妙。你贴具体的出错堆栈信息我才好分析原因,要不然我也不知道问题出在哪。

from caincamera.

babyofish avatar babyofish commented on July 24, 2024

请报备具体的设备和出错的堆栈信息。
Fatal signal 11 (SIGSEGV) 一般是Native层C/C++代码空指针导致的。你在locat中切换到No Filters状态,然后找到该出错的堆栈信息。拍照部分我都没C/C++相关的代码,这个出错有些莫名其妙。你贴具体的出错堆栈信息我才好分析原因,要不然我也不知道问题出在哪。

2019-01-02 14:07:58.586 ? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-01-02 14:07:58.586 ? A/DEBUG: Build fingerprint: 'HONOR/BKL-AL00/HWBKL:8.0.0/HUAWEIBKL-AL00/204(C00GT):user/release-keys'
2019-01-02 14:07:58.586 ? A/DEBUG: Revision: '0'
2019-01-02 14:07:58.586 ? A/DEBUG: ABI: 'arm'
2019-01-02 14:07:58.586 ? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2019-01-02 14:07:58.586 ? A/DEBUG: Cause: null pointer dereference
2019-01-02 14:07:58.586 ? A/DEBUG: r0 bd7f5760 r1 00004001 r2 0000000c r3 00000000
2019-01-02 14:07:58.586 ? A/DEBUG: r4 00000000 r5 ffd02d00 r6 d85b71d8 r7 ffd02d78
2019-01-02 14:07:58.586 ? A/DEBUG: r8 a84f8708 r9 ffd02d74 sl aabf0800 fp 000013e4
2019-01-02 14:07:58.586 ? A/DEBUG: ip ea032630 sp ffd02cc8 lr e9fe6783 pc 00000000 cpsr 600f0010
2019-01-02 14:07:58.591 ? A/DEBUG: backtrace:
2019-01-02 14:07:58.591 ? A/DEBUG: #00 pc 00000000
2019-01-02 14:07:58.591 ? A/DEBUG: #1 pc 0004477f /system/lib/libc.so (fflush+74)
2019-01-02 14:07:58.591 ? A/DEBUG: #2 pc 00000164

from caincamera.

babyofish avatar babyofish commented on July 24, 2024

请报备具体的设备和出错的堆栈信息。
Fatal signal 11 (SIGSEGV) 一般是Native层C/C++代码空指针导致的。你在locat中切换到No Filters状态,然后找到该出错的堆栈信息。拍照部分我都没C/C++相关的代码,这个出错有些莫名其妙。你贴具体的出错堆栈信息我才好分析原因,要不然我也不知道问题出在哪。

2019-01-02 14:07:58.586 ? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-01-02 14:07:58.586 ? A/DEBUG: Build fingerprint: 'HONOR/BKL-AL00/HWBKL:8.0.0/HUAWEIBKL-AL00/204(C00GT):user/release-keys'
2019-01-02 14:07:58.586 ? A/DEBUG: Revision: '0'
2019-01-02 14:07:58.586 ? A/DEBUG: ABI: 'arm'
2019-01-02 14:07:58.586 ? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2019-01-02 14:07:58.586 ? A/DEBUG: Cause: null pointer dereference
2019-01-02 14:07:58.586 ? A/DEBUG: r0 bd7f5760 r1 00004001 r2 0000000c r3 00000000
2019-01-02 14:07:58.586 ? A/DEBUG: r4 00000000 r5 ffd02d00 r6 d85b71d8 r7 ffd02d78
2019-01-02 14:07:58.586 ? A/DEBUG: r8 a84f8708 r9 ffd02d74 sl aabf0800 fp 000013e4
2019-01-02 14:07:58.586 ? A/DEBUG: ip ea032630 sp ffd02cc8 lr e9fe6783 pc 00000000 cpsr 600f0010
2019-01-02 14:07:58.591 ? A/DEBUG: backtrace:
2019-01-02 14:07:58.591 ? A/DEBUG: #00 pc 00000000
2019-01-02 14:07:58.591 ? A/DEBUG: #1 pc 0004477f /system/lib/libc.so (fflush+74)
2019-01-02 14:07:58.591 ? A/DEBUG: #2 pc 00000164

是华为的Honor V10型号BKL-AL100

from caincamera.

CainKernel avatar CainKernel commented on July 24, 2024

这个是底层ROM的问题吧?fflush方法是缓冲区刷新的时候底层调用的。空指针跟我java的ByteBuffer应该没太大关系。这个截屏拍照功能。我看看能不能抽时间出来改一下。基本都是华为设备出现问题,不知是否GPU Turbo的原因,华为在GPU的驱动层做了很大的改动,最近提issue的都是华为的设备。恰好我手上又没有华为手机,没法给出准确的解决方案。

from caincamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.