<?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>115261</bug_id>
          
          <creation_ts>2013-04-26 08:50:33 -0700</creation_ts>
          <short_desc>REGRESSION(r144400): It made editing/selection/selection-invalid-offset.html fails with crash</short_desc>
          <delta_ts>2013-09-26 15:53:34 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ádám Kallai">kadam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>ap</cc>
    
    <cc>leviw</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
    
    <cc>zarvai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>881912</commentid>
    <comment_count>0</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2013-04-26 08:50:33 -0700</bug_when>
    <thetext>I could reproduce the problem. This test passes if it is run alone. Otherwise, if editing/selection/selection-in-iframe-removed-crash.html and editing/selection/selection-invalid-offset.html are run together, then the last one starts to fail with crash. The test fails with crash on debug bots.

#0  0x00007f470a81f425 in __GI_raise (sig=&lt;optimized out&gt;) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f470a822b8b in __GI_abort () at abort.c:91
#2  0x00007f470b14376e in QMessageLogger::fatal(char const*, ...) const () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#3  0x00007f4700b40018 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/plugins/platforms/libqxcb.so
#4  0x00007f4700b41cbf in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/plugins/platforms/libqxcb.so
#5  0x00007f4700b5099a in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/plugins/platforms/libqxcb.so
#6  0x00007f470b7c0a67 in QGuiApplicationPrivate::createPlatformIntegration() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Gui.so.5
#7  0x00007f470b7c16dd in QGuiApplicationPrivate::createEventDispatcher() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Gui.so.5
#8  0x00007f470b2eaade in QCoreApplication::init() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#9  0x00007f470b2eab45 in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&amp;) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#10 0x00007f470b7c21b9 in QGuiApplication::QGuiApplication(QGuiApplicationPrivate&amp;) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Gui.so.5
#11 0x00007f470c3890b2 in QApplication::QApplication(int&amp;, char**, int) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#12 0x000000000042a4df in takeOptionValue (arguments=..., index=0)
    at /home/kadam/webkit/WebKit/Tools/DumpRenderTree/qt/DumpRenderTreeMain.cpp:88
#13 0x00007f470a80a76d in __libc_start_main (main=0x42a3d3 &lt;isOption(QString const&amp;)+636&gt;, argc=2, ubp_av=0x7fffcdfb42d8, 
    init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fffcdfb42c8) at libc-start.c:226
#14 0x0000000000412f29 in QString::compare ()
#15 0x00007fffcdfb42c8 in ?? ()
#16 0x000000000000001c in ?? ()
#17 0x0000000000000002 in ?? ()
#18 0x00007fffcdfb4d48 in ?? ()
#19 0x00007fffcdfb4d87 in ?? ()
#20 0x0000000000000000 in ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>881922</commentid>
    <comment_count>1</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2013-04-26 09:13:00 -0700</bug_when>
    <thetext>Skipped in: http://trac.webkit.org/changeset/149189</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>881978</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-04-26 11:31:28 -0700</bug_when>
    <thetext>The fix shouldn’t cause a new crash. Chances are, the crash had been masked by a use-after-free bug :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>933756</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-09-26 15:53:34 -0700</bug_when>
    <thetext>This test is flakily crashing on Mac too, and TestExpectations entry points to this bug. Removing [Qt] form title.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x0000000104b52e9a WebCore::FrameLoader::dispatchDidCommitLoad() + 122 (RefPtr.h:59)
1   com.apple.WebCore             	0x0000000104b52c53 WebCore::FrameLoader::receivedFirstData() + 19 (FrameLoader.cpp:624)
2   com.apple.WebCore             	0x0000000104a43594 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 244 (RefPtr.h:40)
3   com.apple.WebKit              	0x00000001045a2c63 -[WebHTMLRepresentation receivedData:withDataSource:] + 115 (WebHTMLRepresentation.mm:189)
4   com.apple.WebKit              	0x0000000104577b00 -[WebDataSource(WebInternal) _receivedData:] + 64 (WebDataSource.mm:216)
5   com.apple.WebKit              	0x000000010458ef57 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 103 (WebFrameLoaderClient.mm:888)
6   com.apple.WebCore             	0x0000000104a44cbb WebCore::DocumentLoader::commitLoad(char const*, int) + 139 (RefCounted.h:141)
7   com.apple.WebCore             	0x0000000104a45310 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource*, char const*, int) + 720 (DocumentLoader.cpp:864)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>