-
Notifications
You must be signed in to change notification settings - Fork 740
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
OOM kill results in failure of createTarFork() when running adb backup --twrp #1609
Comments
Does this happen on backups using the TWRP menu interface? |
I can't back up using the TWRP menu interface (to my knowledge), as I would quickly run out of space in my internal storage, and the function to mount an external disk over USB OTG does not work. I am backing up over 20GB worth of files and only have a /sdcard with 2.6GB free. |
I have exactly the same problem, sadly slightly older software TWRP 3.2.3 on a Sony Z5C. As for you it all used to work fine on my phone, I have to admit I didn't take a back up for a while and now I can't. |
Since it seemed to be an OOM error and there was no swap file:
I decided to create my own swap file:
However, apparently the
Or maybe, hopefully, I just did something wrong and this can be fixed. |
I think I'm going to need to recompile the kernel for this: https://www.acmesystems.it/ts_swapon_failed Um... anyone know some good documentation on that for whatever kernel TWRP uses? At this rate, though, I'm probably going to get an error when trying to do that too... |
Same problem here. Was on TWRP 3.1 (gohan) on an old bq Aquaris X5 Plus, and TWRP used to work like a charm, but then stopped with the nasty signal: 9 issue. I've upgraded to 3.7.0_9-0 (gohan), but this doesn't change anything. Like @wombatch noted, the last archive part grows to approximately 2.2GB before the signal: 9 stops the process. I'm looking at the contents of the last data.ext4.win005 archive. It has 463,257 files, many of them seem very small. It ends with files from an RSS reader app I'm using: data/data/com.madsvyat.simplerssreader/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/{UUID}eginSession.cls and so on. Checking this .Fabric/ folder shows: I'm removing the entire .Fabric folder now. (Good news: after removing, the RSS feed reader still seems to work :-)). Now I'll try the back up again. And what can I say... it works again! So, my recommendation is to look at the last segment of your data.ext.win* files, e.g., with a Of course, the underlying issue seems to be that some aspect of TWRP doesn't scale properly. Even with very large numbers of files in certain folders, splitting the backup into TAR segments properly should of course still work. |
^Eh... this could be a duplicate of createTarFork() process ended with signal: 9 when trying to back up data #1376 but I was told to post a new one.
Device codename: bacon
TWRP version: 3.5.2_9-0
WHAT STEPS WILL REPRODUCE THE PROBLEM?
adb backup --twrp
WHAT IS THE EXPECTED RESULT?
The contents of my Boot, System, and Data partitions, are all backed up to my computer, bypassing my phone's limited internal storage.
WHAT HAPPENS INSTEAD?
And in dmesg, I get:
Among other lines, which I will post via the log file.
ADDITIONAL INFORMATION
/tmp/recovery.log
: https://happysmash27.me/Upload/Logs/TWRP/2021-05-26--11-49-04_lineage_bacon-userdebug_9_PQ3A190801002_858/recovery.logdmesg
: https://happysmash27.me/Upload/Logs/TWRP/dmesg_2021-05-26_1.logAdditionally, several other logs for the same error are available in my comments for #1376.
The program also seems to hang after:
Disk usage does not change at all on either my phone or the computer it is being backed up to.
The text was updated successfully, but these errors were encountered: