What's exactly meaning of “Fatal signal 7 (SIGBUS) at 0x5937abd0 (code=2)” on Android platform?

后端 未结 1 791
无人及你
无人及你 2021-01-07 08:11

What\'s exactly meaning of \"Fatal signal 7 (SIGBUS) at 0x5937abd0 (code=2)\"?

The backtrace and stack info are as follow:

12-23 17:43:37.904 F/libc          


        
相关标签:
1条回答
  • 2021-01-07 08:49

    This kind of errors usually happens when something went wrong in the native part of the API you are using (Shared Object) which is written in C or C++. Or perhaps if you are writing your own native library using NDK and there is a problem in it.

    A signal is a software interrupt delivered to a process. The operating system uses signals to report exceptional situations to an executing program. Some signals report errors such as references to invalid memory addresses (SIGSEGV); others report asynchronous events, such as disconnection of a phone line.

    What you had is SIGBUS which is you can find more information about it here. And you can know more about signals from here and all the types of it.

    0 讨论(0)
提交回复
热议问题