Re: libSystem.B.dylib Calling Code

2009-07-01 Thread Shawn Erickson
On Wed, Jul 1, 2009 at 3:18 PM, David Blanton wrote: > Here is code that crashes. the parms coming in are checked for validity > before ReplaceChar is called > > void ReplaceChar(char *s, char oldChar, char newChar) > { >    if(newChar == oldChar) >        return; >    char *n = strchr(s, oldChar);

Re: libSystem.B.dylib

2009-07-01 Thread Michael Ash
On Wed, Jul 1, 2009 at 6:14 PM, David Blanton wrote: > My app is running on numerous customer machines.  With the recent 10.5.7 > software update I am getting calls that my app is crashing on iMacs only so > far. > > It is always in libSystem.B.dylib and some string function

Re: libSystem.B.dylib

2009-07-01 Thread David Blanton
Ok. I'll tackle with your suggestions. These iMacs Model Name: iMac Model Identifier: iMac7,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores:2 L2 Cache: 4 MB Memory: 1 GB Bus Speed:

Re: libSystem.B.dylib

2009-07-01 Thread Greg Guerin
David Blanton wrote: I agree with your premise but my code is portable and runs on many other machines with 10.5.7 AND there are post all over the internet about apps such as MS Office and Safari crashing in the same lib. List the assembly-language instructions of the function. The crash

Re: libSystem.B.dylib

2009-07-01 Thread David Blanton
my app is crashing on iMacs only so far. It is always in libSystem.B.dylib and some string function, e.g strlen+16, strchr+10 etc Is this a known Apple problem? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

libSystem.B.dylib Calling Code

2009-07-01 Thread David Blanton
Here is code that crashes. the parms coming in are checked for validity before ReplaceChar is called void ReplaceChar(char *s, char oldChar, char newChar) { if(newChar == oldChar) return; char *n = strchr(s, oldChar); while(n) { *n = newChar; n = strchr

libSystem.B.dylib

2009-07-01 Thread David Blanton
My app is running on numerous customer machines. With the recent 10.5.7 software update I am getting calls that my app is crashing on iMacs only so far. It is always in libSystem.B.dylib and some string function, e.g strlen +16, strchr+10 etc Is this a known Apple problem