[Bug 20619] New: chromium's unit_tests.exe's RenderViewTest.PrintLayoutTest fails with FATAL:image.cc(211)] Check failed: rect.x() == 0 (-1 vs. 0)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Nov 8 10:52:51 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=20619
Summary: chromium's unit_tests.exe's
RenderViewTest.PrintLayoutTest fails with
FATAL:image.cc(211)] Check failed: rect.x() == 0 (-1
vs. 0)
Product: Wine
Version: 1.1.32
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download, source
Severity: normal
Priority: P2
Component: gdi32
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
The check that is failing in chromium's source is
gfx::Rect rect(metafile.GetBounds());
DCHECK_EQ(rect.x(), 0);
It looks like Chromium is creating an in-memory metafile
to do a print preview, then loads that metafile,
does a sanity check on its bounding box, and barfs.
Related chromium sources seem to be
http://src.chromium.org/viewvc/chrome/trunk/src/
chrome/renderer/render_view_unittest.cc
chrome/renderer/print_web_view_helper_win.cc
printing/image.cc
To reproduce:
wget http://kegel.com/wine/chromium/chromium-tests.tar.bz2
tar -xjvf chromium-tests.tar.bz2
wine src/chrome/Debug/unit_tests.exe
--gtest_filter=RenderViewTest.PrintLayoutTest
Also affects three other tests:
RenderViewTest.OnPrintPages
RenderViewTest.PrintWithIframe
RenderViewTest.PrintWithJavascript
I'll attach a +relay log, lightly trimmed.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list