Reputation: 41
When I got a segmentation fault like this:
sending SIGSEGV to MyProcess for invalid read access from (epc == 00000000, ra == 1aca1ed8)
What means the epc == 00000000
and ra == 1aca1ed8
?
Can anyone explain it to me? Thanks.
Upvotes: 3
Views: 1488
Reputation: 10688
epc
is the Exception Program Counter
, it should point to the address of
the instruction that caused the exception. ra
is the Return Address
register, it should point to the address to return from the
function call.Upvotes: 3