Skip to content
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

"Error" popup w/ no other text: from csrss? #541

Closed
derekbruening opened this issue Nov 28, 2014 · 4 comments
Closed

"Error" popup w/ no other text: from csrss? #541

derekbruening opened this issue Nov 28, 2014 · 4 comments

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on August 04, 2011 14:41:16

running ui_tests WorkerFileSystemTest.Temporary on win7 after disabling TLS checks
(issue #537):

now running w/ debug DR resulted in timeout (w/ 20-min timeout values).
release DR actually passes the test.
this is an older chrome build so no BROWSER_WRAPPER so I'm running harness
through DR and using this config file:

% cat /c/users/bruening/dynamorio/chrome.exe.config32
DYNAMORIO_RUNUNDER=1
DYNAMORIO_AUTOINJECT=e:/src/dr/git/exports\lib32\release\dynamorio.dll
DYNAMORIO_LOGDIR=e:/src/dr/git/exports\logs
DYNAMORIO_OPTIONS=-stderr_mask 15 -msgbox_mask 8 -code_api -probe_api -disable_traces -bb_single_restore_prefix -max_bb_instrs 256 -stack_size 36K -no_hide -msgbox_mask 8 -client_lib "E:\src\drmemory\git\build_drmemory/bin/debug/drmemorylib.dll;0;-no_check_uninitialized -no_count_leaks -pause_at_assert -logdir E:\src\drmemory\git\build_drmemory/logs"

I'm running w/ --single-process b/c of the "Early thread failure, no
dcontext" crashes (issue #442) otherwise:

% ~/dr/git/exports/bin32/drrun.exe -quiet -ops "-no_hide -stderr_mask 15" ./ui_tests --ui-test-action-timeout=12000000 --ui-test-action-max-timeout=28000000 --ui-test-terminate-timeout=12000000 --gtest_filter="WorkerFileSystemTest.Temporary" --single-process
<Starting application E:\src\chromium\src\build\Debug\ui_tests.exe (5688)>
<DYNAMORIO_CACHE_ROOT not set!>
<Initial options = -code_api -probe_api -stderr_mask 15 -stack_size 20K -max_elide_jmp 0 -max_elide_call 0 -no_inline_ignored_syscalls -no_hide -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct -no_aslr_dr -pad_jmps_mark_no_trace >
Started crash_service.exe so you know if a test crashes!
Note: Google Test filter = WorkerFileSystemTest.Temporary
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from WorkerFileSystemTest
[ RUN ] WorkerFileSystemTest.Temporary
[ OK ] WorkerFileSystemTest.Temporary (141651 ms)
[----------] 1 test from WorkerFileSystemTest (141656 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (141676 ms total)
[ PASSED ] 1 test.

YOU HAVE 30 DISABLED TESTS

YOU HAVE 83 FLAKY TESTS

YOU HAVE 6 tests with ignored failures (FAILS prefix)

this is the first time -no_check_uninitialized has passed this test.

but, there's an "Error" popup that comes up right after "TEST COMPLETE" is
printed on the web page. the test continues to run, shutting down chrome
and passing.

taskmgr thinks the window belongs to csrss. I have seen it before, and I
thought then that it was mine, but I can't find code in drmem or DR that
would generate that empty msgbox.

eventvwr says:
Log Name: System
Source: Application Popup
Date: 8/4/2011 2:23:01 PM
Event ID: 26
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer:
Description:
Application popup: :
Event Xml:



26
4
0
0x80000000000000

19313
System









release DR and default drmem (i.e., -check_initialized) also passes with
same Error popup at same spot, just a little slower shutting chrome down
afterward, and 3x slower overall:
[ RUN ] WorkerFileSystemTest.Temporary
[ OK ] WorkerFileSystemTest.Temporary (449217 ms)
[----------] 1 test from WorkerFileSystemTest (449223 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (449242 ms total)
[ PASSED ] 1 test.

Original issue: http://code.google.com/p/drmemory/issues/detail?id=541

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on August 04, 2011 11:44:08

release DR and -leaks_only -no_count_leaks passes and does NOT have the
"Error" popup:
[ RUN ] WorkerFileSystemTest.Temporary
[ OK ] WorkerFileSystemTest.Temporary (80915 ms)
[----------] 1 test from WorkerFileSystemTest (80931 ms total)

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on August 04, 2011 14:41:55

after fixing issue #442 , this Error popup seems to have gone away: potentially related to thread pool threads, maybe related to us killing them during shutdown in between some communication w/ csrss?

@derekbruening
Copy link
Contributor Author

From derek.br...@gmail.com on August 05, 2011 07:08:12

This issue was closed by revision r456 .

Status: Fixed

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on August 15, 2012 08:22:10

xref https://code.google.com/p/dynamorio/issues/detail?id=580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant