Skip to content

Unexpected Close When Creating Image with TimeShift #400

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

Open
12elotro opened this issue Mar 26, 2025 · 0 comments
Open

Unexpected Close When Creating Image with TimeShift #400

12elotro opened this issue Mar 26, 2025 · 0 comments

Comments

@12elotro
Copy link

12elotro commented Mar 26, 2025

System:

  • Linux Distribution Name and Version: Linux Mint 22.1
  • Desktop Cinnamon
  • Application Version 24.06.6 Timeshift GTK
System:
  Kernel: 6.8.0-55-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: LENOVO product: 80NV v: Lenovo ideapad Y700-15ISK
    serial: <superuser required> Chassis: type: 10 v: Lenovo ideapad Y700-15ISK
    serial: <superuser required>
  Mobo: LENOVO model: Allsparks 5A v: NO DPK serial: <superuser required>
    part-nu: LENOVO_MT_80NV_BU_idea_FM_Lenovo ideapad Y700-15ISK uuid: <superuser required>
    UEFI: LENOVO v: CDCN54WW date: 06/13/2017
Battery:
  ID-1: BAT0 charge: 30.7 Wh (57.0%) condition: 53.9/60.0 Wh (89.8%) volts: 15.1 min: 14.8
    model: SMP L14M4P23 type: Li-ion serial: <filter> status: not charging
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M275/M280 serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MT MCP smt: enabled arch: Skylake-S
    rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 2700 high: 3012 min/max: 800/3500 cores: 1: 2934 2: 800 3: 2954 4: 2999
    5: 2934 6: 2976 7: 2993 8: 3012 bogomips: 41599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Lenovo driver: i915 v: kernel arch: Gen-9 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300
  Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Lenovo driver: N/A arch: Maxwell pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:139b class-ID: 0302
  Device-3: Bison Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 1-6:3 chip-ID: 5986:0672 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: LG Display 0x04a7 res: 1920x1080 hz: 60 dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris device: 1 drv: swrast gbm:
    drv: iris surfaceless: drv: iris x11: drv: iris inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2) device-ID: 8086:191b
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  API: ALSA v: k6.8.0-55-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
Network:
  Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:3166 class-ID: 0280
  IF: wlp8s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo RTL8111/8168/8411 driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 09:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp9s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-11:4 chip-ID: 8087:0a2a class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2 lmp-v: 8 sub-v: 1000
    hci-v: 8 rev: 1000 class-ID: 7c010c
Drives:
  Local Storage: total: 1.14 TiB used: 198.15 GiB (17.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 250GB size: 232.89 GiB speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3B7QCXE7 temp: 27.9 C scheme: GPT
  ID-2: /dev/sda vendor: Western Digital model: WD10SPCX-24HWST1 size: 931.51 GiB speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 1A02 scheme: GPT
Partition:
  ID-1: / size: 118.93 GiB used: 26.57 GiB (22.3%) fs: ext4 dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 96 MiB used: 49.8 MiB (51.9%) fs: vfat dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 256 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Logitech Unifying Receiver type: mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA
    chip-ID: 046d:c52f class-ID: 0300
  Device-2: 1-6:3 info: Bison Lenovo EasyCamera type: video driver: uvcvideo interfaces: 2
    rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 5986:0672 class-ID: 0e02 serial: <filter>
  Device-3: 1-11:4 info: Intel Bluetooth wireless interface type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 8 rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 2978 pm: dpkg pkgs: 2967 pm: flatpak pkgs: 11
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/apandada1-curtail-noble.list
    1: deb [signed-by=/etc/apt/keyrings/apandada1-curtail-noble.gpg] https: //ppa.launchpadcontent.net/apandada1/curtail/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/hluk-copyq-noble.list
    1: deb [signed-by=/etc/apt/keyrings/hluk-copyq-noble.gpg] https: //ppa.launchpadcontent.net/hluk/copyq/ubuntu noble main
  No active apt repos in: /etc/apt/sources.list.d/jeffreyratcliffe-ppa-noble.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.airenetworks.es/linuxmint/packages wilma main upstream import backport
    2: deb http: //mirrors.ircam.fr/pub/ubuntu/archive noble main restricted universe multiverse
    3: deb http: //mirrors.ircam.fr/pub/ubuntu/archive noble-updates main restricted universe multiverse
    4: deb http: //mirrors.ircam.fr/pub/ubuntu/archive noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/slimbook-slimbook-noble.list
    1: deb [signed-by=/etc/apt/keyrings/slimbook-slimbook-noble.gpg] https: //ppa.launchpadcontent.net/slimbook/slimbook/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https: //linux.teamviewer.com/deb stable main
  No active apt repos in: /etc/apt/sources.list.d/xtradeb-apps-noble.list
Info:
  Memory: total: 16 GiB available: 15.45 GiB used: 5.35 GiB (34.6%)
  Processes: 410 Power: uptime: 32m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34

For some time now, I've been having trouble creating an image with TimeShift.

If I use the graphical application while it's creating the image, the application closes without completing it.

If I try to create it with the Terminal, I get the following error:

Example Error 1 :

sudo timeshift --create --comments "Antes Linux Mint 22.1, desinstalar Slimbook Batter "
[sudo] contraseña para david:         
Mounted '/dev/sda2' at '/run/timeshift/5239/backup'
------------------------------------------------------------------------------
Checking if target drive has enough free space for a snapshot (RSYNC)
Target device: /dev/sda2, mount path: /run/timeshift/5239/backup
Linking from snapshot: 2025-03-17_16-53-39
Calculating required disk space...

(process:5239): GLib-GObject-CRITICAL **: 17:13:13.500: g_type_free_instance: assertion 'instance != NULL && instance->g_class != NULL' failed

(process:5239): GLib-GObject-CRITICAL **: 17:13:13.500: instance with invalid (NULL) class pointer

(process:5239): GLib-GObject-CRITICAL **: 17:13:13.500: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Segment violation

Attached is the log of the attempt to create the Timeshift image:

[17:12:13] Main: check_dependencies()
[17:12:13] Main: add_default_exclude_entries()
[17:12:13] Main: add_default_exclude_entries(): exit
[17:12:13] update_partitions()
[17:12:13] Device: get_disk_space_using_df(): 3
[17:12:13] Device: get_mounted_filesystems_using_mtab(): 3
[17:12:13] Device: get_filesystems(): 11
[17:12:13] partition list updated
[17:12:13] detect_system_devices()
[17:12:13] Searching subvolume for system at path: /
[17:12:13] Users: server citrixlog david root kodi
[17:12:13] Encrypted home users: 
[17:12:13] Encrypted home dirs:

[17:12:13] Encrypted private dirs:

[17:12:13] Main: load_app_config()
[17:12:13] IconManager: init()
[17:12:13] found images directory: /usr/share/timeshift/images
[17:12:13] Main(): ok
[17:12:13] AppConsole: parse_arguments()
[17:12:13] Main: initialize_repo()
[17:12:13] backup_uuid=0d14c2a6-642d-4f5c-83bd-e24bfadc98c4
[17:12:13] backup_parent_uuid=
[17:12:13] Setting snapshot device from config file
[17:12:13] repo: creating from uuid
[17:12:13] SnapshotRepo: from_uuid(): RSYNC
[17:12:13] uuid=0d14c2a6-642d-4f5c-83bd-e24bfadc98c4
[17:12:13] SnapshotRepo: init_from_device()
[17:12:13] 
[17:12:13] SnapshotRepo: unlock_and_mount_devices()
[17:12:13] device=/dev/sda2
[17:12:13] SnapshotRepo: unlock_and_mount_device()
[17:12:13] device=/dev/sda2
[17:12:13] Device: get_mounted_filesystems_using_mtab(): 3
[17:12:13] ------------------
[17:12:13] arg=0d14c2a6-642d-4f5c-83bd-e24bfadc98c4, device=/dev/sda2
[17:12:13] ------------------
[17:12:13] Device: get_mounted_filesystems_using_mtab(): 3
[17:12:14] Mounted '/dev/sda2' at '/run/timeshift/5239/backup'
[17:12:14] SnapshotRepo: load_snapshots()
[17:12:14] loading snapshots from '/run/timeshift/5239/backup/timeshift/snapshots': 4 found
[17:12:14] SnapshotRepo: unlock_and_mount_device(): exit
[17:12:14] Selected snapshot device: /dev/sda2
[17:12:14] Free space: 0 B
[17:12:14] SnapshotRepo: check_status()
[17:12:14] SnapshotRepo: available()
[17:12:14] is_available: ok
[17:12:14] SnapshotRepo: has_snapshots()
[17:12:14] SnapshotRepo: has_space() - 0 required (0 B)
[17:12:14] Device: get_disk_space_using_df(): 1
[17:12:14] SnapshotRepo: check_status(): exit
[17:12:14] SnapshotRepo: init_from_device(): exit
[17:12:14] SnapshotRepo: from_uuid(): exit
[17:12:14] Main: initialize_repo(): exit
[17:12:14] AppConsole: start_application()
[17:12:14] Main: create_snapshot()
[17:12:14] SnapshotRepo: has_space() - 0 required (0 B)
[17:12:14] Device: get_disk_space_using_df(): 1
[17:12:14] Main: backup_and_rotate()
[17:12:14] SnapshotRepo: available()
[17:12:14] is_available: ok
[17:12:14] ------------------------------------------------------------------------------
[17:12:14] Checking if target drive has enough free space for a snapshot (RSYNC)
[17:12:14] Target device: /dev/sda2, mount path: /run/timeshift/5239/backup
[17:12:14] Linking from snapshot: 2025-03-17_16-53-39
[17:12:14] Main: save_exclude_list_for_backup()
[17:12:14] Main: create_exclude_list_for_backup()
[17:12:14] Main: create_exclude_list_for_backup(): exit
[17:12:14] Calculating required disk space...
[17:12:14] RsyncSpaceCheckTask:execute()
[17:12:14] export LC_ALL=C.UTF-8
rsync -aii --recursive --verbose --delete --force --stats --sparse --delete-excluded --dry-run --link-dest='/run/timeshift/5239/backup/timeshift/snapshots/2025-03-17_16-53-39/localhost/' --exclude-from='/run/timeshift/5239/backup/timeshift/snapshots/2025-03-17_17-12-14/exclude.list' --delete-excluded '/' '/run/timeshift/5239/backup/timeshift/snapshots/2025-03-17_17-12-14/localhost/'
[17:12:14] RsyncSpaceCheckTask:prepare(): saved: /tmp/aOFaK0n2/2025-03-17_17-12-14/script.sh
[17:12:14] AsyncTask: child_pid: 5289
[17:13:13] AsyncTask: finish(): enter
[17:13:13] AsyncTask: finish(): enter
[17:13:13] exit_code: 0

Example Error 2:


sudo timeshift --create --comments "Antes Flatpak: Mesa,Intel VAAPI driver Gnome Applications"
[sudo] contraseña para david:         
Mounted '/dev/sda2' at '/run/timeshift/19467/backup'
------------------------------------------------------------------------------
Checking if target drive has enough free space for a snapshot (RSYNC)
Target device: /dev/sda2, mount path: /run/timeshift/19467/backup
Linking from snapshot: 2025-03-17_18-39-05
Calculating required disk space...
Space required for snapshot: 27674970 (27.7 MB). Space available: 5472870400 (5.5 GB)
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/19467/backup
Linking from snapshot: 2025-03-17_18-39-05
Syncing files with rsync...
 98.91% complete (00:00:00 remaining)
(process:19467): GLib-GObject-CRITICAL **: 19:00:25.057: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(process:19467): GLib-GObject-CRITICAL **: 19:00:25.058: instance with invalid (NULL) class pointer

(process:19467): GLib-GObject-CRITICAL **: 19:00:25.058: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Segment violation

I tried uninstalling the Timeshift application with purge, deleting the [b]/etc/timeshift[/b] directory, reinstalling, and reconfiguring.

The first four images created correctly, however, the fifth and sixth failed.

Example Error 3:


sudo timeshift --create --comments "todo_ok2"
[sudo] contraseña para david:         
Mounted '/dev/sda2' at '/run/timeshift/8087/backup'
------------------------------------------------------------------------------
Checking if target drive has enough free space for a snapshot (RSYNC)
Target device: /dev/sda2, mount path: /run/timeshift/8087/backup
Linking from snapshot: 2025-03-26_00-59-49
Calculating required disk space...
Space required for snapshot: 25883383 (25.9 MB). Space available: 13383471104 (13.4 GB)
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/8087/backup
Linking from snapshot: 2025-03-26_00-59-49
Syncing files with rsync...
100.14% complete (00:00:00 remaining)
(process:8087): GLib-GObject-CRITICAL **: 16:22:50.884: g_type_free_instance: assertion 'instance != NULL && instance->g_class != NULL' failed

(process:8087): GLib-GObject-CRITICAL **: 16:22:50.884: instance with invalid (NULL) class pointer

(process:8087): GLib-GObject-CRITICAL **: 16:22:50.884: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Segment violation

It is not a space problem because in "error example 3" the space on the destination was +-14 Gbs and on the third attempt the snapshot was completed leaving 13.6 Gbs on the destination.

df -h /

S.ficheros     Tamaño Usados  Disp Uso% Montado en
/dev/nvme0n1p6   119G    28G   86G  25% /

Image

Image

Image

Image

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant