teejee2008 / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
GNU Lesser General Public License v3.0
4.66k stars 282 forks source link

Cannot start Timeshift-gtk; ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed #650

Open Sandai64 opened 3 years ago

Sandai64 commented 3 years ago

Describe the bug I cannot start Timeshift-gtk, launching it via the terminal or the UI does not change the result. Once run in a terminal, its output is :

ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
Bail out! ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
Aborted

To Reproduce Steps to reproduce the behavior:

  1. Install timeshift from the AUR or the package built from the Chaotic AUR
  2. Try to launch it with a terminal or the UI
  3. ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
    Bail out! ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
    Aborted

Expected behavior Timeshift should start.

Screenshots N/A

System:

shizzz477 commented 3 years ago

same problem here. Distributor ID: Linuxmint Description: Linux Mint 20 Release: 20 Codename: ulyana

leonardbillywoodiii commented 3 years ago

Same Problem Here Ubuntu 20.04 Intel Celeron Not able to test gui as it is running on server Get this error for anything other than --help ` sudo timeshift --create [Warning] Deleted invalid lock ** ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size) Bail out! ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size) Aborted

`

iCelo-git commented 3 years ago

I've got the same problem :/

sudo timeshift --create
[Warning] Deleted invalid lock
**
ERROR:arraylist.c:1206:gee_array_list_real_get: assertion failed: (index < _size)
Aborted

OS: Debian GNU/Linux 10 (buster) x86_64

Intrinsic1 commented 2 years ago

I have the same issue.

I'm running Mint 20.2. Timeshift will work fine until I introduce an mdadm raid array, and then the error message seen below is generated when I try to start Timeshift. If the raid array is removed Timeshift will work again. If you want to re-create this issue use Mint 20.x and introduce a RAID 5 array (you can do this with three USB sticks to make the testing easier)

pkexec timeshift-gtk [Warning] Deleted invalid lock ** ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size) Bail out! ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size) Aborted (core dumped)

stu1811 commented 2 years ago

I ran into the same issue on Ubuntu. I was able to get it working with this PR. @Intrinsic1 can you try the fix?

https://github.com/teejee2008/timeshift/pull/883