[webkit-dev] DumpRenderTree crashes because of JavaPluginCocoa
Xianzhu Wang
phnixwxz at gmail.com
Mon Aug 30 19:53:48 PDT 2010
Hi,
I encountered a problem yesterday that all layout tests crashed on Mac Snow
Leopard.
DumpRenderTree produces the following output when run from command line:
$ time ./DumpRenderTree
2010-08-31 10:39:25.847 DumpRenderTree[26725:903] The requested plugin at
(/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home) cannot be
loaded on this system. Using CurrentJDK instead.
2010-08-31 10:39:25.849 DumpRenderTree[26725:903] An uncaught exception was
raised
2010-08-31 10:39:25.849 DumpRenderTree[26725:903] *** -[NSCFDictionary
setObject:forKey:]: attempt to insert nil value (key: WebPluginMIMETypes)
2010-08-31 10:39:25.850 DumpRenderTree[26725:903] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '***
-[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key:
WebPluginMIMETypes)'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff88a8acc4
__exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff84c620f3
objc_exception_throw + 45
2 CoreFoundation 0x00007fff88a8aae7 +[NSException
raise:format:arguments:] + 103
3 CoreFoundation 0x00007fff88a8aa74 +[NSException
raise:format:] + 148
4 Foundation 0x00007fff8459ea9b -[NSCFDictionary
setObject:forKey:] + 227
5 JavaPluginCocoa 0x000000010519fbc4
BP_CreatePluginMIMETypesPreferences + 162
6 WebKit 0x00000001003da00e
-[WebBasePluginPackage createPropertyListFile] + 46
7 WebKit 0x00000001003d9fcc
-[WebBasePluginPackage pListForPath:createFile:] + 92
8 WebKit 0x00000001003db5b7
-[WebBasePluginPackage getPluginInfoFromPLists] + 1975
9 WebKit 0x0000000100459182
-[WebPluginPackage initWithPath:] + 354
10 WebKit 0x00000001003da073
+[WebBasePluginPackage pluginWithPath:] + 51
11 WebKit 0x000000010045797d
-[WebPluginDatabase(Internal) _scanForNewPlugins] + 429
12 WebKit 0x0000000100458344
-[WebPluginDatabase refresh] + 100
13 WebKit 0x000000010045824d
+[WebPluginDatabase sharedDatabase] + 157
14 DumpRenderTree 0x000000010000cfda
_Z14dumpRenderTreeiPPKc + 610
15 DumpRenderTree 0x000000010000d57f main + 94
16 DumpRenderTree 0x0000000100001fe4 start + 52
)
terminate called after throwing an instance of 'NSException'
Abort trap (core dumped)
real 3m38.911s
user 0m0.042s
sys 0m13.951s
===============================
I tried to remove /Library/Internet Plug-Ins/JavaPluginCocoa.bundle, then
DumpRenderTree worked.
Anyone has encountered the same problem and/or has better solution?
BTW, why is crash reporting for DumpRenderTree so slow (3.5 minutes)?
Thanks,
Xianzhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100831/9d9ffad6/attachment.html>
More information about the webkit-dev
mailing list