内存崩溃警告
谁能帮忙分析一下这个崩溃问题吗?
The program did receive memory warning when webview was opened.
2011-05-10 10:52:44.882 [17713:207] *** -[CALayer retain]: message sent to deallocated instance 0xd0ee720
(gdb) where
#0 0x017d7057 in ___forwarding___ ()
#1 0x017d6f22 in __forwarding_prep_0___ ()
#2 0x017780bc in CFRetain ()
#3 0x0185edb5 in +[__NSArrayI __new::] ()
#4 0x013328f6 in -[CALayerArray copyWithZone:] ()
#5 0x017c67ca in -[NSObject(NSObject) copy] ()
#6 0x007378d7 in -[UIView dealloc] ()
#7 0x007ac52a in -[UIViewController setView:] ()
#8 0x007aeeec in -[UIViewController unloadViewForced:] ()
#9 0x007aab0a in -[UIViewController unloadViewIfReloadable] ()
#10 0x007b6194 in -[UINavigationController purgeMemoryForReason:] ()
#11 0x007aa15b in -[UIViewController didReceiveMemoryWarning] ()
#12 0x004686c1 in _nsnote_callback ()
#13 0x0183df99 in __CFXNotificationPost_old ()
#14 0x017bd33a in _CFXNotificationPostNotification ()
#15 0x0045e266 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#16 0x0046a5a9 in -[NSNotificationCenter postNotificationName:object:] ()
#17 0x00703108 in -[UIApplication _performMemoryWarning] ()
#18 0x0181724c in __CFNotificationCenterDarwinCallBack ()
#19 0x017a7872 in __CFMachPortPerform ()
#20 0x01847064 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#21 0x017a76f7 in __CFRunLoopDoSource1 ()
#22 0x017a4983 in __CFRunLoopRun ()
#23 0x017a4240 in CFRunLoopRunSpecific ()
#24 0x017a4161 in CFRunLoopRunInMode ()
#25 0x01daa268 in GSEventRunModal ()
#26 0x01daa32d in GSEventRun ()
#27 0x0070d42e in UIApplicationMain ()
#28 0x0000272e in main (argc=1, argv=0xbfffee7c)
Can anyone help in analysing this crash issue?
The program did receive memory warning when webview was opened.
2011-05-10 10:52:44.882 [17713:207] *** -[CALayer retain]: message sent to deallocated instance 0xd0ee720
(gdb) where
#0 0x017d7057 in ___forwarding___ ()
#1 0x017d6f22 in __forwarding_prep_0___ ()
#2 0x017780bc in CFRetain ()
#3 0x0185edb5 in +[__NSArrayI __new::] ()
#4 0x013328f6 in -[CALayerArray copyWithZone:] ()
#5 0x017c67ca in -[NSObject(NSObject) copy] ()
#6 0x007378d7 in -[UIView dealloc] ()
#7 0x007ac52a in -[UIViewController setView:] ()
#8 0x007aeeec in -[UIViewController unloadViewForced:] ()
#9 0x007aab0a in -[UIViewController unloadViewIfReloadable] ()
#10 0x007b6194 in -[UINavigationController purgeMemoryForReason:] ()
#11 0x007aa15b in -[UIViewController didReceiveMemoryWarning] ()
#12 0x004686c1 in _nsnote_callback ()
#13 0x0183df99 in __CFXNotificationPost_old ()
#14 0x017bd33a in _CFXNotificationPostNotification ()
#15 0x0045e266 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#16 0x0046a5a9 in -[NSNotificationCenter postNotificationName:object:] ()
#17 0x00703108 in -[UIApplication _performMemoryWarning] ()
#18 0x0181724c in __CFNotificationCenterDarwinCallBack ()
#19 0x017a7872 in __CFMachPortPerform ()
#20 0x01847064 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#21 0x017a76f7 in __CFRunLoopDoSource1 ()
#22 0x017a4983 in __CFRunLoopRun ()
#23 0x017a4240 in CFRunLoopRunSpecific ()
#24 0x017a4161 in CFRunLoopRunInMode ()
#25 0x01daa268 in GSEventRunModal ()
#26 0x01daa32d in GSEventRun ()
#27 0x0070d42e in UIApplicationMain ()
#28 0x0000272e in main (argc=1, argv=0xbfffee7c)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在尝试访问已释放的
CALayer
对象。确保正确释放
对象。还要确保在释放其他对象之前不调用[super dealloc];
You are trying to access a
CALayer
object that has already been released. Make sure yourelease
the objects properly. Also ensure that[super dealloc];
is not called before other objects are released