Closed bsutton closed 3 years ago
Looks like dart has a bug when interating through /proc directory underliux
If the following code is run as sudo then you are guarenteed a crash:
find('x', root: '/', recursive: true);
See the following issues: https://github.com/dart-lang/sdk/issues/43176
The only obvious work around is to get a listing of the directories under / and then do individual recursions under each of these directories excluding /proc.
We have a work around in place by bypassing directories such as /proc.
Will leave open until 2.10 which should have a fix and then we can remove the work around.
Fixed in 2.10
Looks like dart has a bug when interating through /proc directory underliux
If the following code is run as sudo then you are guarenteed a crash:
See the following issues: https://github.com/dart-lang/sdk/issues/43176
The only obvious work around is to get a listing of the directories under / and then do individual recursions under each of these directories excluding /proc.