Skip to content

Rustic crashes, when reading from /proc, on Android/Termux #377

@vmlemon

Description

@vmlemon

Out of curiosity, I tried to run the latest ARM64 release of Rustic, inside an Ubuntu chroot, on my Android phone.

It seems that I was able to create an archive, in an existing Restic repository, without issues,
but when I attempted to add /proc, as a stress test (/proc/kcore usually either ends up being read, for a very long time, or gets handled in an optimised manner, given its size, by various tools).

Version information, for Ubuntu, and Android Linux kernel:

root@localhost:~# cat /etc/lsb-release                                     
DISTRIB_ID=Ubuntu                                                          
DISTRIB_RELEASE=22.04                                                      
DISTRIB_CODENAME=jammy                                                     
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"                                  

 root@localhost:~# uname -a                                                 Linux localhost 5.10.177-android12-9-27763393-abS901BXXU8DXD6 rustic-rs/rustic#1 SMP PREEMPT Fri Apr 5 16:00:39 KST 2024 aarch64 aarch64 aarch64 GNU/Linux

Attaching the report file generated, after processing about 100GB of data, before it crashed:
report-55e94011-5b01-4ad7-8dd1-bd92a4cb3c65.toml.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Something isn't working as expectedO-androidOperating system: AndroidO-unixOperating system: Unix-like

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions