exec() Xcode 3.2 error

Discussion in 'Mac Programming' started by a.periz, Sep 30, 2009.

  1. a.periz macrumors newbie

    Joined:
    Jul 17, 2009
    #1
    I made an Application that uses execv() function to execute Mail.app in this way:
    Code:
    execv("/Applications/Mail.app/Contents/MacOS/Mail", NULL);
    I use xcode 3.2 in SnowLeopard 10.6.1 and it build the app without any problem, but when the app run and call the execv() it crashes and in the console appears:

    Code:
    Running…
    sharedlibrary apply-load-rules all
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
    warning: check_safe_call: could not restore current frame
    
    warning: Couldn't find minimal symbol for "_sigtramp" - backtraces may be unreliable
    I tried to build it in SnowLeopard with xcode 3.1 and it runs without any problem...

    Can somebody help me?

    Thank you!

    Andrea
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2

Share This Page