How to cache SIGBUS signal in my native library?

29 views
Skip to first unread message

Eric

unread,
Sep 3, 2009, 9:24:38 PM9/3/09
to android-ndk
Hi all,

I wrote some code to cache some signal in my native share library ,
like this:

signal(SIGSEGV, handler);
signal(SIGBUS, handler);
...

I found i can't catch the SIGBUS signal(vm was crashed) in my code
when it was delivered to process, but the debuggerd process work. If a
SIGSEGV signal occured, my code could work.

How to cache SIGBUS signal in my native library?

thanks~
Reply all
Reply to author
Forward
0 new messages