-
Notifications
You must be signed in to change notification settings - Fork 1.7k
runtime/vm/os_thread_linux.cc: 264: error: pthread error: 16 (Device or resource busy) #28549
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
Before I updated my Docker version was
|
@zoechi could you get us a core dump or at least run it under the gdb and send us output of |
How do I create a core dump? Some basic instructions about how to use gdb? |
For gdb, you can use The commands you need are To get a core file from the command line, the core file size limit should be set to unlimited for the current shell you're running in: |
Installing |
I'm using the Docker image |
I was able to get this core file. It was created automatically when I run the dart script. |
I have a similar issue running pub in a Docker container.
I'm using Docker 1.13.0 on MacOS Sierra I tried using versions 1.21.1 down to 1.19.1 |
I managed to get pub complete successfully using |
I use
|
We tried reproducing it locally without success. Here are thread stacks @zoechi got for me from his core running
Notice that Thread 1 stack trace (one that crashed) makes 0 sense. |
Still seeing this in the Setup
Program that causes thissimple program:
Output from executing this program
Backtrace
|
I still have a similar problem when running |
We need to understand which mutex is being destroyed. Unfortunately stack traces don't really help - because line information is stripped. I added some debug information in this CL: https://dart-review.googlesource.com/c/sdk/+/4721 If somebody could build custom |
Use this name when reporting errors. We need this sort of debug information to better understand Isolate shutdown races like one in #28549 Bug: #28549 Change-Id: I24f27b4eef4faf4b2f80f82b269d88a6e5c3880b Reviewed-on: https://dart-review.googlesource.com/4721 Commit-Queue: Vyacheslav Egorov <[email protected]> Reviewed-by: Zach Anderson <[email protected]>
Currently working around this by adding |
I have similar error when executing pub run test in gitlab ci using google/dart image
|
@muzuro The problem occurs when a dart program is running, and since pub is written in dart, it is affected as well. Try to use the 1.25-dev version. It might fix the problem. |
I guess this can be closed. If someone sees this. Please add a comment to have it reopened or create a new one an link here. |
Whenever I run any Dart program on my local machine within Docker.
When I deploy the same Docker image to GCloud I don't get this error.
I updated to the latest Docker version
but no change.
See also #24222
The text was updated successfully, but these errors were encountered: