Tracking down Signal codes
Ok. I've been trying to tracked down the error's meaning. specifically SIGSEGV code=2. I found it listed in the header file located at sys/siginfo.h :
* SIGSEGV codes (si_addr == address of faulting memory reference)
*/
#define SEGV_MAPERR 1 /* Address not mapped */
#define SEGV_ACCERR 2 /* No permissions */
#define SEGV_STKERR 3 /* ?? Stack exception */
#define SEGV_GPERR 4 /* ?? General protection */
#define SEGV_IRQERR 5 /* ?? Interrupt handler fault */
#if defined(__EXT_QNX)
#define NSIGSEGV 5
#endif
It seems to be SEGV_ACCERR. No permissions. Very interesting. I am not sure what it is trying to access, or why i dont have permissions as a developer. Hmmm...
Update: Found addr2line. seems like there are some errors in aot-compiler.c, and some errors in mini-arm.c. I may just do a disable-aot and focus on the mini-arm.c issue...
* SIGSEGV codes (si_addr == address of faulting memory reference)
*/
#define SEGV_MAPERR 1 /* Address not mapped */
#define SEGV_ACCERR 2 /* No permissions */
#define SEGV_STKERR 3 /* ?? Stack exception */
#define SEGV_GPERR 4 /* ?? General protection */
#define SEGV_IRQERR 5 /* ?? Interrupt handler fault */
#if defined(__EXT_QNX)
#define NSIGSEGV 5
#endif
It seems to be SEGV_ACCERR. No permissions. Very interesting. I am not sure what it is trying to access, or why i dont have permissions as a developer. Hmmm...
Update: Found addr2line. seems like there are some errors in aot-compiler.c, and some errors in mini-arm.c. I may just do a disable-aot and focus on the mini-arm.c issue...
Comments