I encountered a problem yesterday that all layout tests crashed on Mac Snow Leopard.
$ 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'
I tried to remove /Library/Internet Plug-Ins/JavaPluginCocoa.bundle, then DumpRenderTree worked.