<?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>48646</bug_id>
          
          <creation_ts>2010-10-29 10:36:21 -0700</creation_ts>
          <short_desc>REGRESSION: Assertion failure in TextCheckingHelper::TextCheckingHelper(), followed by crash</short_desc>
          <delta_ts>2010-10-29 20:15:28 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>48708</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jiapu.mail</cc>
    
    <cc>morrita</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301859</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-10-29 10:36:21 -0700</bug_when>
    <thetext>The ASSERT_ARG(m_range, m_range) in the TextCheckingHelper constructor is failing with this backtrace:


#0	0x103da002e in WebCore::TextCheckingHelper::TextCheckingHelper at TextCheckingHelper.cpp:42
#1	0x103d9ff1d in WebCore::TextCheckingHelper::TextCheckingHelper at TextCheckingHelper.cpp:40
#2	0x1031935f9 in WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges at Editor.cpp:2190
#3	0x10318e5d4 in WebCore::Editor::correctionPanelTimerFired at Editor.cpp:2424
#4	0x10319d40c in WebCore::Timer&lt;WebCore::Editor&gt;::fired at Timer.h:98
#5	0x103dcd783 in WebCore::ThreadTimers::sharedTimerFiredInternal at ThreadTimers.cpp:112
#6	0x103dcd539 in WebCore::ThreadTimers::sharedTimerFired at ThreadTimers.cpp:90
#7	0x103c35959 in WebCore::timerFired at SharedTimerMac.mm:166

The grammarRange parameter to markAllMisspellingsAndBadGrammarInRanges() is allowed to be 0, but now this method tries to use it to construct a TextCheckingHelper without checking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301861</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-10-29 10:37:57 -0700</bug_when>
    <thetext>In release builds, this leads to a crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302247</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-10-29 20:15:28 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 48708 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>