<?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>57847</bug_id>
          
          <creation_ts>2011-04-05 07:40:58 -0700</creation_ts>
          <short_desc>Crash logs not generated in 64-bit Windows 7</short_desc>
          <delta_ts>2011-04-08 10:43:37 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pere Martir">pere.martir4</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>commit-queue</cc>
    
    <cc>sfalken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>379545</commentid>
    <comment_count>0</comment_count>
      <attachid>88229</attachid>
    <who name="Pere Martir">pere.martir4</who>
    <bug_when>2011-04-05 07:40:58 -0700</bug_when>
    <thetext>Created attachment 88229
Proposed patch

run-webkit-tests doesn&apos;t find the correct location of ntsd.exe (NT Symbolic Debugger) in 64-bit Windows.

To generate the crash logs, &quot;Debugging Tools for Windows 32-bit Version&quot; must be installed as indicated in http://trac.webkit.org/wiki/BuildingOnWindows#GettingCrashLogs

Debugging Tools now comes with Windows SDK and the default installation directory (not likely configurable) in 64-bit Windows is:

  C:\Program Files\Debugging Tools for Windows (x64)

Tools/Scripts/old-run-webkit-tests instead looks for:

  C:\Program Files (x86)/Debugging Tools for Windows (x86)

Note that &quot;the 64-bit versions of Debugging Tools for Windows allow you to debug both 32-bit and 64-bit user-mode applications running on 64-bit processors.&quot;  64-bit version of Debugging Tools is also the one installed by Windows SDK.

I&apos;ve modified old-run-webkit-tests and successfully generated the crash logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379740</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-05 10:55:56 -0700</bug_when>
    <thetext>This sounds very interesting!

&gt; http://trac.webkit.org/wiki/BuildingOnWindows#GettingCrashLogs

That data should probably be in &lt;http://www.webkit.org/quality/crashlogs.html&gt;. Since WebKit site is in svn, one can just make a patch for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379741</commentid>
    <comment_count>2</comment_count>
      <attachid>88229</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-05 11:00:32 -0700</bug_when>
    <thetext>Comment on attachment 88229
Proposed patch

The code change here looks fine. Thanks for fixing the bug!

However, your patch needs a ChangeLog. &lt;http://www.webkit.org/coding/contributing.html&gt; explains how to write one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379743</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-05 11:01:17 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; This sounds very interesting!
&gt; 
&gt; &gt; http://trac.webkit.org/wiki/BuildingOnWindows#GettingCrashLogs
&gt; 
&gt; That data should probably be in &lt;http://www.webkit.org/quality/crashlogs.html&gt;. Since WebKit site is in svn, one can just make a patch for it.

The wiki page is specifically about getting run-webkit-tests to save crash logs automatically. The webkit.org page isn&apos;t specifically about run-webkit-tests. But maybe the info could be added there anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379753</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-05 11:15:59 -0700</bug_when>
    <thetext>What I meant was that the webkit.org page didn&apos;t have any information about getting crash logs under Windows 7 at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379757</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-05 11:24:46 -0700</bug_when>
    <thetext>Oh, I see. The webkit.org page should be changed to say &quot;Windows Vista or Windows 7&quot;, since the same technique works on both.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>380345</commentid>
    <comment_count>6</comment_count>
      <attachid>88412</attachid>
    <who name="Pere Martir">pere.martir4</who>
    <bug_when>2011-04-06 07:25:57 -0700</bug_when>
    <thetext>Created attachment 88412
Proposed patch with ChangeLog

Some other points should also be modified in the trac Wiki.

* I wondered if the test script also works in 64-bit since the wiki says very explicitly - installing &quot;32-bit&quot; Debugging Tools.

* The wiki page doesn&apos;t mention that the Registry value &quot;ForceQueue&quot; must be set
to 1 so that the crash logs are stored automatically, otherwise some
GUI dialogs will pop up and pause the test script. This is actually mentioned in http://www.webkit.org/quality/crashlogs.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>380368</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-06 08:02:33 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Some other points should also be modified in the trac Wiki.

Since it&apos;s a wiki, feel free to make the modifications yourself.

