library initialization
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