<?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>20540</bug_id>
          
          <creation_ts>2008-08-27 04:08:06 -0700</creation_ts>
          <short_desc>HTML/JavaScript causes Read AV[3c]@WebKit.dll+4c00 #bd95c6be</short_desc>
          <delta_ts>2022-02-12 18:19:55 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://skypher.com/SkyLined/Repro/Safari/AVR%5B3c%5D@WebKit.dll+4c00%20%23bd95c6be/repro.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Berend-Jan Wever">skylined</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89469</commentid>
    <comment_count>0</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2008-08-27 04:08:06 -0700</bug_when>
    <thetext>The following HTML file triggers a NULL pointer AV:
&lt;BODY onload=go()&gt;&lt;/BODY&gt;
&lt;SCRIPT&gt;
	function go() {
		var oOldBody = document.body;
		document.addEventListener(&quot;DOMNodeRemoved&quot;, function () {
			event.relatedNode.parentElement.removeChild(event.relatedNode);
		},true);
		document.body.parentElement.removeChild(document.body);
		oOldBody.innerHTML = &quot;x&lt;l&gt;&lt;html&gt;&quot;;
	}
&lt;/SCRIPT&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89510</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-27 12:09:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/6180069&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89619</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-08-28 03:38:09 -0700</bug_when>
    <thetext>Could you please try this with a nightly build (http://nightly.webkit.org)? We could not reproduce this yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89635</commentid>
    <comment_count>3</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2008-08-28 08:52:52 -0700</bug_when>
    <thetext>I tested it in nightly and it does indeed not repro - but...
I open Safari (with webkit nightly) and drag the URL in. The page opens fine.
I drag the URL in again and I see this:
(f6c.df0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
WebKit!WebCore::DragController::concludeDrag+0x3a:
00000000`6d4a0cda 8b03            mov     eax,dword ptr [ebx] ds:002b:00000000`00000000=????????

So something is still messed up in nightly, but it doesn&apos;t repro until you do a drag and drop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89643</commentid>
    <comment_count>4</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2008-08-28 09:08:36 -0700</bug_when>
    <thetext>This same drag and drop problem happens with the repro for bug 19516</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89645</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-08-28 09:16:49 -0700</bug_when>
    <thetext>That certainly sounds bad - but probably a separate problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89649</commentid>
    <comment_count>6</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2008-08-28 09:35:50 -0700</bug_when>
    <thetext>Do I need to file a new bug or can we reuse this one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89706</commentid>
    <comment_count>7</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-28 18:16:14 -0700</bug_when>
    <thetext>A new bug report would be preferred since it appears to be a separate issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89729</commentid>
    <comment_count>8</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2008-08-29 01:28:59 -0700</bug_when>
    <thetext>Ok, if we&apos;re going to be bueaucratic about it: I opened bug 20565 :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>