• 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
-42 errors and GDB...grrrr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-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

  • Follow-Ups:
    • Re: -42 errors and GDB...grrrr
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: Build Phase per Configuration
  • Next by Date: Re: IB 3.0
  • Previous by thread: Re: Xcode 3.0 DocSet example
  • Next by thread: Re: -42 errors and GDB...grrrr
  • Index(es):
    • Date
    • Thread