-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Dart VM gives segmentation fault #16091
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
Comments
Set owner to @sgmitrovic. |
Thanks again for filing the bug! The test works if --no-use-inlining or --optimization-counter-threshold=-1 (disables optimized code). The crash is caused because optimizing compiler keeps calling the function it is optimizing (StringBase.interpolate) Added Started label. |
Fixed in r31844 Added Fixed label. |
Should the fix be considered for merging to the 1.1 branch? |
Yes, this should be merged to 1.1 branch. |
This issue was originally filed by @tomaskulich
extract the following file and run ./segfault.sh (or run test/segfault.dart)
segfaults on Archlinux (dart SDK 1.0.0.3 and 1.0.0.10) and Linux Mint (dart SDK 1.0.0.3)
this bug happens only when simultaneously using unittest and string interpolation (try to modify lib/src/change_set.dart by replacing print('$x') by print(x.toString()) and everything works fine).
finally, I'm sorry for submitting such a lot of code.
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Attachment:
segfault.tar.gz (288.97 KB)
The text was updated successfully, but these errors were encountered: