<?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>95764</bug_id>
          
          <creation_ts>2012-09-04 11:26:22 -0700</creation_ts>
          <short_desc>Crashes in fast/profiler layout tests after r127202</short_desc>
          <delta_ts>2016-06-06 19:58:35 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hahnenberg">mhahnenberg</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          <cc>joepeck</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>yong.li.webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>711274</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2012-09-04 11:26:22 -0700</bug_when>
    <thetext>On Mountain Lion on WebKit trunk r127470, I usually get at least one crash in the fast/profiler layout tests when looking up the scope on a JSFunction during recompilation. Since http://trac.webkit.org/changeset/127202 changed how this stuff works in JSC recently, I&apos;m choosing it as the revision to blame :-)

Here&apos;s a stack trace (from fast/profiler/document-dot-write.html):

Process:         DumpRenderTree [6124]
Path:            /Volumes/VOLUME/*/DumpRenderTree
Identifier:      DumpRenderTree
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  Python [6082]
User ID:         501

Date/Time:       2012-09-04 11:22:28.458 -0700
OS Version:      Mac OS X 10.8.1 (12B19)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008

VM Regions Near 0x8:
--&gt; 
    __TEXT                 0000000100ae9000-0000000100b8a000 [  644K] r-x/rwx SM=COW  /Volumes/VOLUME/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x0000000100d747dc JSC::WriteBarrierBase&lt;JSC::Structure&gt;::unvalidatedGet() const + 12 (WriteBarrier.h:139)
1   com.apple.JavaScriptCore      	0x0000000100d6fe8c JSC::JSCell::unvalidatedStructure() + 28 (JSCell.h:147)
2   com.apple.JavaScriptCore      	0x0000000100f8a4b7 JSC::slowValidateCell(JSC::JSCell*) + 71 (JSCell.cpp:167)
3   com.apple.JavaScriptCore      	0x0000000100d6d035 void JSC::validateCell&lt;JSC::JSCell*&gt;(JSC::JSCell*) + 21 (WriteBarrier.h:56)
4   com.apple.JavaScriptCore      	0x0000000100d8132d JSC::WriteBarrierBase&lt;JSC::JSScope&gt;::get() const + 45 (WriteBarrier.h:104)
5   com.apple.JavaScriptCore      	0x0000000100d80f57 JSC::JSFunction::scope() + 119 (JSFunction.h:75)
6   com.apple.JavaScriptCore      	0x0000000100e16bcf (anonymous namespace)::Recompiler::operator()(JSC::JSCell*) + 207 (Debugger.cpp:81)
7   com.apple.JavaScriptCore      	0x0000000100e16ada void JSC::MarkedBlock::forEachCell&lt;(anonymous namespace)::Recompiler&gt;((anonymous namespace)::Recompiler&amp;) + 122 (MarkedBlock.h:411)
8   com.apple.JavaScriptCore      	0x0000000100e167af (anonymous namespace)::Recompiler::ReturnType JSC::MarkedSpace::forEachCell&lt;(anonymous namespace)::Recompiler&gt;((anonymous namespace)::Recompiler&amp;) + 159 (MarkedSpace.h:148)
9   com.apple.JavaScriptCore      	0x0000000100e166ce JSC::Debugger::recompileAllJSFunctions(JSC::JSGlobalData*) + 174 (Debugger.cpp:121)
10  com.apple.WebCore             	0x000000010333b289 WebCore::PageScriptDebugServer::recompileAllJSFunctions(WebCore::Timer&lt;WebCore::ScriptDebugServer&gt;*) + 105 (PageScriptDebugServer.cpp:118)
11  com.apple.WebCore             	0x00000001036c04b3 WebCore::Timer&lt;WebCore::ScriptDebugServer&gt;::fired() + 115 (Timer.h:100)
12  com.apple.WebCore             	0x0000000103a06b4d WebCore::ThreadTimers::sharedTimerFiredInternal() + 285 (ThreadTimers.cpp:118)
13  com.apple.WebCore             	0x0000000103a068e9 WebCore::ThreadTimers::sharedTimerFired() + 25 (ThreadTimers.cpp:94)
14  com.apple.WebCore             	0x0000000103747d23 WebCore::timerFired(__CFRunLoopTimer*, void*) + 67 (SharedTimerMac.mm:167)
15  com.apple.CoreFoundation      	0x00007fff8a7314b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
16  com.apple.CoreFoundation      	0x00007fff8a730fcd __CFRunLoopDoTimer + 557
17  com.apple.CoreFoundation      	0x00007fff8a7167b9 __CFRunLoopRun + 1513
18  com.apple.CoreFoundation      	0x00007fff8a715dd2 CFRunLoopRunSpecific + 290
19  com.apple.Foundation          	0x00007fff85555ace -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
20  DumpRenderTree                	0x0000000100b00df1 runTest(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;) + 4977 (DumpRenderTree.mm:1362)
21  DumpRenderTree                	0x0000000100aff9fa runTestingServerLoop() + 282 (DumpRenderTree.mm:832)
22  DumpRenderTree                	0x0000000100aff2b7 dumpRenderTree(int, char const**) + 391 (DumpRenderTree.mm:879)
23  DumpRenderTree                	0x0000000100b015f9 main + 105 (DumpRenderTree.mm:916)
24  libdyld.dylib                 	0x00007fff835a17e1 start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>711724</commentid>
    <comment_count>1</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-04 22:29:03 -0700</bug_when>
    <thetext>&lt;rdar://problem/12235021&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1199858</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-06-06 19:58:35 -0700</bug_when>
    <thetext>Legacy Profiler has been removed. This test no longer exists.

Also this seems to have been passing in early 2013 without issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>