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

Unexpected EINTR errno, etc. on tmpfs and 9p file systems #21080

Open
DartBot opened this issue Sep 24, 2014 · 5 comments
Open

Unexpected EINTR errno, etc. on tmpfs and 9p file systems #21080

DartBot opened this issue Sep 24, 2014 · 5 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone

Comments

@DartBot
Copy link

DartBot commented Sep 24, 2014

This issue was originally filed by rha...@allogy.com


What steps will reproduce the problem?

  1. copy a dart project to /tmp on fedora 20
  2. "cd" into the project
  3. execute "pub get"

What is the expected output?

Successful retrieval of dependencies

What do you see instead?

Varies:
runtime/bin/file_linux.cc:125: error: Unexpected EINTR errno
runtime/bin/file_linux.cc:162: error: Unexpected EINTR errno
runtime/bin/file_linux.cc:115: error: Unexpected EINTR errno
runtime/bin/directory_linux.cc:319: error: Unexpected EINTR errno

..and rarely (<10%) it actually finishes successfully.

What version of the product are you using?

1.6.0

On what operating system?

Fedora 20
Kernel @­ 3.16.2 & 3.16.3

What browser (if applicable)?

N/A

Please provide any additional information below.

The system in question is a virtual machine running under KVM of the same distribution/version (fedora 20).

As I understand it, EINTR may indicate that the process is receiving a signal, so this might be masking a different issue (though, there is no other interesting diagnostic output).

@DartBot
Copy link
Author

DartBot commented Sep 24, 2014

This comment was originally written by rha...@allogy.com


Possibly related to #­16927.

@sgjesse
Copy link
Contributor

sgjesse commented Sep 25, 2014

Our assumption on stat64 and lstat64 never returning EINTR was wrong. Causing VM termination in this environment.


Set owner to @sgjesse.
Added this to the 1.7 milestone.
Removed Priority-Unassigned label.
Added Priority-Critical, Started labels.

@sgjesse
Copy link
Contributor

sgjesse commented Sep 25, 2014

@sgjesse
Copy link
Contributor

sgjesse commented Sep 25, 2014

Added Fixed label.

@DartBot DartBot added Type-Defect P0 A serious issue requiring immediate resolution labels Sep 25, 2014
@DartBot DartBot added this to the 1.7 milestone Sep 25, 2014
@lukechurch
Copy link
Contributor

I've just had this reproduce on Dart VM version: 1.10.1 (Mon May 11 11:03:28 2015) on "macos_x64"

"/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/runtime/bin/directory_macos.cc:157: error: Unexpected EINTR errno"

The code is doing a recursive file list on a root of a corpus, so it will contain a very large number of files.

@lukechurch lukechurch reopened this Jun 13, 2015
@floitschG floitschG added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io and removed Area-NONE labels Jun 24, 2015
@mit-mit mit-mit removed the Fixed label Sep 2, 2015
@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed Type-Defect labels Mar 1, 2016
@sgjesse sgjesse removed their assignment Jun 14, 2016
@mit-mit mit-mit removed the P0 A serious issue requiring immediate resolution label Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

6 participants