<?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>44145</bug_id>
          
          <creation_ts>2010-08-17 17:36:01 -0700</creation_ts>
          <short_desc>[Qt] Internal compiler error with MinGW in Document.cpp</short_desc>
          <delta_ts>2010-08-18 09:58:31 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai Parparita">mihaip</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>265870</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-08-17 17:36:01 -0700</bug_when>
    <thetext>In theory this is http://trac.webkit.org/changeset/65573&apos;s fault, but that seems unlikely (it didn&apos;t touch that part of the code).

from http://build.webkit.org/builders/Qt%20Windows%2032-bit%20Release/builds/6205/steps/compile-webkit/logs/stdio:

..\..\..\WebCore\dom\Document.cpp: In member function &apos;void WebCore::Document::addElementById(const WTF::AtomicString&amp;, WebCore::Element*)&apos;:
..\..\..\WebCore\dom\Document.cpp:1140:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
make.exe[1]: *** [obj/release/Document.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
make.exe[1]: Leaving directory `T:/WindowsRelease/buildslave/qt-windows-32bit-release/build/WebKitBuild/Release/WebCore&apos;
make: *** [sub-WebCore-make_default-ordered] Error 2
program finished with exit code 2
elapsedTime=154.094000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265871</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-08-17 17:36:34 -0700</bug_when>
    <thetext>+Eric since James says he&apos;s interested in bot redness.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265911</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-08-17 19:37:53 -0700</bug_when>
    <thetext>The right place is to file a bug with gcc. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265941</commentid>
    <comment_count>3</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-08-17 22:08:01 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The right place is to file a bug with gcc. :)

I was under the impression that the Qt build uses a particularly old version of GCC in a less common environment (MinGW) and so the bug may not be present in more recent versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265942</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-17 22:14:15 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; The right place is to file a bug with gcc. :)
&gt; 
&gt; I was under the impression that the Qt build uses a particularly old version of GCC in a less common environment (MinGW) and so the bug may not be present in more recent versions.

Not at all, we ran into this bug more times earlyer with MinGW-4.4.
And then I updated to MinGW-4.5, but this bug occurs now and again.
Unfortunately we don&apos;t know what cause it, because sometimes a simple
clean build or a machine restart solve the problem, sometimes not. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266181</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-18 09:58:31 -0700</bug_when>
    <thetext>Now clean build solved this problem.

But I don&apos;t know how can we fix it, because it might be a flakey gcc bug ...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>