• 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: signal 11 (SIGSEGV) error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal 11 (SIGSEGV) error


  • Subject: Re: signal 11 (SIGSEGV) error
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 23 Apr 2009 18:07:14 -0700

On Thu, Apr 23, 2009 at 5:55 PM, Sandy Santra <email@hidden> wrote:

>        The Debugger has exited due to signal 11 (SIGSEGV).The Debugger has
> exited due to signal 11 (SIGSEGV).
>
> The error doesn't kick in if I set a break before my (second example) array
> code that shows up a little later:
>
>        NSArray *pathComponents = [path pathComponents];
>        for (NSString *element in pathComponents) {
>                NSLog(@"%@", element);
>        }
>        [path release];
>
> Anyone know what I might be doing wrong here?

You don't have ownership of the object pointed to by "path" so you
shouldn't be releasing it.

-Shawn
 _______________________________________________
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

References: 
 >signal 11 (SIGSEGV) error (From: Sandy Santra <email@hidden>)

  • Prev by Date: signal 11 (SIGSEGV) error
  • Next by Date: [Updated] Subversion 1.5/1.6 and Xcode 3+ HOWTO
  • Previous by thread: signal 11 (SIGSEGV) error
  • Next by thread: Re: signal 11 (SIGSEGV) error
  • Index(es):
    • Date
    • Thread