[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    [webkit-dev] DumpRenderTree crashes because of JavaPluginCocoa
From:       Xianzhu Wang <phnixwxz () gmail ! com>
Date:       2010-08-31 2:53:48
Message-ID: AANLkTi=hSY_9ggY1-g6mFSgbkJ2Q8cL7dL35YA3+BeYn () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

Hi,<div><br></div><div>I encountered a problem yesterday that all layout tests \
crashed on Mac Snow Leopard.</div><div><br></div><div>DumpRenderTree produces the \
following output when run from command line:</div><div><br></div> <div><div>$ time \
./DumpRenderTree</div><div>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.</div> <div>2010-08-31 \
10:39:25.849 DumpRenderTree[26725:903] An uncaught exception was \
raised</div><div>2010-08-31 10:39:25.849 DumpRenderTree[26725:903] *** \
-[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: \
WebPluginMIMETypes)</div> <div>2010-08-31 10:39:25.850 DumpRenderTree[26725:903] *** \
Terminating app due to uncaught exception &#39;NSInvalidArgumentException&#39;, \
reason: &#39;*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value \
(key: WebPluginMIMETypes)&#39;</div> <div>*** Call stack at first \
throw:</div><div>(</div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>0   CoreFoundation                      \
0x00007fff88a8acc4 __exceptionPreprocess + 180</div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>1   libobjc.A.dylib                     \
0x00007fff84c620f3 objc_exception_throw + 45</div> <div><span class="Apple-tab-span" \
style="white-space:pre">	</span>2   CoreFoundation                      \
0x00007fff88a8aae7 +[NSException raise:format:arguments:] + 103</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>3   CoreFoundation             \
0x00007fff88a8aa74 +[NSException raise:format:] + 148</div> <div><span \
class="Apple-tab-span" style="white-space:pre">	</span>4   Foundation                 \
0x00007fff8459ea9b -[NSCFDictionary setObject:forKey:] + 227</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>5   JavaPluginCocoa            \
0x000000010519fbc4 BP_CreatePluginMIMETypesPreferences + 162</div> <div><span \
class="Apple-tab-span" style="white-space:pre">	</span>6   WebKit                     \
0x00000001003da00e -[WebBasePluginPackage createPropertyListFile] + \
46</div><div><span class="Apple-tab-span" style="white-space:pre">	</span>7   WebKit  \
0x00000001003d9fcc -[WebBasePluginPackage pListForPath:createFile:] + 92</div> \
<div><span class="Apple-tab-span" style="white-space:pre">	</span>8   WebKit          \
0x00000001003db5b7 -[WebBasePluginPackage getPluginInfoFromPLists] + \
1975</div><div><span class="Apple-tab-span" style="white-space:pre">	</span>9   \
WebKit                              0x0000000100459182 -[WebPluginPackage \
initWithPath:] + 354</div> <div><span class="Apple-tab-span" \
style="white-space:pre">	</span>10  WebKit                              \
0x00000001003da073 +[WebBasePluginPackage pluginWithPath:] + 51</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>11  WebKit                     \
0x000000010045797d -[WebPluginDatabase(Internal) _scanForNewPlugins] + 429</div> \
<div><span class="Apple-tab-span" style="white-space:pre">	</span>12  WebKit          \
0x0000000100458344 -[WebPluginDatabase refresh] + 100</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>13  WebKit                     \
0x000000010045824d +[WebPluginDatabase sharedDatabase] + 157</div> <div><span \
class="Apple-tab-span" style="white-space:pre">	</span>14  DumpRenderTree             \
0x000000010000cfda _Z14dumpRenderTreeiPPKc + 610</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>15  DumpRenderTree             \
0x000000010000d57f main + 94</div> <div><span class="Apple-tab-span" \
style="white-space:pre">	</span>16  DumpRenderTree                      \
0x0000000100001fe4 start + 52</div><div>)</div><div>terminate called after throwing \
an instance of &#39;NSException&#39;</div> </div><div><div>Abort trap (core \
dumped)</div><div><br></div><div>real<span class="Apple-tab-span" \
style="white-space:pre">	</span>3m38.911s</div><div>user<span class="Apple-tab-span" \
style="white-space:pre">	</span>0m0.042s</div> <div>sys<span class="Apple-tab-span" \
style="white-space:pre">	</span>0m13.951s</div></div><div>===============================</div><div><br></div><div>I \
tried to remove /Library/Internet Plug-Ins/JavaPluginCocoa.bundle, then \
DumpRenderTree worked.</div> <div><br></div><div>Anyone has encountered the same \
problem and/or has better solution?</div><div><br></div><div>BTW, why is crash \
reporting for DumpRenderTree so slow (3.5 \
minutes)?</div><div><br></div><div>Thanks,</div> <div>Xianzhu</div><div><br></div>



_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic