Bug 136561

Summary: Add some logging to help diagnose assertions in dumpWebViewAsPixelsAndCompareWithExpected() on bots
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Simon Fraser (smfr)
Reported 2014-09-04 17:49:33 PDT
Add some logging to help diagnose assertions in dumpWebViewAsPixelsAndCompareWithExpected() on bots
Attachments
Patch (3.08 KB, patch)
2014-09-04 17:50 PDT, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2014-09-04 17:50:07 PDT
Tim Horton
Comment 2 2014-09-04 17:51:18 PDT
Comment on attachment 237663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237663&action=review > Tools/DumpRenderTree/mac/PixelDumpSupportMac.mm:58 > + WTFLogAlways("calloc(%llu, %llu) failed\n", pixelsHigh, rowBytes); Can we throw a note in here about where these are coming from? ("DumpRenderTree: calloc...").
Simon Fraser (smfr)
Comment 3 2014-09-04 17:55:39 PDT
Alexey Proskuryakov
Comment 4 2014-09-10 12:45:33 PDT
It says: DumpRenderTree: calloc(18446744073709551595, 64) failed http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK1%20(Tests)/r173475%20(7561)/fast/regions/auto-size/autosize-region-window-resize-stderr.txt 18446744073709551595 is 0x7FFFFFFFFFFFFFFF
Simon Fraser (smfr)
Comment 5 2014-09-10 13:29:41 PDT
Yeah. I should have logged height and width.
Note You need to log in before you can comment on or make changes to this bug.