dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.11k stars 1.56k forks source link

Dart VM - core dump related to number of created isolates? #7995

Closed DartBot closed 9 years ago

DartBot commented 11 years ago

This issue was originally filed by kguggi...@gmail.com


What steps will reproduce the problem? git clone git://github.com/Gubaer/dart-dining-philosophers.git cd dart-dining-philosophers pub install dart bin/dinner3.dart -n 50

What is the expected output? What do you see instead? Should run a simulation of a "philosopher conference" with 50 philosophers.

Aborts with "Segmentation fault (core dumped)"

Up to ~40 philosophers everything is fine.

What version of the product are you using? On what operating system?

Please provide any additional information below.

sethladd commented 11 years ago

Added Area-VM, Triaged labels.

fsc8000 commented 11 years ago

The VM crashes failing to allocate virtual memory if you create too many isolates. I'm changing it to abort instead of seg-fault in this case.


Set owner to @fsc8000. Added Accepted label.

fsc8000 commented 11 years ago

https://code.google.com/p/dart/source/detail?r=20315


Added Fixed label.