• 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: Crashing Problem calling postNotificationName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashing Problem calling postNotificationName


  • Subject: Re: Crashing Problem calling postNotificationName
  • From: Pax <email@hidden>
  • Date: Tue, 10 Sep 2013 12:52:39 +0100

What do the debug logs for the crash say?  At what point does the crash occur?  Is your program getting into parseOperationComplete?  When you step through, which line fails?

On 10 Sep 2013, at 12:08, Dave <email@hidden> wrote:

> Hi,
>
> I have a crashing problem when calling postNotificationName, the following method is called from an Operation Queue method/thread. It is called on the Main Thread (the operation queue method, uses performSelectorOnMainThread which calls "parseOperationCompleted" below. I've tried copying theResultDictionary or just passing it in the dictionary as is, same result.
>
> Any ideas what could be causing the crash?
>
> -(void) parseOperationComplete:(NSDictionary*) theResultDictionary
> {
> myUserInfoDictionary = [[NSMutableDictionary alloc] init];
> [myUserInfoDictionary setObject:self.pUpdateString forKey:kUserInfoLiveUpdateString];
> [myUserInfoDictionary setObject:[theResultDictionary copy] forKey:kUserInfoLiveUpdateDictionary];
>
> [NSNotificationCenter defaultCenter] postNotificationName:kNotificationName object:self userInfo:myUserInfoDictionary];
> }
>
>
> Thanks in advance for any help!
>
> All the Best
> Dave
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Crashing Problem calling postNotificationName
      • From: Jerry Krinock <email@hidden>
References: 
 >Crashing Problem calling postNotificationName (From: Dave <email@hidden>)

  • Prev by Date: Re: Apple Developer Support?
  • Next by Date: Re: Crashing Problem calling postNotificationName
  • Previous by thread: Crashing Problem calling postNotificationName
  • Next by thread: Re: Crashing Problem calling postNotificationName
  • Index(es):
    • Date
    • Thread