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@winehq.org ReportedBy: dank@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.