<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>22183</bug_id>
          
          <creation_ts>2008-11-11 13:14:39 -0800</creation_ts>
          <short_desc>Crashes in Leopard build bot in LayoutTests/storage and LayoutTests/fast/js/exceptions-thrown-in-callbacks.html</short_desc>
          <delta_ts>2009-07-31 15:35:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pierre-Olivier Latour">pol</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bolsinga</cc>
    
    <cc>darin</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98333</commentid>
    <comment_count>0</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-11-11 13:14:39 -0800</bug_when>
    <thetext>For some time, there has been 10 crashes in the Leopard build bot in LayoutTests/storage:
http://build.webkit.org/results/trunk-mac-intel-pixel/197/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98393</commentid>
    <comment_count>1</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-11-11 16:47:13 -0800</bug_when>
    <thetext>Here&apos;s the backtrace (apparently the same for all crashes):

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x92efcd9e pthread_mutex_lock + 18
1   com.apple.WebCore             	0x01455061 WebCore::guidForOriginAndName(WebCore::String const&amp;, WebCore::String const&amp;) + 529 (Database.cpp:368)
2   com.apple.WebCore             	0x01455347 WebCore::Database::Database(WebCore::Document*, WebCore::String const&amp;, WebCore::String const&amp;) + 375 (Database.cpp:135)
3   com.apple.WebCore             	0x0145667b WebCore::Database::openDatabase(WebCore::Document*, WebCore::String const&amp;, WebCore::String const&amp;, WebCore::String const&amp;, unsigned long, int&amp;) + 123 (Database.cpp:101)
4   com.apple.WebCore             	0x0144eb1f WebCore::DOMWindow::openDatabase(WebCore::String const&amp;, WebCore::String const&amp;, WebCore::String const&amp;, unsigned long, int&amp;) + 143 (DOMWindow.cpp:814)
5   com.apple.WebCore             	0x015f8e88 WebCore::jsDOMWindowPrototypeFunctionOpenDatabase(JSC::ExecState*, JSC::JSObject*, JSC::JSValue*, JSC::ArgList const&amp;) + 664 (JSDOMWindow.cpp:4230)

Thread 1:
0   libSystem.B.dylib             	0x92ef54a6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x92efcc9c mach_msg + 72
2   com.apple.CoreFoundation      	0x92cc00ce CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation      	0x92cc0cf8 CFRunLoopRunInMode + 88
4   com.apple.CFNetwork           	0x948aaeca CFURLCacheWorkerThread(void*) + 396
5   libSystem.B.dylib             	0x92f266f5 _pthread_start + 321
6   libSystem.B.dylib             	0x92f265b2 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x92ef54a6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x92efcc9c mach_msg + 72
2   com.apple.CoreFoundation      	0x92cc00ce CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation      	0x92cc0cf8 CFRunLoopRunInMode + 88
4   com.apple.Foundation          	0x913cf100 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
5   com.apple.Foundation          	0x9136bbad -[NSThread main] + 45
6   com.apple.Foundation          	0x9136b754 __NSThread__main__ + 308
7   libSystem.B.dylib             	0x92f266f5 _pthread_start + 321
8   libSystem.B.dylib             	0x92f265b2 thread_start + 34

Thread 3:
0   libSystem.B.dylib             	0x92f455e2 select$DARWIN_EXTSN + 10
1   libSystem.B.dylib             	0x92f266f5 _pthread_start + 321
2   libSystem.B.dylib             	0x92f265b2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x92efcd9d  ecx: 0x00000000  edx: 0x00000000
  edi: 0x00000000  esi: 0x16ed4180  ebp: 0xbfffdc18  esp: 0xbfffdbe0
   ss: 0x0000001f  efl: 0x00010282  eip: 0x92efcd9e   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98395</commentid>
    <comment_count>2</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-11-11 16:47:41 -0800</bug_when>
    <thetext>*** Bug 22184 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98396</commentid>
    <comment_count>3</comment_count>
    <who name="Pierre-Olivier Latour">pol</who>
    <bug_when>2008-11-11 16:48:41 -0800</bug_when>
    <thetext>There&apos;s a 11th crash with the same backtrace here:
LayoutTests/fast/js/exceptions-thrown-in-callbacks.html
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98397</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-11-11 16:48:51 -0800</bug_when>
    <thetext>This looks a bit like one of Greg&apos;s:

    static Mutex&amp; stringIdentifierMutex = *new Mutex;
...
    static HashMap&lt;String, int&gt;&amp; stringIdentifierToGUIDMap = *new HashMap&lt;String, int&gt;;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98398</commentid>
    <comment_count>5</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2008-11-11 16:51:13 -0800</bug_when>
    <thetext>I&apos;ll pretty sure this is covered by the latest patch in Bug 21810.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98400</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-11-11 16:53:00 -0800</bug_when>
    <thetext>Darin committed that. It&apos;s related to bug 22061 and bug 22061. I&apos;m guessing we&apos;re seeing the same compiler issue discussed in 21810.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135950</commentid>
    <comment_count>7</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2009-07-30 12:54:33 -0700</bug_when>
    <thetext>Is this applicable anymore?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136270</commentid>
    <comment_count>8</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2009-07-31 15:23:29 -0700</bug_when>
    <thetext>I do not see LayoutTests/storage nor LayoutTests/fast/js/exceptions-thrown-in-callbacks.html in today&apos;s Mac Leopard skip list, so these tests are now successfully running.

So this can be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>