Somebody's question

Discussion in 'Mac Programming' started by higher, Dec 4, 2008.

  1. higher macrumors newbie

    Joined:
    Dec 1, 2008
    #1
    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.
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    Have you tried any more recent versions of OSX? 10.2 was pretty buggy.
     
  3. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    Yep upgrade to at least Panther. It was the first truly usable version of OS X if you ask me.
     
  4. higher thread starter macrumors newbie

    Joined:
    Dec 1, 2008
    #4
    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.
     

Share This Page