PDA

View Full Version : Somebody's question




higher
Dec 5, 2008, 01:56 AM
I have an application that runs with XFree86. At the beginning of the application, we have Motif do some resource management and then add some signal handlers. If we add a -xrm option to the command line and then initialize with signal(SIGSEGV, function); we see a Bus Error at run time. The Bus Error occurs in the signal call. If we leave the -xrm option off, then we have no problems. Is there some way I can try and chase down the problem in signal? This same exact code runs fine on OS 10.1.5 as well as just about every other UN*X out there. I'm figuring it has to be a problem within OS 10.2

Maybe I have the same signal question like top, but I don't know what is -xrm setting and how to set it in max os?

Thanks in advance.



Catfish_Man
Dec 5, 2008, 02:56 AM
Have you tried any more recent versions of OSX? 10.2 was pretty buggy.

Cromulent
Dec 5, 2008, 04:22 AM
Yep upgrade to at least Panther. It was the first truly usable version of OS X if you ask me.

higher
Dec 7, 2008, 08:12 PM
my mac os version is 10.4.11(tiger)
and the signal has the same problem.;

but when i use 10.5.5(leopard), it's ok.