Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intermittent WebKit Crash



My guess is that your WebPolicyDelegate has been released prematurely. The WebView does not retain it's delegates. You must ensure the your delegates stick around for the life of the WebView. On the other hand, this could be caused by some other random memory smash. Is the trace always the same?
- richard



On Jun 24, 2004, at 5:19 PM, Charles A. McBrian wrote:

Hi there,

We are getting an intermittent WebKit crash when a user clicks on a button form control that reloads the page.

Our application is a Carbon/CFM application.

Below are 2 crash logs. Does it make sense to anyone Apple? Given that it is low frequency intermittent crasher, it is especially nasty.

As always, thanks for any assistance.

Charles
Macromedia


**********

Date/Time:  2004-06-02 14:15:46 -0700
OS Version: 10.2.8 (Build 6R73)
Host:       stinkypete.local.

Command:    Contribute
PID:        10654

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x62726172

Thread 0 Crashed:
#0 0x9068bc08 in objc_msgSend_stret
#1 0x97e00c98 in -[NSObject(NSForwardInvocation) forward::]
#2 0x9068c130 in _objc_msgForward
#3 0x7e369b64 in -[WebFrame(WebPrivate) _checkNavigationPolicyForRequest:dataSource:formState:andCall: withSelector:]
#4 0x7e388ae8 in -[WebFrame(WebPrivate) _loadRequest:triggeringAction:loadType:formState:]
#5 0x7e389310 in -[WebFrame(WebPrivate) _postWithURL:referrer:target:data:contentType:triggeringEvent:form: formValues:]
#6 0x7e380c64 in -[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form: formValues:]
#7 0x7ec18e70 in KWQKHTMLPart::submitForm(KURL const&, KParts::URLArgs const&)
#8 0x7ecc0954 in KHTMLPart::submitForm(char const*, QString const&, QMemArray<char> const&, QString const&, QString const&, QString const&)
#9 0x7ec48b1c in DOM::HTMLFormElementImpl::submit(bool)
#10 0x7ec48004 in DOM::HTMLFormElementImpl::prepareSubmit()
#11 0x7ec564b8 in DOM::HTMLButtonElementImpl::defaultEventHandler(DOM::EventImpl*)
#12 0x7ebf9688 in DOM::NodeImpl::dispatchGenericEvent(DOM::EventImpl*, int&)
#13 0x7ec65880 in DOM::NodeImpl::dispatchEvent(DOM::EventImpl*, int&, bool)
#14 0x7ec65b1c in DOM::NodeImpl::dispatchUIEvent(int, int)
#15 0x7ebf9734 in DOM::NodeImpl::dispatchGenericEvent(DOM::EventImpl*, int&)
#16 0x7ec65880 in DOM::NodeImpl::dispatchEvent(DOM::EventImpl*, int&, bool)
#17 0x7ecc8828 in KHTMLView::dispatchMouseEvent(int, DOM::NodeImpl*, bool, int, QMouseEvent*, bool, int)
#18 0x7ecc97fc in KHTMLView::viewportMouseReleaseEvent(QMouseEvent*)
#19 0x7ec1c738 in KWQKHTMLPart::mouseUp(NSEvent*)
#20 0x7e38c018 in -[WebHTMLView mouseUp:]
#21 0x930c10b8 in -[NSWindow sendEvent:]
#22 0x7e374510 in -[WebNSWindow sendEvent:]
#23 0x7e39de04 in MouseUp
#24 0x7e39d50c in HIWebViewEventHandler
#25 0x969a2c54 in DispatchEventToHandlers
#26 0x969a2fbc in SendEventToEventTargetInternal
#27 0x969a63d0 in SendEventToEventTargetWithOptions
#28 0x7e39fbd8 in WindowHandler
#29 0x969a2c54 in DispatchEventToHandlers
#30 0x969a2fbc in SendEventToEventTargetInternal
#31 0x969b5494 in SendEventToEventTarget
#32 0x969c07ac in HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short)
#33 0x969b9934 in HandleMouseEvent(OpaqueEventRef*)
#34 0x969b287c in ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
#35 0x969a2d0c in DispatchEventToHandlers
#36 0x969a2fbc in SendEventToEventTargetInternal
#37 0x96a0e3c4 in CallNextEventHandler
#38 0x00b83998 in 0xb83998
#39 0x969a2c54 in DispatchEventToHandlers
#40 0x969a2fbc in SendEventToEventTargetInternal
#41 0x969b5494 in SendEventToEventTarget
#42 0x969b7258 in ToolboxEventDispatcher(OpaqueEventRef*)
#43 0x96ab4e38 in HLTBEventDispatcher
#44 0x96ab4d08 in RunApplicationEventLoop
#45 0x00b84ab4 in 0xb84ab4
#46 0x00b88ccc in 0xb88ccc
#47 0x00b889cc in 0xb889cc


Thread 1:
 #0   0x90073ba8 in mach_msg_trap
 #1   0x90005ed0 in mach_msg
 #2   0x901489c0 in __CFRunLoopRun
 #3   0x90180f4c in CFRunLoopRunSpecific
 #4   0x97e05668 in -[NSRunLoop runMode:beforeDate:]
 #5   0x97e19170 in -[NSRunLoop run]
 #6   0x97e67f7c in +[NSURLCache _diskCacheSyncLoop:]
 #7   0x97e2cc38 in forkThreadForFunction
 #8   0x90020c28 in _pthread_body

Thread 2:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x901489c0 in __CFRunLoopRun
#3 0x90180f4c in CFRunLoopRunSpecific
#4 0x97e05668 in -[NSRunLoop runMode:beforeDate:]
#5 0x97e19170 in -[NSRunLoop run]
#6 0x97e68638 in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
#7 0x97e2cc38 in forkThreadForFunction
#8 0x90020c28 in _pthread_body


Thread 3:
 #0   0x9002568c in select
 #1   0x97ef478c in _loadRunLoop
 #2   0x90020c28 in _pthread_body

Thread 4:
 #0   0x9003e9a8 in semaphore_wait_signal_trap
 #1   0x9003e7c4 in _pthread_cond_wait
 #2   0x01036488 in 0x1036488
 #3   0x01034e54 in 0x1034e54
 #4   0x048331bc in 0x48331bc
 #5   0x04833958 in 0x4833958
 #6   0x04833908 in 0x4833908
 #7   0x010360cc in 0x10360cc
 #8   0x902b81e8 in _MP_CFMTaskProc
 #9   0x9025e364 in PrivateMPEntryPoint
 #10  0x90020c28 in _pthread_body

Thread 5:
 #0   0x9003e9a8 in semaphore_wait_signal_trap
 #1   0x9003e7c4 in _pthread_cond_wait
 #2   0x01036488 in 0x1036488
 #3   0x01034e54 in 0x1034e54
 #4   0x05425230 in 0x5425230
 #5   0x054249b8 in 0x54249b8
 #6   0x010360cc in 0x10360cc
 #7   0x902b81e8 in _MP_CFMTaskProc
 #8   0x9025e364 in PrivateMPEntryPoint
 #9   0x90020c28 in _pthread_body

PPC Thread State:
  srr0: 0x9068bc08 srr1: 0x0000f030                vrsave: 0x00000000
   xer: 0x00000000   lr: 0x97e00c98  ctr: 0x9068bbf0   mq: 0x00000000
    r0: 0x97e00c98   r1: 0xbfffdaa0   r2: 0xbfffd570   r3: 0xbfffdae0
    r4: 0x05256c00   r5: 0x9069e260   r6: 0x00000591   r7: 0xa1b1c1d3
    r8: 0x00046010   r9: 0x00000000  r10: 0xa7df028c  r11: 0xa7df174c
   r12: 0x62726172  r13: 0x7ed8fa38  r14: 0xbfffdee0  r15: 0xbfffe070
   r16: 0xbfffe430  r17: 0x000002cc  r18: 0xbfffdf40  r19: 0x00000000
   r20: 0x00000000  r21: 0x9068d53c  r22: 0x00000000  r23: 0x7e3aeedc
   r24: 0x047f6ef0  r25: 0x7e3ae6f4  r26: 0xbfffdb58  r27: 0xa7df02ac
   r28: 0x047f6ef0  r29: 0x047f7000  r30: 0x05256c00  r31: 0x97e00b00

**********

Date/Time:  2004-06-02 14:39:51 -0700
OS Version: 10.2.8 (Build 6R73)
Host:       stinkypete.local.

Command:    Contribute
PID:        10900

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
#0 0x9068bc08 in objc_msgSend_stret
#1 0x97e00c98 in -[NSObject(NSForwardInvocation) forward::]
#2 0x9068c130 in _objc_msgForward
#3 0x7e369b64 in -[WebFrame(WebPrivate) _checkNavigationPolicyForRequest:dataSource:formState:andCall: withSelector:]
#4 0x7e388ae8 in -[WebFrame(WebPrivate) _loadRequest:triggeringAction:loadType:formState:]
#5 0x7e388f18 in -[WebFrame(WebPrivate) _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]
#6 0x7e388dd4 in -[WebFrame(WebPrivate) _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]
#7 0x7e3806a8 in -[WebBridge loadURL:referrer:reload:target:triggeringEvent:form:formValues:]
#8 0x7ec19090 in KWQKHTMLPart::urlSelected(KURL const&, int, int, KParts::URLArgs const&)
#9 0x7ecc12fc in KHTMLPart::urlSelected(QString const&, int, int, QString const&, KParts::URLArgs)
#10 0x7ec54d10 in DOM::HTMLAnchorElementImpl::defaultEventHandler(DOM::EventImpl*)
#11 0x7ebf9688 in DOM::NodeImpl::dispatchGenericEvent(DOM::EventImpl*, int&)
#12 0x7ec65880 in DOM::NodeImpl::dispatchEvent(DOM::EventImpl*, int&, bool)
#13 0x7ecc8828 in KHTMLView::dispatchMouseEvent(int, DOM::NodeImpl*, bool, int, QMouseEvent*, bool, int)
#14 0x7ecc97fc in KHTMLView::viewportMouseReleaseEvent(QMouseEvent*)
#15 0x7ec1c738 in KWQKHTMLPart::mouseUp(NSEvent*)
#16 0x7e38c018 in -[WebHTMLView mouseUp:]
#17 0x930c10b8 in -[NSWindow sendEvent:]
#18 0x7e374510 in -[WebNSWindow sendEvent:]
#19 0x7e39de04 in MouseUp
#20 0x7e39d50c in HIWebViewEventHandler
#21 0x969a2c54 in DispatchEventToHandlers
#22 0x969a2fbc in SendEventToEventTargetInternal
#23 0x969a63d0 in SendEventToEventTargetWithOptions
#24 0x7e39fbd8 in WindowHandler
#25 0x969a2c54 in DispatchEventToHandlers
#26 0x969a2fbc in SendEventToEventTargetInternal
#27 0x969b5494 in SendEventToEventTarget
#28 0x969c07ac in HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short)
#29 0x969b9934 in HandleMouseEvent(OpaqueEventRef*)
#30 0x969b287c in ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
#31 0x969a2d0c in DispatchEventToHandlers
#32 0x969a2fbc in SendEventToEventTargetInternal
#33 0x96a0e3c4 in CallNextEventHandler
#34 0x00b83998 in 0xb83998
#35 0x969a2c54 in DispatchEventToHandlers
#36 0x969a2fbc in SendEventToEventTargetInternal
#37 0x969b5494 in SendEventToEventTarget
#38 0x969b7258 in ToolboxEventDispatcher(OpaqueEventRef*)
#39 0x96ab4e38 in HLTBEventDispatcher
#40 0x96ab4d08 in RunApplicationEventLoop
#41 0x00b84ab4 in 0xb84ab4
#42 0x00b88ccc in 0xb88ccc
#43 0x00b889cc in 0xb889cc


Thread 1:
 #0   0x9003e9a8 in semaphore_wait_signal_trap
 #1   0x9003e7c4 in _pthread_cond_wait
 #2   0x01036488 in 0x1036488
 #3   0x01034e54 in 0x1034e54
 #4   0x04d971bc in 0x4d971bc
 #5   0x04d97958 in 0x4d97958
 #6   0x04d97908 in 0x4d97908
 #7   0x010360cc in 0x10360cc
 #8   0x902b81e8 in _MP_CFMTaskProc
 #9   0x9025e364 in PrivateMPEntryPoint
 #10  0x90020c28 in _pthread_body

Thread 2:
 #0   0x9003e9a8 in semaphore_wait_signal_trap
 #1   0x9003e7c4 in _pthread_cond_wait
 #2   0x01036488 in 0x1036488
 #3   0x01034e54 in 0x1034e54
 #4   0x04cea230 in 0x4cea230
 #5   0x04ce99b8 in 0x4ce99b8
 #6   0x010360cc in 0x10360cc
 #7   0x902b81e8 in _MP_CFMTaskProc
 #8   0x9025e364 in PrivateMPEntryPoint
 #9   0x90020c28 in _pthread_body

Thread 3:
 #0   0x90073ba8 in mach_msg_trap
 #1   0x90005ed0 in mach_msg
 #2   0x901489c0 in __CFRunLoopRun
 #3   0x90180f4c in CFRunLoopRunSpecific
 #4   0x97e05668 in -[NSRunLoop runMode:beforeDate:]
 #5   0x97e19170 in -[NSRunLoop run]
 #6   0x97e67f7c in +[NSURLCache _diskCacheSyncLoop:]
 #7   0x97e2cc38 in forkThreadForFunction
 #8   0x90020c28 in _pthread_body

Thread 4:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x901489c0 in __CFRunLoopRun
#3 0x90180f4c in CFRunLoopRunSpecific
#4 0x97e05668 in -[NSRunLoop runMode:beforeDate:]
#5 0x97e19170 in -[NSRunLoop run]
#6 0x97e68638 in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
#7 0x97e2cc38 in forkThreadForFunction
#8 0x90020c28 in _pthread_body


Thread 5:
 #0   0x9002568c in select
 #1   0x97ef478c in _loadRunLoop
 #2   0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x9068bc08 srr1: 0x0000d030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x97e00c98 ctr: 0x9068bbf0 mq: 0x00000000
r0: 0x97e00c98 r1: 0xbfffddf0 r2: 0xbfffd8c0 r3: 0xbfffde30
r4: 0x04a505e0 r5: 0x9069e260 r6: 0x000004c1 r7: 0xa1b1c1d3
r8: 0x00046010 r9: 0x00000000 r10: 0xa7df028c r11: 0xa7df174c
r12: 0x00000000 r13: 0x00000001 r14: 0x00000001 r15: 0x00000004
r16: 0x7ed95870 r17: 0x00000001 r18: 0x7e3d8c5c r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x7e3aeedc
r24: 0x04ddf910 r25: 0x7e3ae6f4 r26: 0xbfffdea8 r27: 0xa7df02ac
r28: 0x04ddf910 r29: 0x04ddfa20 r30: 0x04a505e0 r31: 0x97e00b00
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Intermittent WebKit Crash (From: "Charles A. McBrian" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.