<?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>81992</bug_id>
          
          <creation_ts>2012-03-22 16:51:37 -0700</creation_ts>
          <short_desc>SVG crash in getCTM on hidden text</short_desc>
          <delta_ts>2012-03-28 13:40:45 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>82375</dup_id>
          
          <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="Stephen Chenney">schenney</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>schenney</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>585867</commentid>
    <comment_count>0</comment_count>
      <attachid>133385</attachid>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-22 16:51:37 -0700</bug_when>
    <thetext>Created attachment 133385
Test case

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

In the attached test case, click on &quot;Hide text&quot; then &quot;getCTM&quot;. Chrome crashes with this reported stack trace:

Thread 0 *CRASHED* ( EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE @ 0x00000004 )

0x1dd34b13	 [Google Chrome Framework	 - ../../JavaScriptCore/wtf/RefPtr.h:60]	WebCore::SVGTextElement::animatedLocalTransform
0x1dd34e0c	 [Google Chrome Framework	 + 0x01c99e0c]	non-virtual thunk to WebCore::SVGTextElement::animatedLocalTransform() const
0x1dd35521	 [Google Chrome Framework	 - ../svg/SVGTransformable.h:49]	WebCore::SVGTextElement::localCoordinateSpaceTransform
0x1dcfb4bf	 [Google Chrome Framework	 - SVGLocatable.cpp:92]	WebCore::SVGLocatable::computeCTM
0x1dd34a36	 [Google Chrome Framework	 - SVGTextElement.cpp:104]	WebCore::SVGTextElement::getCTM
0x1db980d5	 [Google Chrome Framework	 - V8SVGTextElement.cpp:85]	WebCore::SVGTextElementInternal::getCTMCallback
0x1cd95b91	 [Google Chrome Framework	 - builtins.cc:1136]	v8::internal::Builtin_HandleApiCall
0x4020a335			
0x40230b88			
0x402308f6			
0x40230ad1			
0x40221b58			
0x40213189			
0x1cdb57c2	 [Google Chrome Framework	 + 0x00d1a7c2]	v8::internal::Invoke(bool, v8::internal::Handle&lt;v8::internal::JSFunction&gt;, v8::internal::Handle&lt;v8::internal::Object&gt;, int, v8::internal::Handle&lt;v8::internal::Object&gt;*, bool*)
0x1cdb5403	 [Google Chrome Framework	 - execution.cc:170]	v8::internal::Execution::Call
0x1cd760b0	 [Google Chrome Framework	 - api.cc:3608]	v8::Function::Call
0x1d6be756	 [Google Chrome Framework	 - V8Proxy.cpp:437]	WebCore::V8Proxy::instrumentedCallFunction
0x1d6be42b	 [Google Chrome Framework	 - V8Proxy.cpp:407]	WebCore::V8Proxy::callFunction
0x1d6b9e92	 [Google Chrome Framework	 - V8LazyEventListener.cpp:71]	WebCore::V8LazyEventListener::callListenerFunction
0x1d6b22b2	 [Google Chrome Framework	 - V8AbstractEventListener.cpp:159]	WebCore::V8AbstractEventListener::invokeEventHandler
0x1d6b2125	 [Google Chrome Framework	 - V8AbstractEventListener.cpp:104]	WebCore::V8AbstractEventListener::handleEvent
0x1d417347	 [Google Chrome Framework	 - EventTarget.cpp:231]	WebCore::EventTarget::fireEventListeners
0x1d4171a5	 [Google Chrome Framework	 - EventTarget.cpp:198]	WebCore::EventTarget::fireEventListeners
0x1d4247d8	 [Google Chrome Framework	 - Node.cpp:2787]	WebCore::Node::handleLocalEvents
0x1d412631	 [Google Chrome Framework	 - EventDispatcher.cpp:298]	WebCore::EventDispatcher::dispatchEvent
0x1d41b50c	 [Google Chrome Framework	 - MouseEvent.cpp:207]	WebCore::MouseEventDispatchMediator::dispatchEvent
0x1d411c7f	 [Google Chrome Framework	 - EventDispatcher.cpp:55]	WebCore::EventDispatcher::dispatchEvent
0x1d42506c	 [Google Chrome Framework	 - Node.cpp:2852]	WebCore::Node::dispatchMouseEvent
0x1d91b7ab	 [Google Chrome Framework	 - EventHandler.cpp:2207]	WebCore::EventHandler::dispatchMouseEvent
0x1d91caad	 [Google Chrome Framework	 - EventHandler.cpp:1857]	WebCore::EventHandler::handleMouseReleaseEvent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590362</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-28 13:40:45 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 82375 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>133385</attachid>
            <date>2012-03-22 16:51:37 -0700</date>
            <delta_ts>2012-03-22 16:51:37 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>chrome-regression.html</filename>
            <type>text/html</type>
            <size>671</size>
            <attacher name="Stephen Chenney">schenney</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogICAgPHRpdGxlPkNocm9tZSBTVkcgcmVncmVzc2lvbjwvdGl0bGU+CiAg
ICA8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCI+CiAgICAgICAgZnVuY3Rpb24gaGlkZSgp
IHsKICAgICAgICAgICAgdmFyIHRleHQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgidGV4dC10
by1oaWRlIik7CiAgICAgICAgICAgIHRleHQuc2V0QXR0cmlidXRlTlMobnVsbCwgImRpc3BsYXki
LCAibm9uZSIpOwogICAgICAgIH07CgogICAgICAgIGZ1bmN0aW9uIGdldENUTSgpIHsKICAgICAg
ICAgICAgdmFyIHRleHQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgidGV4dC10by1oaWRlIik7
CiAgICAgICAgICAgIHZhciBjdG0gPSB0ZXh0LmdldENUTSgpOwoKICAgICAgICAgICAgYWxlcnQo
Y3RtKTsKICAgICAgICB9OwogICAgPC9zY3JpcHQ+CjwvaGVhZD4KPGJvZHk+CgogICAgPGlucHV0
IHR5cGU9ImJ1dHRvbiIgdmFsdWU9IkhpZGUgdGV4dCIgb25jbGljaz0iaGlkZSgpIi8+CiAgICA8
aW5wdXQgdHlwZT0iYnV0dG9uIiB2YWx1ZT0iZ2V0Q1RNIiBvbmNsaWNrPSJnZXRDVE0oKSIvPgoK
ICAgIDxzdmc+CiAgICAgICAgPHRleHQgaWQ9InRleHQtdG8taGlkZSIgeD00MCB5PTEwMD5UaGlz
IGlzIGEgdGVzdDwvdGV4dD4KICAgIDwvc3ZnPgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>