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

standalone_2/io/file_lock_test times out in dartb/mixed mode #35128

Closed
alexmarkov opened this issue Nov 9, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@alexmarkov
Copy link
Contributor

commented Nov 9, 2018

After optimized compilation is enabled with interpreter (d74f272), standalone_2/io/file_lock_test starts to time out.

FAILED: dartkb-vm debug_x64 standalone_2/io/file_lock_test
Expected: Slow Pass
Actual: Timeout

--- Command "vm_compile_to_kernel" (took 01.000395s):
DART_CONFIGURATION=DebugX64 /b/s/w/ir/pkg/vm/tool/gen_kernel --no-aot --platform=out/DebugX64/vm_platform_strong.dill -o /b/s/w/ir/out/DebugX64/generated_compilations/dartkb/tests_standalone_2_io_file_lock_test/out.dill /b/s/w/ir/tests/standalone_2/io/file_lock_test.dart --packages=/b/s/w/ir/.packages -Ddart.developer.causal_async_stacks=true --gen-bytecode --drop-ast

exit code:
0

--- Command "vm" (took 32:00.000054s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --enable_interpreter --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/DebugX64/generated_compilations/dartkb/tests_standalone_2_io_file_lock_test/out.dill

exit code:
-15

diagnostics:
Process list including children: [24566]
Trying to capture stack trace for pid 24566
PID 24566 - process
TID 24566:
#0  0x00007fe069994404 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000561050006674 dart::Monitor::WaitMicros(long)
#2  0x000056105029aa9a Dart_RunLoop
#3  0x000056104fc47b2a dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)
#4  0x000056104fc487c6 dart::bin::main(int, char**)
#5  0x000056104fc49179 main
#6  0x00007fe068bb8f45 __libc_start_main
#7  0x000056104fc47029 _start
TID 24567:
#0  0x00007fe068c956d3 epoll_wait
#1  0x000056104fc51a05 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2  0x000056104fc7b4ae dart::bin::ThreadStart(void*)
#3  0x00007fe069990184 start_thread
#4  0x00007fe068c9503d __clone
TID 24570:
#0  0x00007fe069994404 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000561050006674 dart::Monitor::WaitMicros(long)
#2  0x000056105024f03a dart::BackgroundCompiler::Run()
#3  0x00005610500cd831 dart::ThreadPool::Worker::Loop()
#4  0x00005610500cd30c dart::ThreadPool::Worker::Main(unsigned long)
#5  0x0000561050005885 dart::ThreadStart(void*)
#6  0x00007fe069990184 start_thread
#7  0x00007fe068c9503d __clone
TID 24571:
#0  0x00007fe069994404 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000561050006674 dart::Monitor::WaitMicros(long)
#2  0x000056105024f03a dart::BackgroundCompiler::Run()
#3  0x00005610500cd831 dart::ThreadPool::Worker::Loop()
#4  0x00005610500cd30c dart::ThreadPool::Worker::Main(unsigned long)
#5  0x0000561050005885 dart::ThreadStart(void*)
#6  0x00007fe069990184 start_thread
#7  0x00007fe068c9503d __clone
TID 24585:
#0  0x00007fe069994404 pthread_cond_wait@@GLIBC_2.3.2
#1  0x000056104fc7bd9d dart::bin::Monitor::WaitMicros(long)
#2  0x000056104fc5a9cb dart::bin::ExitCodeHandler::ExitCodeHandlerEntry(unsigned long)
#3  0x000056104fc7b4ae dart::bin::ThreadStart(void*)
#4  0x00007fe069990184 start_thread
#5  0x00007fe068c9503d __clone
TID 25450:
#0  0x00005610500e5f3c dart::Zone::Segment::DecrementMemoryCapacity(unsigned long)
#1  0x00005610500e6236 dart::Zone::~Zone()
#2  0x00005610500e6db6 dart::StackZone::~StackZone()
#3  0x0000561050247916 dart::DRT_CompileFunction(dart::NativeArguments)
#4  0x00007fe068880f6e

eu-stack: dwfl_thread_getframes tid 25450 at 0x7fe068880f6d in <unknown>: No DWARF information found


stdout:
unittest-suite-wait-for-done

--- Re-run this test:
python tools/test.py -m debug -c dartkb -n dartkb-mixed-linux-debug-x64 --write-logs standalone_2/io/file_lock_test

@alexmarkov alexmarkov added the area-vm label Nov 9, 2018

@alexmarkov alexmarkov self-assigned this Nov 9, 2018

dart-bot pushed a commit that referenced this issue Nov 10, 2018

[gardening] Update status for issue #35128
Issue: #35128
Change-Id: I453cdba4bafda460af9afa94239c3b5ad0da2b5d
Reviewed-on: https://dart-review.googlesource.com/c/84051
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
@alexmarkov

This comment has been minimized.

Copy link
Contributor Author

commented Nov 12, 2018

Also seen similar timeout on standalone_2/io/process_sync_test test (log).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.