This can be a very simple question, I\'m am attempting to debug an application which generates the following segfault error in the kern.log
kernel
Based on my limited knowledge, your assumptions are correct.
sp = stack pointerip = instruction pointermyapp[8048000+24000] = addressIf I were debugging the problem I would modify the code to produce a core dump or log a stack backtrace on the crash. You might also run the program under (or attach) GDB.
The error code is just the architectural error code for page faults and seems to be architecture specific. They are often documented in arch/*/mm/fault.c in the kernel source. My copy of Linux/arch/i386/mm/fault.c has the following definition for error_code:
My copy of Linux/arch/x86_64/mm/fault.c adds the following: