<?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>72631</bug_id>
          
          <creation_ts>2011-11-17 10:24:02 -0800</creation_ts>
          <short_desc>[Chromium] fast/filesystem/file-writer-abort-depth.html occasionally timeouts</short_desc>
          <delta_ts>2012-06-07 06:00:56 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Steve Block">steveblock</reporter>
          <assigned_to name="Kinuko Yasuda">kinuko</assigned_to>
          <cc>adamk</cc>
    
    <cc>ericu</cc>
    
    <cc>jknotten</cc>
    
    <cc>kinuko</cc>
    
    <cc>steveblock</cc>
    
    <cc>vsevik</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>504961</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2011-11-17 10:24:02 -0800</bug_when>
    <thetext>See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ffilesystem%2Ffile-writer-abort-depth.html

Will add a CRASH expectation for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>504971</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2011-11-17 10:30:08 -0800</bug_when>
    <thetext>Committed r100643: &lt;http://trac.webkit.org/changeset/100643&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>505789</commentid>
    <comment_count>2</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2011-11-18 08:02:15 -0800</bug_when>
    <thetext>Also seeing a crash in fast/filesystem/file-writer-abort.html on all Chromium Linux bots, eg http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Linux%20(dbg)/builds/440

[31095:31372:7140143115020:FATAL:file_writer_delegate.cc(225)] Check failed: total_bytes_written_ &lt;= allowed_bytes_to_write_ || allowed_bytes_to_write_ &lt; 0. 
Backtrace:
	base::debug::StackTrace::StackTrace() [0x712bf2]
	logging::LogMessage::~LogMessage() [0x6a114a]
	fileapi::FileWriterDelegate::Write() [0x24bfd65]
	fileapi::FileWriterDelegate::OnDataWritten() [0x24c0078]
	base::internal::Invoker1&lt;&gt;::DoInvoke() [0x24c1417]
	base::Callback&lt;&gt;::Run() [0xc4454e]
	net::FileStream::AsyncContext::RunAsynchronousCallback() [0x1fb25d6]
	base::internal::Invoker1&lt;&gt;::DoInvoke() [0x1fb4452]
	base::Callback&lt;&gt;::Run() [0x68b197]
	net::CancelableCallback::Run() [0x1fb3922]
	base::internal::Invoker1&lt;&gt;::DoInvoke() [0x1fb45b2]
	base::Callback&lt;&gt;::Run() [0x68b197]
	MessageLoop::RunTask() [0x6a64a3]
	MessageLoop::DeferOrRunPendingTask() [0x6a65bd]
	MessageLoop::DoWork() [0x6a6ddf]
	base::MessagePumpLibevent::Run() [0x70790d]
	MessageLoop::RunInternal() [0x6a6125]
	MessageLoop::RunHandler() [0x6a5fd8]
	MessageLoop::Run() [0x6a58eb]
	base::Thread::Run() [0x1cfa3e6]
	base::Thread::ThreadMain() [0x1cfa566]
	base::(anonymous namespace)::ThreadFunc() [0x6ee8a3]
	start_thread [0x7f3555b439ca]
	0x7f355379170d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>507699</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2011-11-22 11:01:05 -0800</bug_when>
    <thetext>Widening expectation to Mac DEBUG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>515027</commentid>
    <comment_count>4</comment_count>
    <who name="Vsevolod Vlasov">vsevik</who>
    <bug_when>2011-12-05 04:26:58 -0800</bug_when>
    <thetext>fast/filesystem/file-writer-abort-depth.html also crashes on win release, win7 release.
Updated expectations:
Committed r101989: &lt;http://trac.webkit.org/changeset/101989&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>532069</commentid>
    <comment_count>5</comment_count>
    <who name="John Knottenbelt">jknotten</who>
    <bug_when>2012-01-09 03:39:57 -0800</bug_when>
    <thetext>This is also crashing on Linux Debug and Linux. Same call stack as above:

http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Linux%20(dbg)/builds/1966/steps/webkit_tests/logs/stdio

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ffilesystem%2Ffile-writer-abort.html

Will adjust expectations to match. Kinuko, can you take a look?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>570009</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-03-02 15:51:53 -0800</bug_when>
    <thetext>More widening, file-writer-abort-depth.html also crashes on Mac debug.

Kinuko, have you had a chance to dig into this at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>570012</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-03-02 15:53:37 -0800</bug_when>
    <thetext>Here&apos;s one of the asserts from a Snow Leopard debug run:

2012-02-24 17:27:08,272 1062 single_test_runner.py:202 DEBUG worker/6 Stacktrace for fast/filesystem/file-writer-abort-depth.html:
[1074:-1340764160:883054682632:ERROR:file_stream_metrics.cc(37)]  RecordFileError() error = 9 source = 1 record = 0
Assertion failed: (ptr_ != NULL), function operator-&gt;, file ../base/memory/ref_counted.h, line 249.

No stack, unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>570045</commentid>
    <comment_count>8</comment_count>
    <who name="Kinuko Yasuda">kinuko</who>
    <bug_when>2012-03-02 16:59:49 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Here&apos;s one of the asserts from a Snow Leopard debug run:
&gt; 
&gt; 2012-02-24 17:27:08,272 1062 single_test_runner.py:202 DEBUG worker/6 Stacktrace for fast/filesystem/file-writer-abort-depth.html:
&gt; [1074:-1340764160:883054682632:ERROR:file_stream_metrics.cc(37)]  RecordFileError() error = 9 source = 1 record = 0
&gt; Assertion failed: (ptr_ != NULL), function operator-&gt;, file ../base/memory/ref_counted.h, line 249.
&gt; 
&gt; No stack, unfortunately.

Sorry these days I haven&apos;t taken a closer look at WebKit bugs-- just filed the corresponding chromium bug since the crash is likely coming from the chrome code.

http://code.google.com/p/chromium/issues/detail?id=116639

I will take a look at the quota related DCHECK error.  I hope Eric has a better idea FileWriter.abort related errors-- or we might have introduced a new error in the recent callback refactoring.  Anyway I&apos;ll take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623937</commentid>
    <comment_count>9</comment_count>
    <who name="Kinuko Yasuda">kinuko</who>
    <bug_when>2012-05-15 05:39:55 -0700</bug_when>
    <thetext>After landing http://crrev.com/136513 it looks fine now.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ffilesystem%2Ffile-writer-abort</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>627347</commentid>
    <comment_count>10</comment_count>
    <who name="Kinuko Yasuda">kinuko</who>
    <bug_when>2012-05-17 22:39:16 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; After landing http://crrev.com/136513 it looks fine now.
&gt; 
&gt; http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ffilesystem%2Ffile-writer-abort

Now it looks pretty stable in terms of CRASH, but it seems to be occasionally seeing timeouts.  I removed CRASH expectations from test_expectations.txt.  As for timeouts I&apos;ll keep an eye on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>643472</commentid>
    <comment_count>11</comment_count>
    <who name="Kinuko Yasuda">kinuko</who>
    <bug_when>2012-06-07 06:00:56 -0700</bug_when>
    <thetext>Now all tests look green.  Closing!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>