• 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
library initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

library initialization


  • Subject: library initialization
  • From: "D. Walsh" <email@hidden>
  • Date: Sun, 11 Sep 2005 22:47:55 -0400
  • Mta-interface: amavisd-new-2.3.3 (20050822) at daleenterprise.com

I'm experiencing a problem with my app crashing while it sits idle and I'm wondering if it has to do with the initialization of an included custom library.

Should I as a standard practice clear the structure when the program launches or should I be looking elsewhere for the problem?

When it does eventually crash, it's doing it with one of these errors:

[Sun Sep 10 11:29:12 2005] [notice] child pid 9612 exit signal Segmentation fault (11)
[Sun Sep 11 23:55:58 2005] [notice] child pid 6330 exit signal Bus error (10)


Since I never know when it's going to crash sitting in xcode and waiting a day or two is unreasonable.

I was considering the following code as part of the init() routine but I'm not sure if it's required or would help?

struct bs_stat bs_dbstat;

    memset(&bs_dbstat, 0, sizeof(struct bs_stat));

Opinions ??? Suggestions ???

-- Dale
_______________________________________________
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: library initialization
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: cross-compiling kexts from 10.4
  • Next by Date: Re: library initialization
  • Previous by thread: cross-compiling kexts from 10.4
  • Next by thread: Re: library initialization
  • Index(es):
    • Date
    • Thread