• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask Explodes. Clueless.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Explodes. Clueless.


  • Subject: Re: NSTask Explodes. Clueless.
  • From: Seth Willits <email@hidden>
  • Date: Thu, 07 Feb 2013 09:01:48 -0800

On Feb 6, 2013, at 10:29 PM, Chris Hanson wrote:

> On Feb 4, 2013, at 11:26 AM, Seth Willits <email@hidden> wrote:
>
>> Looking around the open source code for exec(), it appears EINVAL (22) can be returned if the task was exec()'d when not called from a vfork()'d process, with the comment /* If we're not in vfork, don't permit a mutithreaded task to exec */ which seems to line up with the *** multi-threaded process forked *** line in the crash log…  trouble is I have no idea what this ultimately means to me. Seems like an OS bug?
>
> One thing that occurs to me is that there might be something running that is injecting itself into your app's address space - and into the address space of the forked subprocess, and trying to do something "on startup."
>
> What loaded libraries are listed in the crash dump?


Nothing third party that I can see.

https://gist.github.com/anonymous/4732383/




On Feb 7, 2013, at 3:40 AM, Ivan Ostres wrote:

> On 2/4/13 8:26 PM, Seth Willits wrote:
>> [snip]
>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>> 0   com.apple.Foundation          	0x978142d8 ___NEW_PROCESS_COULD_NOT_BE_EXECD___ + 7
>> 1   com.apple.Foundation          	0x976d2e16 -[NSConcreteTask launchWithDictionary:] + 4698
>> 2   com.apple.Foundation          	0x97744447 -[NSConcreteTask launch] + 40
>> [/snip]
> Hi Seth,
>
> are you starting a shell script here or native binary?



A native 32-bit binary.




--
Seth Willits




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >NSTask Explodes. Clueless. (From: Seth Willits <email@hidden>)
 >Re: NSTask Explodes. Clueless. (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: converting coredata files
  • Next by Date: Re: QR code reader/generator SDK
  • Previous by thread: Re: NSTask Explodes. Clueless.
  • Next by thread: Re: NSTask Explodes. Clueless.
  • Index(es):
    • Date
    • Thread