Re: execle err=22
Re: execle err=22
- Subject: Re: execle err=22
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sat, 20 Sep 2003 18:57:14 +0100
On Saturday, September 20, 2003, at 05:41 pm, Gilbert Mackall wrote:
I have one user that is experiencing an error message that I can not
find any documentation on. Only this one user is seeing the problem. I
have attached entries from both the crash loag and console window.
Any ideas?
Yes, what it's saying is that execle() is failing with errno set to 22
(EINVAL). You can look up errno error codes in /usr/include/errno.h
(well, actually, by the time you've finished, you'll be in
/usr/include/sys/errno.h, but you should train yourself to start in
/usr/include/errno.h because that will work on other platforms as well).
Unfortunately, the manual pages do not document the meaning of EINVAL
when returned by execle(), so to find-out exactly why EINVAL might be
returned you'd have to look in the kernel source (or possibly the
sources for e.g. dyld).
From the backtrace in the crash log, I would guess that the user has a
corrupt copy of a library file (framework, bundle or plug-in) that is
used by your application,
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >execle err=22 (From: Gilbert Mackall <email@hidden>) |