New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
false positive on many browser_tests and content_browsertests about noninherited_flags #1586
Comments
From zhao...@google.com on July 08, 2014 13:49:27 The code is The corresponding asm: blink_web!WebCore::RenderStyle::NonInheritedFlags::operator==+0xa2 [d:\src\chrome-int\src\third_party\webkit\source\core\rendering\style\renderstyle.h @ 233]: ... blink_web!WebCore::RenderStyle::NonInheritedFlags::operator==+0xc9 [d:\src\chrome-int\src\third_party\webkit\source\core\rendering\style\renderstyle.h @ 233]: From caller: 0:000> dt -r newStyle |
From zhao...@google.com on July 08, 2014 13:49:27 ... : 0y0 Based on the instruction: test eax,0x4000000 |
From zhao...@google.com on July 08, 2014 13:58:44 affectedByFocus can only be affected by the following code in src/third_party/WebKit/Source/core/rendering/style/RenderStyle.h NonInheritedFlags RenderStyle blink_web!WebCore::RenderStyle::setAffectedByFocus: void setBitDefaults()
blink_web!WebCore::RenderStyle::setBitDefaults: |
From zhao...@google.com on July 08, 2014 14:06:18 From the caller:
And in PassRefPtr StyleResolver::styleForDocument(Document& document) PassRefPtr RenderStyle::create() setBitDefaults() is called in RenderStyle::RenderStyle() constructor |
From zhao...@google.com on July 08, 2014 14:16:53 Another uninit error: 0 blink_web.dll!WebCore::ContainerNode::setHovered [third_party\webkit\source\core\dom\containernode.cpp:984]1 blink_web.dll!WebCore::Document::updateHoverActiveState [third_party\webkit\source\core\dom\document.cpp:5579]2 blink_web.dll!WebCore::Document::prepareMouseEvent [third_party\webkit\source\core\dom\document.cpp:3238]... It is similar problem on affectedByHover struct NonInheritedFlags { Another one: 0 blink_web.dll!WebCore::RenderStyle::stylePropagationDiff [third_party\webkit\source\core\rendering\style\renderstyle.cpp:190]1 blink_web.dll!WebCore::Document::updateStyle [third_party\webkit\source\core\dom\document.cpp:1869]test %al $0x01
So the inherited flags might have similar problem. |
From zhao...@google.com on July 08, 2014 14:57:51 correction on 0 blink_web.dll!WebCore::RenderStyle::stylePropagationDiff [third_party\webkit\source\core\rendering\style\renderstyle.cpp:190]It is uninit for hasExplicitlyInheritedProperties() |
From zhao...@google.com on July 08, 2014 15:30:45 for shadow register: for code like: It shows that eax, ecx, and edx are all partially undefined, i.e., both new_style and old_style. |
From zhao...@google.com on July 08, 2014 16:07:11 The setBitDefaults is usually inlined, and the style are likely initialized at: 56142575 81623400000080 and dword ptr [edx+0x34],0x80000000 |
From zhao...@google.com on July 10, 2014 20:19:39 an old build blink_web!WebCore::RenderStyle::setBitDefaults: blink_web!WebCore::RenderStyle::setBitDefaults: |
From zhao...@google.com on July 11, 2014 06:37:14 Found the cause: 5660c4cb 81663400000080 and dword ptr [esi+0x34],0x80000000 |
From zhao...@google.com on July 14, 2014 12:11:34 This issue was closed by revision r1973 . Status: Fixed |
From zhao...@google.com on July 08, 2014 16:40:15
http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%20full%29%20%281%29/builds/311 =====================================================
Below is the report for drmemory wrapper PID=2244_14.
It was used while running the
OutOfProcessPPAPITest.TraceEvent
test.Suppressions used:
count name
1 http://crbug.com/346842 2 https://code.google.com/p/drmemory/issues/detail?id=18 d
3 bug_347967_all_osmesa
3 https://code.google.com/p/drmemory/issues/detail?id=113 rpcrt4.dll wildcard
3 https://code.google.com/p/drmemory/issues/detail?id=412 h
3 https://code.google.com/p/drmemory/issues/detail?id=513 d
3 https://code.google.com/p/drmemory/issues/detail?id=68 a
4 http://crbug.com/346993 15 http://crbug.com/371348 15 http://crbug.com/371942 21 http://crbug.com/371357 -----------------------------------------------------
11:00:09 drmemory_analyze.py [INFO] Found 3 error reports
11:00:09 drmemory_analyze.py [INFO] Report
#1
UNINITIALIZED READ: reading register eax
#0 blink_web.dll!WebCore::RenderStyle::NonInheritedFlags::operator== [third_party\webkit\source\core\rendering\style\renderstyle.h:233]
#1 blink_web.dll!WebCore::RenderStyle::operator== [third_party\webkit\source\core\rendering\style\renderstyle.cpp:252]
#2 blink_web.dll!WebCore::RenderStyle::stylePropagationDiff [third_party\webkit\source\core\rendering\style\renderstyle.cpp:185]
#3 blink_web.dll!WebCore::Document::updateStyle [third_party\webkit\source\core\dom\document.cpp:1869]
#4 blink_web.dll!WebCore::Document::updateRenderTree [third_party\webkit\source\core\dom\document.cpp:1828]
#5 blink_web.dll!WebCore::FrameSelection::focusedOrActiveStateChanged [third_party\webkit\source\core\editing\frameselection.cpp:1457]
#6 blink_web.dll!WebCore::FrameSelection::setFocused [third_party\webkit\source\core\editing\frameselection.cpp:1510]
#7 blink_web.dll!WebCore::FocusController::setFocusedFrame [third_party\webkit\source\core\page\focuscontroller.cpp:257]
#8 blink_web.dll!WebCore::FocusController::setFocused [third_party\webkit\source\core\page\focuscontroller.cpp:321]
#9 blink_web.dll!blink::WebViewImpl::setFocus [third_party\webkit\source\web\webviewimpl.cpp:1970]
#10 content.dll!InputMsg_SetFocus::Dispatch<> [content\common\input_messages.h:168]
#11 content.dll!content::RenderWidget::OnMessageReceived [content\renderer\render_widget.cc:587]
#12 content.dll!content::RenderViewImpl::OnMessageReceived [content\renderer\render_view_impl.cc:1140]
#13 content.dll!content::MessageRouter::RouteMessage [content\common\message_router.cc:54]
#14 content.dll!content::MessageRouter::OnMessageReceived [content\common\message_router.cc:46]
#15 content.dll!content::ChildThread::OnMessageReceived [content\child\child_thread.cc:467]
#16 ipc.dll!IPC::ChannelProxy::Context::OnDispatchMessage [ipc\ipc_channel_proxy.cc:273]
#17 ipc.dll!base::internal::Invoker<>::Run [base\bind_internal.h:1253]
#18 base.dll!base::MessageLoop::RunTask [base\message_loop\message_loop.cc:458]
#19 base.dll!base::MessageLoop::DeferOrRunPendingTask [base\message_loop\message_loop.cc:470]
#20 base.dll!base::MessageLoop::DoWork [base\message_loop\message_loop.cc:584]
#21 base.dll!base::MessagePumpDefault::Run [base\message_loop\message_pump_default.cc:32]
#22 base.dll!base::MessageLoop::RunHandler [base\message_loop\message_loop.cc:408]
#23 content.dll!content::RendererMain [content\renderer\renderer_main.cc:250]
#24 content.dll!content::RunNamedProcessTypeMain [content\app\content_main_runner.cc:417]
#25 content.dll!content::ContentMainRunnerImpl::Run [content\app\content_main_runner.cc:763]
#26 content.dll!content::ContentMain [content\app\content_main.cc:19]
#27 content::LaunchTests [content\public\test\test_launcher.cc:474]
#28 main [content\test\content_test_launcher.cc:123]
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1586
The text was updated successfully, but these errors were encountered: