-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Dart VM crashes on Windows #2124
Comments
The first appearance of this error in the Windows log is 3/7/2012 at 11:45:58 PM |
cc @a-siva. |
Could we run a debug version of the VM instead of the release version. That might trip over some assert and give us better diagnostics. |
Tried running the debug version. The bug didn't repro. We ca see if it's possible to attach a debugger just before the particular test runs, though. |
I can attach Visual Studio 2008 to the Dart VM just before the crash. Will this be enough to help you guys start investigating the error? Debugging in VS can probably provide additional information surrounding the condition causing the crash. |
Sure a stack trace of all the threads when you are attached with visual studio would be helpful. |
On crash in release mode, but with some debug symbols, here's the call stack I get: dart.exe!dart::Object::Handler() + 0x36 bytes <-- yellow arrow here VS pulled up crt0.c which doesn't look like your code (most likely the first bit of code in the stack that has full debug symbols), but for completeness I've replicated the info here: in the watch window mainret = 0 and __argc = 12, and &__ImageBase (some _IMAGE_DOS_HEADER * type) = 0x011d0000 Going up to the code for Object::Handle() where the problem occurred, we have following extremely legible assembly code: |
(the last line of assembly should read "ret" instead of "red") |
Hi Siva, |
Latest crash on web-ie-win7: the assembly: |
the web-chrome-win7 is also failing with an identical stack trace even though it's failing on a different test FutureTest on the chrome bot, and ListInsertRangeTest on the IE bot. |
I have now been able to reproduce this bug on a local Windows machine as well (looks like a similar stack trace). Here's the stack trace: |
Hello all, |
This error seems related, but I'm not sure: FAILED: frog-chrome release_ia32 dom/DOMConstructorsTest stdout: stderr: Compilation command: Release_ia32/frog/bin/frog.bat --ignore-unrecognized-flags --enable_asserts --enable_type_checks --libdir=e:/b/build/slave/web-chrome-win7/build/dart/frog/lib --compile-only --out=e:/b/build/slave/web-chrome-win7/build/dart/Release_ia32/generated_tests/frog-chrome/client_tests_client_dom_DOMConstructorsTest-/test.js e:/b/build/slave/web-chrome-win7/build/dart/client/tests/client/dom/DOMConstructorsTest.dart Command line: python e:/b/build/slave/web-chrome-win7/build/dart/tools/testing/run_selenium.py --browser=chrome --timeout=238 --out=e:/b/build/slave/web-chrome-win7/build/dart/Release_ia32/generated_tests/frog-chrome/client_tests_client_dom_DOMConstructorsTest-/../e__b_build_slave_web-chrome-win7_build_dart_client_tests_client_dom_DOMConstructorsTest.dartfrog-chrome.html |
Here is a similar one with a different kind (I think the most common one is the one earlier in this bug thread, but Emily suppressed those from the bots so we could continue tracking other tests): FAILED: frog-ff release_ia32 dom/TypedArrays3Test stdout: stderr: Compilation command: Release_ia32/frog/bin/frog.bat --ignore-unrecognized-flags --enable_asserts --enable_type_checks --libdir=e:/b/build/slave/web-ff-win7/build/dart/frog/lib --compile-only --out=e:/b/build/slave/web-ff-win7/build/dart/Release_ia32/generated_tests/frog-ff/client_tests_client_dom_TypedArrays3Test-/test.js e:/b/build/slave/web-ff-win7/build/dart/client/tests/client/dom/TypedArrays3Test.dart Command line: python e:/b/build/slave/web-ff-win7/build/dart/tools/testing/run_selenium.py --browser=ff --timeout=238 --out=e:/b/build/slave/web-ff-win7/build/dart/Release_ia32/generated_tests/frog-ff/client_tests_client_dom_TypedArrays3Test-/../e__b_build_slave_web-ff-win7_build_dart_client_tests_client_dom_TypedArrays3Test.dartfrog-ff.html |
Removed Priority-High label. |
We have been able to reduce this down to the StringInterpolate2Test. Running the attached "crash.bat" will run this lone test case. It fails every time on our windows machine. Interestingly, one can comment out all lines in the main function except the first two. Even more interestingly, changing the last assignment of false to true makes the bug go away! Attachment: |
…buf, shelf, test, tools, vector_math, webdev Revisions updated by `dart tools/rev_sdk_deps.dart`. dartdoc (https://github.com/dart-lang/dartdoc/compare/59dc475..1d94484): 1d94484c 2023-05-29 dependabot[bot] Bump github/codeql-action from 2.3.3 to 2.3.5 (#3422) 0edc1a71 2023-05-28 dependabot[bot] Bump http from 0.13.6 to 1.0.0 (#3421) http (https://github.com/dart-lang/http/compare/dfec389..8a4a4a6): 8a4a4a6 2023-05-25 Brian Quinlan Add a better toString to _ClientSocketException (#948) 5c1f1ad 2023-05-25 Devon Carew regenerate with the latest mono_repo (#947) leak_tracker (https://github.com/dart-lang/leak_tracker/compare/9c6e9b3..7f2cab3): 7f2cab3 2023-05-26 Polina Cherkasova Nicely format retaining path. (#68) lints (https://github.com/dart-lang/lints/compare/72f107a..4236c43): 4236c43 2023-05-26 Parker Lougheed Remove pedantic from README (#124) 4ac79d8 2023-05-24 Parker Lougheed Update example for latest lints version (#123) mockito (https://github.com/dart-lang/mockito/compare/153c145..40fe2ca): 40fe2ca 2023-05-25 Nate Bosch Expand constraint on package:http native (https://github.com/dart-lang/native/compare/45e16dc..76bc55e): 76bc55e 2023-05-30 Daco Harkes [c_compiler] Target ios_x64 (#53) protobuf (https://github.com/dart-lang/protobuf/compare/7d2d293..346a72d): 346a72d 2023-05-30 Ömer Sinan Ağacan Fix generated ignore_for_file directives (#833) 35ea45f 2023-05-26 Kevin Moore Latest mono_repo (#834) shelf (https://github.com/dart-lang/shelf/compare/56919a1..a404b6a): a404b6a 2023-05-25 Devon Carew re-generate w/ the latest monorepo (#362) test (https://github.com/dart-lang/test/compare/309596e..3276921): 32769215 2023-05-25 dependabot[bot] Bump github/codeql-action from 2.3.2 to 2.3.5 (#2023) f74e85c8 2023-05-25 dependabot[bot] Bump dart-lang/setup-dart from 1.3.0 to 1.5.0 (#2022) 4b2bd272 2023-05-25 Devon Carew update the mono_repo and dependabot configs (#2021) tools (https://github.com/dart-lang/tools/compare/81ff996..b90a7e8): b90a7e8 2023-05-26 Devon Carew blast_repo fixes (#106) vector_math (https://github.com/google/vector_math.dart/compare/e3de8da..cd87f57): cd87f57 2023-05-30 JKris95 Axis calculation of quaternions from small angles (#272) 3762b25 2023-05-30 Lukas Klingsbo Removes the `new` keyword from readme (#284) df5877f 2023-05-30 Lukas Klingsbo Use named constructors in Vector2 and some general optimizations (#289) webdev (https://github.com/dart-lang/webdev/compare/d74fadd..4b69f1d): 4b69f1dd 2023-05-26 Anna Gringauze fix format breaking tests (#2124) b75f8e62 2023-05-25 Devon Carew re-generate w/ the latest monorepo (#2121) Change-Id: Ide9b7781102b654db15114d01cd4fbca40478906 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/306304 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
The Dart VM crashes when compiling browser tests. Unfortunately, the crash is not related to a particular test, although it regularly seems to crash on a particular test when all the tests are run in order0. If you run that test in isolation, it passes. If you run the particular test suite it may also pass (or a different test fails). But if you run the entire set of tests like the buildbot, the test will fail. The current one failing is NumberSyntaxTest on the web-ff-win7 bot, but this behavior started happening March 9th in the afternoon.
Some examples of the errors:
Kind: 21886600
http://build.chromium.org/p/client.dart/builders/web-chrome-win7/builds/797/steps/chrome%20tests%3A%20webdriver%20--checked%20--browser%3Dchrome/logs/stdio
and
VM exited with signal 1073741819
http://build.chromium.org/p/client.dart/builders/web-ff-win7/builds/803/steps/ff%20tests%3A%20webdriver%20--checked%20--browser%3Dff/logs/stdio
The second error is reported by frog, which passes on the error signal (-1073741819) sent from the VM, but I believe these different errors are indicative of the same underlying problem. Some web searches suggest this error might be an EXCEPTION_ACCESS_VIOLATION. I looked in the Windows event logs, and got the following message:
Faulting application name: dart.exe
Exception code: 0xc0000005
The browser buildbots will continue to be unstable until we can fix this.
Thanks.
The text was updated successfully, but these errors were encountered: