Bug 145720 - Returned Exception* values need to be initialized to nullptr when no exceptions are thrown.
Summary: Returned Exception* values need to be initialized to nullptr when no exceptio...
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
Depends on:
Reported: 2015-06-05 18:06 PDT by Mark Lam
Modified: 2015-06-06 00:55 PDT (History)
2 users (show)

See Also:

the patch. (4.60 KB, patch)
2015-06-05 23:49 PDT, Mark Lam
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2015-06-05 18:06:39 PDT
For example, see https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r185259%20(52263)/results.html.

The relevant failures are:

Tests that crashed:


Tests that failed text/pixel/audio diff:


These failures only seem to manifest on the Windows Release build test bots.  They don't manifest on the Debug build test bots nor Mac bots.
Comment 1 Mark Lam 2015-06-05 18:26:29 PDT
I skipped these tests for now in r185283: <http://trac.webkit.org/r185283>.

It turns out, that the inspector-protocol/debugger tests were already skipped for platform/mac and inspector-protocol is skipped entirely for Debug build on platform/win.  That may be why we don't see the failures on those bots.
Comment 2 Mark Lam 2015-06-05 23:45:11 PDT
Found the culprit: an un-initialized variable.  This makes me re-consider introducing an opaque type for encapsulating an Exception*. But for now, I'll do the minimum fix.
Comment 3 Mark Lam 2015-06-05 23:49:03 PDT
Created attachment 254407 [details]
the patch.
Comment 4 WebKit Commit Bot 2015-06-06 00:55:49 PDT
Comment on attachment 254407 [details]
the patch.

Clearing flags on attachment: 254407

Committed r185286: <http://trac.webkit.org/changeset/185286>
Comment 5 WebKit Commit Bot 2015-06-06 00:55:54 PDT
All reviewed patches have been landed.  Closing bug.