Re: WebFrame stopLoading in delegate crashes app
Re: WebFrame stopLoading in delegate crashes app
- Subject: Re: WebFrame stopLoading in delegate crashes app
- From: Ewan McDougall <email@hidden>
- Date: Wed, 27 Aug 2008 21:03:49 +0100
On 22 Aug 2008, at 18:55, Nick Zitzmann wrote:
On Aug 22, 2008, at 4:18 AM, Ewan McDougall wrote:
Calling [WebFrame stopLoading] within the delegate
didStartProvisionalLoadForFrame crashes the app. Is this a bug or
am I doing something silly?
What's the backtrace? If it's within the WebKit framework, then you
should probably consider downloading the WebKit source code from <http://webkit.macosforge.org/
> and figure out what's causing the crash. Filing a bug is nice, but
having a patch to fix the bug is better. :)
Nick Zitzmann
<http://www.chronosnet.com/>
Hello,
Here's a project with the code that causes the crash http://www.55degrees.co.uk/ewan/playeri.tbz2
and here's the back trace.
(gdb) backtrace
#0 0x90a303e9 in WebCore::DocumentLoader::setLoadingFromCachedPage ()
#1 0x90a2fc64 in
WebCore::FrameLoader::continueLoadAfterWillSubmitForm ()
#2 0x90a2f3a1 in
WebCore::FrameLoader::continueLoadAfterNavigationPolicy ()
#3 0x90a2f0f7 in
WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy ()
#4 0x90a2ef3e in WebCore::PolicyCheck::call ()
#5 0x90a2e940 in WebCore::FrameLoader::continueAfterNavigationPolicy ()
#6 0x900115bc in -[WebFramePolicyListener receivedPolicyDecision:] ()
#7 0x9001157a in -[WebFramePolicyListener use] ()
#8 0x905a6a7d in __invoking___ ()
#9 0x905a6468 in -[NSInvocation invoke] ()
#10 0x905a6538 in -[NSInvocation invokeWithTarget:] ()
#11 0x9001134f in -[_WebSafeForwarder forwardInvocation:] ()
#12 0x905a69aa in ___forwarding___ ()
#13 0x905a6a12 in __forwarding_prep_0___ ()
#14 0x90010a75 in
WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction ()
#15 0x90a2d063 in WebCore::FrameLoader::checkNavigationPolicy ()
#16 0x90a2c257 in WebCore::FrameLoader::load ()
#17 0x90a2b413 in WebCore::FrameLoader::load ()
#18 0x90a2b2fc in WebCore::FrameLoader::load ()
#19 0x90a2b1a4 in WebCore::FrameLoader::load ()
#20 0x90010076 in -[WebFrame loadRequest:] ()
#21 0x00001ea3 in -[MyController reload] (self=0x13ec00,
_cmd=0x90422488) at /Users/ewan/iplayer/playeri/MyController.m:16
#22 0x00001ed5 in -[MyController awakeFromNib] (self=0x13ec00,
_cmd=0x904a7928) at /Users/ewan/iplayer/playeri/MyController.m:21
#23 0x905af955 in -[NSSet makeObjectsPerformSelector:] ()
#24 0x93214be6 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] ()
#25 0x9320ae12 in loadNib ()
#26 0x9320a774 in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] ()
#27 0x9320a3b7 in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] ()
#28 0x9320a2f5 in +[NSBundle(NSNibLoading) loadNibNamed:owner:] ()
#29 0x93209fa4 in NSApplicationMain ()
#30 0x00001e08 in main (argc=1, argv=0xbffff738) at /Users/ewan/
iplayer/playeri/main.m:13
Cheers,
Ewan
_______________________________________________
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