• 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
Re: EXC_BAD_ACCESS when running from different drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS when running from different drive


  • Subject: Re: EXC_BAD_ACCESS when running from different drive
  • From: Daniel Hazelbaker <email@hidden>
  • Date: Tue, 27 Sep 2005 15:05:10 -0700

What is the call stack up to the crash? Anything to do with filenames or paths in there? Perhaps something to do with the path name(s) is making it crash or not crash.

Daniel

On Sep 27, 2005, at 2:31 PM, Stefan Werner wrote:

Hi,

I have a really bizarre problem:

I developed a program on my PowerBook G4, under 10.4.2 with Xcode 2.1/gcc4, using an external CVS for version control. From time to time I'd do a clean checkout from CVS to my external FW drive and build/run it from there.

Now I'm sitting at a 1.6 GHz PowerMac G5, 10.4.2, Xcode 2.1. When I check out the source code from CVS and build it, it crashes with EXC_BAD_ACCESS in (Carbon) CopyPascalStringToC(). When I build and run it from my FireWire drive, it runs fine. When I copy the build product from the G5's internal drive to the FW drive, it runs. When I copy the binary built on the FireWire drive to the internal hard drive and run it from there, it crashes. When I copy the file to the second partition of the G5's internal boot drive, it crashes.

What on earth could be triggering this? The path name on the internal G5 drive is shorter than the one on the internal drive, so it's unlikely to be some hidden buffer overrun. The debugger shows me that in both cases I'm passing the exact same pointers to CopyPascalStringToC with the exact same memory content.

Thanks for any help solving this puzzle,
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40highdesertchurch.com


This email sent to email@hidden




_______________________________________________ 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: EXC_BAD_ACCESS when running from different drive
      • From: Stefan Werner <email@hidden>
    • Re: EXC_BAD_ACCESS when running from different drive
      • From: Stefan Werner <email@hidden>
References: 
 >EXC_BAD_ACCESS when running from different drive (From: Stefan Werner <email@hidden>)

  • Prev by Date: EXC_BAD_ACCESS when running from different drive
  • Next by Date: XCode and the unreachable breakpoints
  • Previous by thread: EXC_BAD_ACCESS when running from different drive
  • Next by thread: Re: EXC_BAD_ACCESS when running from different drive
  • Index(es):
    • Date
    • Thread