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

pub serve: "Could not start worker thread" #17294

Closed
DartBot opened this issue Mar 5, 2014 · 3 comments
Closed

pub serve: "Could not start worker thread" #17294

DartBot opened this issue Mar 5, 2014 · 3 comments
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Mar 5, 2014

This issue was originally filed by rasmu...@sonardesign.com


Running pub serve, while walking away from my computer for a while, I came back to a dialog box saying Dart.exe had crashed - on the console, I saw the following error message:

vm\thread_pool.cc:233: error: Could not start worker thread: result = 12.

I can't tell you how to repeat this - it only happened that one time, and for no apparent reason, but I felt I should report it.

Dart VM version: 1.3.0-dev.1.1 (Sun Mar 02 01:20:25 2014) on "windows_ia32"

@DartBot
Copy link
Author

DartBot commented Mar 6, 2014

This comment was originally written by rasmu...@sonardesign.com


The same thing happened again today - away for a meeting, came back, and dart.exe had crashed.

This time I used Process Explorer (from sysinternals) and managed to grab a mini dump (attached) before closing the "dart.exe has stopped working" dialog.

It had reached a very high memory load of 1,985,632K which is close to the 32-bit limit, and I noticed the property sheet displays "Image: 32-bit", which makes me a little suspicious, because I installed the 64-bit version of Dart. Is "dart.exe" a 32-bit binary even in the 64-bit distribution? (why?)

I also have to wonder if this is related to #­17266 since the symptom appears to be the same: excessive memory usage, even though the app is idle, and then eventually a crash.


Attachment:
dart.dmp (321.95 KB)

@DartBot
Copy link
Author

DartBot commented Mar 6, 2014

This comment was originally written by @Fox32


This is a duplicate of issue #13848. The issue is marked as "fixed" even if it is not comletly resolved. It is still blocked by issue #14428 on windows systems. The dart team knows about it. The good thing is, that pub serve is only a development tool, the workaround is to start it again ;)

@munificent
Copy link
Member

OK, thanks for following up on this. I'll re-open the original bug.

For what it's worth, after making that change, I left pub serve running on my Windows box (inadvertantly) for a few weeks (!) and it was still going strong when I got back to it.

Is "dart.exe" a 32-bit binary even in the 64-bit distribution? (why?)

I would assume not, but I'm not sure.


Added Duplicate label.
Marked as being merged into #13848.

@DartBot DartBot added Type-Defect closed-duplicate Closed in favor of an existing report labels Mar 6, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants