Reputation: 79
Thread 2 received signal SIGBUS, Bus error. 0x00000001001021e0 in ?? ()
. What does this mean? GDB does not specify where this occur either
Upvotes: 0
Views: 1308
Reputation: 213754
What does this mean?
It means that your program tried to execute instructions at address 0x1001021e0
, but page mapped at that address is not mapped with execute permissions.
GDB does not specify where this occur either
Yes it does: it occurred at address 0x1001021e0
.
What you want to do is:
where
command may help0x1001021e0
is mapped. On Linux, cat /proc/$pid-of-debugged-program/maps
or GDB info proc maps
should help. Other OSes may have similar facilities.Upvotes: 2