&gt; * I wondered if the test script also works in 64-bit since the wiki says very explicitly - installing &quot;32-bit&quot; Debugging Tools.

I think we were just mistaken before that the 64-bit tools wouldn&apos;t work. (The 32-bit tools are still a good idea to have installed, though, since AFAIK you need the 32-bit tools for gflags to work, e.g.)

&gt; * The wiki page doesn&apos;t mention that the Registry value &quot;ForceQueue&quot; must be set
&gt; to 1 so that the crash logs are stored automatically, otherwise some
&gt; GUI dialogs will pop up and pause the test script. This is actually mentioned in http://www.webkit.org/quality/crashlogs.html

The wiki page is all about getting run-webkit-tests&apos;s automatic crash log saving to work. Is ForceQueue really needed for that? run-webkit-tests installs a post-mortem debugger, which should prevent the WER dialog from appearing at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382256</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-08 08:47:09 -0700</bug_when>
    <thetext>Pere, if you want your patch to be committed you should mark it cq?.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382271</commentid>
    <comment_count>9</comment_count>
      <attachid>88412</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-08 09:04:44 -0700</bug_when>
    <thetext>Comment on attachment 88412
Proposed patch with ChangeLog

Rejecting attachment 88412 from commit-queue.

pere.martir4@gmail.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382274</commentid>
    <comment_count>10</comment_count>
      <attachid>88412</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-04-08 09:08:25 -0700</bug_when>
    <thetext>Comment on attachment 88412
Proposed patch with ChangeLog

Non-committers should mark patches cq?. Then a committer can mark it cq+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382367</commentid>
    <comment_count>11</comment_count>
      <attachid>88412</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-08 10:43:33 -0700</bug_when>
    <thetext>Comment on attachment 88412
Proposed patch with ChangeLog

Clearing flags on attachment: 88412

Committed r83310: &lt;http://trac.webkit.org/changeset/83310&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382368</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-08 10:43:37 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88229</attachid>
            <date>2011-04-05 07:40:58 -0700</date>
            <delta_ts>2011-04-06 07:25:57 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>proposed_patch</filename>
            <type>text/plain</type>
            <size>1176</size>
            <attacher name="Pere Martir">pere.martir4</attacher>
            
              <data encoding="base64">SW5kZXg6IG9sZC1ydW4td2Via2l0LXRlc3RzCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIG9sZC1ydW4td2Via2l0
LXRlc3RzCShyZXZpc2lvbiA4MjkzNykKKysrIG9sZC1ydW4td2Via2l0LXRlc3RzCSh3b3JraW5n
IGNvcHkpCkBAIC0yNjY1LDEwICsyNjY1LDEzIEBAIHN1YiBzZXRVcFdpbmRvd3NDcmFzaExvZ1Nh
dmluZygpCiAKICAgICBteSAkbnRzZFBhdGggPSBGaWxlOjpTcGVjLT5jYXRmaWxlKHRvQ3lnd2lu
UGF0aCgkRU5We1BST0dSQU1GSUxFU30pLCAiRGVidWdnaW5nIFRvb2xzIGZvciBXaW5kb3dzICh4
ODYpIiwgIm50c2QuZXhlIik7CiAgICAgdW5sZXNzICgtZiAkbnRzZFBhdGgpIHsKLSAgICAgICAg
JG50c2RQYXRoID0gRmlsZTo6U3BlYy0+Y2F0ZmlsZSh0b0N5Z3dpblBhdGgoJEVOVntTWVNURU1S
T09UfSksICJzeXN0ZW0zMiIsICJudHNkLmV4ZSIpOworICAgICAgICAkbnRzZFBhdGggPSBGaWxl
OjpTcGVjLT5jYXRmaWxlKHRvQ3lnd2luUGF0aCgkRU5We1Byb2dyYW1XNjQzMn0pLCAiRGVidWdn
aW5nIFRvb2xzIGZvciBXaW5kb3dzICh4NjQpIiwgIm50c2QuZXhlIik7CiAgICAgICAgIHVubGVz
cyAoLWYgJG50c2RQYXRoKSB7Ci0gICAgICAgICAgICBwcmludCBTVERFUlIgIkNhbid0IGZpbmQg
bnRzZC5leGUuIENyYXNoIGxvZ3Mgd2lsbCBub3QgYmUgc2F2ZWQuXG5TZWUgPGh0dHA6Ly90cmFj
LndlYmtpdC5vcmcvd2lraS9CdWlsZGluZ09uV2luZG93cyNHZXR0aW5nQ3Jhc2hMb2dzPi5cbiI7
Ci0gICAgICAgICAgICByZXR1cm47CisgICAgICAgICAgICAkbnRzZFBhdGggPSBGaWxlOjpTcGVj
LT5jYXRmaWxlKHRvQ3lnd2luUGF0aCgkRU5We1NZU1RFTVJPT1R9KSwgInN5c3RlbTMyIiwgIm50
c2QuZXhlIik7CisgICAgICAgICAgICB1bmxlc3MgKC1mICRudHNkUGF0aCkgeworICAgICAgICAg
ICAgICAgIHByaW50IFNUREVSUiAiQ2FuJ3QgZmluZCBudHNkLmV4ZS4gQ3Jhc2ggbG9ncyB3aWxs
IG5vdCBiZSBzYXZlZC5cblNlZSA8aHR0cDovL3RyYWMud2Via2l0Lm9yZy93aWtpL0J1aWxkaW5n
T25XaW5kb3dzI0dldHRpbmdDcmFzaExvZ3M+LlxuIjsKKyAgICAgICAgICAgICAgICByZXR1cm47
CisgICAgICAgICAgICB9CiAgICAgICAgIH0KICAgICB9CiAK
</data>
<flag name="review"
          id="80701"
          type_id="1"
          status="-"
          setter="aroben"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88412</attachid>
            <date>2011-04-06 07:25:57 -0700</date>
            <delta_ts>2011-04-08 10:43:33 -0700</delta_ts>
            <desc>Proposed patch with ChangeLog</desc>
            <filename>bug57847-fix</filename>
            <type>text/plain</type>
            <size>1790</size>
            <attacher name="Pere Martir">pere.martir4</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDgzMDQzKQorKysgVG9vbHMvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMg
KzEsMTIgQEAKKzIwMTEtMDQtMDYgIFBlcmUgTWFydGlyICA8cGVyZS5tYXJ0aXI0QGdtYWlsLmNv
bT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBMb2Nh
dGUgTlNURC5FWEUgaW4gNjQtYml0IFdpbmRvd3MKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtp
dC5vcmcvc2hvd19idWcuY2dpP2lkPTU3ODQ3CisKKyAgICAgICAgKiBTY3JpcHRzL29sZC1ydW4t
d2Via2l0LXRlc3RzOgorCiAyMDExLTA0LTA1ICBLZXZpbiBPbGxpdmllciAgPGtldmlub0B0aGVv
bGxpdmllcnMuY29tPgogCiAgICAgICAgIFt3eF0gTWFjIGJ1aWxkIGZpeC4gSGFuZGxlIGNhc2Vz
IHdoZXJlIDEwLjQgU0RLIGlzIG5vdCBpbnN0YWxsZWQsIGFuZCBhbHNvIGFkZCB4ODZfNjQgYXJj
aApJbmRleDogVG9vbHMvU2NyaXB0cy9vbGQtcnVuLXdlYmtpdC10ZXN0cwo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t
LSBUb29scy9TY3JpcHRzL29sZC1ydW4td2Via2l0LXRlc3RzCShyZXZpc2lvbiA4Mjk1MCkKKysr
IFRvb2xzL1NjcmlwdHMvb2xkLXJ1bi13ZWJraXQtdGVzdHMJKHdvcmtpbmcgY29weSkKQEAgLTI2
NjUsMTAgKzI2NjUsMT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uZXhlLiBDcmFzaCBsb2dzIHdpbGwgbm90IGJlIHNhdmVk
LlxuU2VlIDxodHRwOi8vdHJhYy53ZWJraXQub3JnL3dpa2kvQnVpbGRpbmdPbldpbmRvd3MjR2V0
dGluZ0NyYXNoTG9ncz4uXG4iOworICAgICAgICAgICAgICAgIHJldHVybjsKKyAgICAgICAgICAg
IH0KICAgICAgICAgfQogICAgIH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>