• 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
Leaks in UIPanGestureRecognizer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leaks in UIPanGestureRecognizer?


  • Subject: Leaks in UIPanGestureRecognizer?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 11 Apr 2012 15:42:59 -0700

I seem to be seeing a leak way down deep inside UIPanGestureRecognizer handling. The offending caller is strdup. There seems to be one of these for every pan gesture I do.

#	Address	Category	Event Type	RefCt	Timestamp	Size	Responsible Library	Responsible Caller
0	0xcded160	Malloc 48 Bytes	Malloc	1	00:20.127.201	48	libsystem_c.dylib	strdup


   0 libsystem_c.dylib malloc
   1 libsystem_c.dylib strdup
   2 libnotify_sim.dylib token_table_add
   3 libnotify_sim.dylib notify_register_mach_port
   4 libnotify_sim.dylib notify_register_dispatch
   5 CoreFoundation _CFXNotificationRegisterObserver
   6 CoreFoundation CFNotificationCenterAddObserver
   7 UIKit -[UIScrollView(Static) _startTimer:]
   8 UIKit -[UIScrollView _endPanWithEvent:]
   9 UIKit -[UIScrollView handlePan:]
  10 UIKit _UIGestureRecognizerSendActions
  11 UIKit -[UIGestureRecognizer _updateGestureWithEvent:]
  12 UIKit -[UIGestureRecognizer _delayedUpdateGesture]
  13 UIKit ___UIGestureRecognizerUpdate_block_invoke_0541
  14 UIKit _UIGestureRecognizerApplyBlocksToArray
  15 UIKit _UIGestureRecognizerUpdate
  16 UIKit -[UIWindow _sendGesturesForEvent:]
  17 UIKit -[UIWindow sendEvent:]
  18 UIKit -[UIApplication sendEvent:]
  19 UIKit _UIApplicationHandleEvent
  20 GraphicsServices PurpleEventCallback
  21 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
  22 CoreFoundation __CFRunLoopDoSource1
  23 CoreFoundation __CFRunLoopRun
  24 CoreFoundation CFRunLoopRunSpecific
  25 CoreFoundation CFRunLoopRunInMode
  26 GraphicsServices GSEventRunModal
  27 GraphicsServices GSEventRun
  28 UIKit UIApplicationMain
  29 MyApp main /Users/rmann/MyCompany/repo/MyApp/MyApp/main.m:16
  30 MyApp start


_______________________________________________

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: Leaks in UIPanGestureRecognizer?
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: clearing a webview after use
  • Next by Date: Tracking down a strange SIGABRT
  • Previous by thread: Cocoaheads Lake Forest CA meeting tonight
  • Next by thread: Re: Leaks in UIPanGestureRecognizer?
  • Index(es):
    • Date
    • Thread