-42 errors and GDB...grrrr
-42 errors and GDB...grrrr
- Subject: -42 errors and GDB...grrrr
- From: "Blair M. Burtan" <email@hidden>
- Date: Tue, 13 Nov 2007 19:41:58 -0700
Here's an interesting gotchya. I have an app that doesn't gracefully handle
-42 Too Many Files Open errors by design i.e. An exception is thrown but
just stops the app. Mind you this error NEVER occurred before it was ported
to Mach-O. I could get the app to die when run normally but running under
GDB, the app wouldn't throw the exception.
Turns out that normally the default number of open files allowed is 256 but
when an app is running in GDB it's RLIM_INFINITY (10240 to be exact).
Yeesh. What other nasty things are covered up by GDB?
Blair M. Burtan
Northern Lights Productions
www.northernlights3D.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden