Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signals??



Hi Matt,

thanks for response!

Matt Watson wrote:

I wonder because a test sequence I have should throw a SIGSEGV but it actually throws a SIBGBUS.


What's your test case? If the address is not mapped into your VM space (like 0x80000000, probably), you'd get a SIGSEGV. If the address is mapped into your VM space, but the protection is such that you can't access it (like 0x0), then you'd get a SIGBUS. For example:

The testcase you'll find in the gcc libgcj testsuite, Throw_2.java.

It's a NullPointerException. Nobody cares about since it is not part of the actual gcc for apple. But I'd like to make it so!

I think this is not a way to go. Do you have any pointers I should read?

Basics, some more inside docs?

Also, who can I contact to get some more details about kernel internas?

My work is going there to have an alternative to the sun's java with gnu java. And therefore I should implement some mechanics to handle SIGNALS in gnu java.

The actual status is visible under gcc test results mailing list.

Thanks,
Andreas
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >signals?? (From: Andreas Tobler <email@hidden>)
 >Re: signals?? (From: Matt Watson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.