Aldeshov / ADBFileExplorer

File Explorer for Android devices
GNU General Public License v3.0
166 stars 24 forks source link

Crash on too many open files #21

Open dandv opened 1 year ago

dandv commented 1 year ago

When attempting to download a lot of files (e.g. from Camera), the app crashes with:

(process:64670): GLib-ERROR **: 01:46:40.739: Creating pipes for GWakeup: Too many open files ./run.sh: line 8: 64670 Trace/breakpoint trap (core dumped) python ./src/app

I was using adb-shell because external adb was unable to read the device at all:

image

There were no other adb processes running and the app had started fine (except for lacking venv):

$ ./run.sh
./run.sh: line 1: ./venv/bin/activate: No such file or directory
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/adb

* daemon not running; starting now at tcp:5037
* daemon started successfully

ADB server running...