我有一个Drupal网站,通过AJAX加载内容。我经常在Safari中看到一条错误消息,它只是告诉我Safari因错误而重新加载页面。这种情况偶尔会随机发生,并且当它发生时没有明确的模式。
即使收到错误消息,我仍可继续使用Safari。但是,我仍然想知道导致Safari采取行动的原因。所有其他浏览器都可以正常工作。
请参阅下面的我从Safari获得的错误消息。如何调试此类错误消息? Safari列出的堆栈跟踪非常有用。
处理:com.apple.WebKit.WebContent [71117]路径:
/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent 标识符:com.apple.WebKit.WebContent版本:
10600(10600.1.25)构建信息:WebKit2-7600001025000000~1 代码类型:X86-64(Native)父进程:??? [1] 负责人:Safari [71114]用户ID:502日期/时间:2015-01-04 19:36:19.709 +0100操作系统版本:
Mac OS X 10.10.1(14B25)报告版本:11匿名UUID:
7CA339CD-D40C-353C-270E-993C7AF943FC自启动以来的时间清醒:10000秒
Crashed Thread:0 Dispatch queue:com.apple.main-thread
异常类型:EXC_BREAKPOINT(SIGTRAP)异常代码:
0x0000000000000002,0x0000000000000000特定应用信息:捆绑控制器类: BrowserBundleController流程模型:多个Web流程
Thread 0 Crashed :: Dispatch queue:com.apple.main-thread 0 ??? 0x0000327f340258e1 0 + 55521914804449 1 ??? 0x0000327f34079552 0 + 55521915147602 2 ??? 0x0000327f34057875 0 + 55521915009141 3 ??? 0x0000327f7400095a 0 + 55522988394842 4 com.apple.JavaScriptCore
0x00007fff94d330a6 llint_entry + 23008 5 ??? 0x0000327f3411acef 0 + 55521915809007 6 ??? 0x0000327f3412fd0a 0 + 55521915895050 7 ??? 0x0000327f7400095a 0 + 55522988394842 8 com.apple.JavaScriptCore
0x00007fff94d32f33 llint_entry + 22637 9 ??? 0x0000327f340bc560 0 + 55521915422048 10 ??? 0x0000327f3411a906 0 + 55521915808006 11 ??? 0x0000327f7400095a 0 + 55522988394842 12 com.apple.JavaScriptCore
0x00007fff94d32f33 llint_entry + 22637 13 com.apple.JavaScriptCore
0x00007fff94d32f33 llint_entry + 22637 14 com.apple.JavaScriptCore
0x00007fff94d32f33 llint_entry + 22637 15 com.apple.JavaScriptCore
0x00007fff94d33168 llint_entry + 23202 16 com.apple.JavaScriptCore
0x00007fff94d32f9e llint_entry + 22744 17 com.apple.JavaScriptCore
0x00007fff94d32f9e llint_entry + 22744 18 com.apple.JavaScriptCore
0x00007fff94d32f9e llint_entry + 22744 19 com.apple.JavaScriptCore
0x00007fff94d2d4a1 callToJavaScript + 311 20 com.apple.JavaScriptCore 0x00007fff94cb2823 JSC :: JITCode :: execute(JSC :: VM *,JSC :: ProtoCallFrame *)+ 35 21 com.apple.JavaScriptCore 0x00007fff94975e5e JSC :: Interpreter :: executeCall(JSC :: ExecState *,JSC :: JSObject *, JSC :: CallType,JSC :: CallData const&,JSC :: JSValue,JSC :: ArgList const&)+ 462 22 com.apple.JavaScriptCore 0x00007fff94b4c4cf JSC :: call(JSC :: ExecState *,JSC :: JSValue,JSC :: CallType,JSC :: CallData const&,JSC :: JSValue,JSC :: ArgList const&,JSC :: JSValue *)+ 63 23 com.apple.WebCore 0x00007fff92a20948 WebCore的:: JSEventListener ::为handleEvent(WebCore的:: ScriptExecutionContext * WebCore :: Event *)+ 952 24 com.apple.WebCore
0x00007fff92a20404 WebCore的::事件目标:: fireEventListeners(WebCore的::活动* WebCore的:: EventTargetData * WTF :: Vector&)+ 692 25 com.apple.WebCore
0x00007fff928f4f27 WebCore :: EventTarget :: fireEventListeners(WebCore :: Event *)+ 167 26 com.apple.WebCore 0x00007fff92a1deb5 WebCore :: EventTarget :: dispatchEvent(WTF :: PassRefPtr)+ 85 27 com.apple.WebCore 0x00007fff92a1de07 WebCore的:: XMLHttpRequestProgressEventThrottle :: dispatchEvent(WTF :: PassRefPtr) + 199 28 com.apple.WebCore 0x00007fff92a1dd08 WebCore :: XMLHttpRequestProgressEventThrottle :: dispatchReadyStateChangeEvent(WTF :: PassRefPtr, WebCore :: ProgressEventAction)+ 56 29 com.apple.WebCore
0x00007fff92a1daf8 WebCore :: XMLHttpRequest :: callReadyStateChangeListener()+ 168 30 com.apple.WebCore 0x00007fff92a43700 WebCore :: XMLHttpRequest :: didFinishLoading(unsigned long,double)+ 368 31 com.apple.WebCore 0x00007fff929a9f3a WebCore :: CachedResource :: checkNotify()+ 170 32 com.apple.WebCore
0x00007fff929a9ddf WebCore :: CachedRawResource :: finishLoading(WebCore :: ResourceBuffer *)+ 207 33 com.apple.WebCore 0x00007fff929a9c7c WebCore :: SubresourceLoader :: didFinishLoading(double)+ 92 34 com.apple.WebKit 0x00007fff8ee4349e WebKit的:: WebResourceLoader :: didReceiveWebResourceLoaderMessage(IPC ::连接* IPC :: MessageDecoder&)+ 630 35 com.apple.WebKit
0x00007fff8ecf116a IPC :: Connection :: dispatchMessage(std :: 1 :: unique_ptr>)+ 94 36 com.apple.WebKit 0x00007fff8ecf32e2 IPC :: Connection :: dispatchOneMessage()+ 114 37 com.apple.JavaScriptCore 0x00007fff94dd4357 WTF :: RunLoop :: performWork()+ 423 38 com.apple.JavaScriptCore
0x00007fff94dd4a22 WTF :: RunLoop :: performWork(void *)+ 34 39 com.apple.CoreFoundation 0x00007fff945db661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 40 com.apple.CoreFoundation 0x00007fff945cd7ed __CFRunLoopDoSources0 + 269 41 com.apple.CoreFoundation 0x00007fff945cce1f __CFRunLoopRun + 927 42 com.apple.CoreFoundation 0x00007fff945cc838 CFRunLoopRunSpecific + 296 43 com.apple.HIToolbox 0x00007fff925e243f RunCurrentEventLoopInMode + 235 44 com.apple.HIToolbox 0x00007fff925e21ba ReceiveNextEventCommon + 431 45 com.apple.HIToolbox
0x00007fff925e1ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71 46 com.apple.AppKit 0x00007fff8b00e6d1 _DPSNextEvent + 964 47 com.apple.AppKit 0x00007fff8b00de80 - [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194 48 com.apple.AppKit 0x00007fff8b001e23 - [NSApplication 运行] + 594 49 com.apple.AppKit 0x00007fff8afed2d4 NSApplicationMain + 1832 50 libxpc.dylib
0x00007fff8d336ef2 _xpc_objc_main + 793 51 libxpc.dylib
0x00007fff8d338a9d xpc_main + 490 52 com.apple.WebKit.WebContent
0x000000010910db40 0x10910d000 + 2880 53 libdyld.dylib
0x00007fff8fae15c9 start + 1