Tool crashes when launching adb when getcwd fails with EACCES. #57166
Labels
c: crash
Stack traces logged to the console
P2
Important issues not at the top of the work list
team-tool
Owned by Flutter Tool team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-tool
Triaged by Flutter Tool team
Sometimes when launched from an IDE, the tool can crash when the tool process does not have read/list permissions from / up to the cwd.
Supposing that
getAdbPath
(here) is giving an absolute path, the problem seems to be inpackage:process
, which tries to grab the cwd even though the path might be absolute (here).package:process
should probably skip the cwd relative search if grabbing the cwd fails.The text was updated successfully, but these errors were encountered: