Re: catching EXC_BAD_ACCESS?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: Heeltoe Consulting Jonas Maebe wrote:
On 21 nov 2005, at 15:43, Jonas Maebe wrote:
I've now tried a 64bit version and sure enough, that one always crashes with a SIGBUS when returning from the signal handler, even if the handler doesn't do anything. Warrants a radar, I'd say. I've put the adjusted 64bit version of the test program below (which, as I said, crashes even if you remove all code from "signal_handler"):
Found the solution! Change
sa.sa_flags = SA_SIGINFO;
into
sa.sa_flags = SA_SIGINFO|SA_64REGSET;
heh. I added that to my FPE test program and the machine hung hard. I had to power cycle :-) it's a imac G5. -brad _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Brad Parker