-
Notifications
You must be signed in to change notification settings - Fork 566
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
self-interpretation due to os_take_over_all_unknown_threads() on an already-caught early thread #1443
Comments
From bruen...@google.com on May 07, 2014 08:52:39 Solutions: It seems impractical to figure out just from the thread context that it's If we store info about the looping thread: where? DR may not be init so The takeover code iterates until fixed point which is as good as we'll get There's still a race though: if a new thread hits the wait loop but hasn't |
From derek.br...@gmail.com on May 07, 2014 11:59:10 This issue was closed by revision r2686 . Status: Fixed |
From bruen...@google.com on May 14, 2014 16:02:57 May need to re-open this: http://build.chromium.org/p/chromium.fyi/builders/Windows%20Browser%20%28DrMemory%20full%29%20%281%29/builds/3967/steps/memory%20test%3A%20browser_tests/logs/stdio
The report came from the Status: Accepted |
From bruen...@google.com on May 14, 2014 16:35:26 My theory is that a thread is pointing right at the start of LdrInitializeThunk which will not be caught by r2686 . |
From derek.br...@gmail.com on May 14, 2014 20:25:52 This issue was closed by revision r2690 . Status: Fixed |
From bruen...@google.com on July 17, 2014 21:34:39 Re-opening as it seems there are still instances of this: This report observed at http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Browser%20%28DrMemory%20full%29%20%283%29/builds/173 didn't match any suppressions: This report observed at http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Browser%20%28DrMemory%20full%29%20%283%29/builds/173 didn't match any suppressions: Status: Started |
Xref #2904 |
From bruen...@google.com on May 07, 2014 10:22:48
This is the DR bug causing https://code.google.com/p/drmemory/issues/detail?id=1541 Analyzing the ldmp there: http://build.chromium.org/p/chromium.fyi/builders/Windows%20Browser%20%28DrMemory%20full%29%20%282%29/builds/3534/steps/memory%20test%3A%20browser_tests/logs/stdio UsbApiTest.ZeroLengthTransfer
So enter_fcache returned, and ebp is messed up which messes up esp:
enter_fcache(dcontext, fcache_enter, FCACHE_ENTRY_PC(targetf));
ASSERT_NOT_REACHED();
Only 2 threads. Other thread is here -- but wrong syms!:
Here are the real symbols, but they seem suspect as this is not FtpBrowserTest!
the thread start addresses: bad one is in chrome_elf.dll (other is in
browser_tests.exe): so not a nudge thread
unable to set thread start address to 681F53B0
why are there so few threads? I thought renderers always had at least a
dozen threads (xref issue #130 data). this must be early on, with the process
just starting up? also in that issue #130 data: 2nd thread is in base.dll, not
chrome_elf.
In a local run of UsbApiTest.ZeroLengthTransfer there are 2 renderer
processes: one has --extension-process and the other doesn't. The ldmp
is from the extension thread. For that one locally:
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1443
The text was updated successfully, but these errors were encountered: