You are not logged in.

#1 2025-03-26 10:43:02

LinuxLover471
Member
From: Asia, India
Registered: 2025-02-23
Posts: 172

Timeshift CLI segmentation fault, GUI of timeshift works great.

Hi, I hope that you are doing fine.

This issue first appeared when I tried to use timeshift from the CLI yesterday, I was trying to switch from nvidia and xorg to nouveau with wayland, but I messed up, I had created a backup of timeshift in this case, and when I tried to restore it using a live usb. (yes, I screwed up really good.) But then I got hit with a segmentation fault error. I tried another time (and multiple times after that) and it also gave a message saying "[Warning] Deleted invalid lock". Also I use Syslinux as grub was too slow for me. But it didn't matter if I selected yes or no when it asked about reinstalling grub, it always segfaulted.

Unfortunately I screwed up so bad I had to reinstall arch yesterday. After installing it, I tried using the GUI version provided (when installing timeshift from pacman). It worked flawlessly, the restoration, creation, everything. I also tried creating a snapshot with --create in the CLI and it did work, but the restore command still segfaulted. I will add logs at the end of the post.

Here are the logs-
http://0x0.st/8j5O.txt

The part of the logs with sudo journalctl -b | grep "timeshift"-

Mar 26 16:14:59 G31M-ES2L sudo[923]:       ak : TTY=pts/0 ; PWD=/home/ak ; USER=root ; COMMAND=/usr/bin/timeshift --restore
Mar 26 16:15:04 G31M-ES2L kernel: timeshift[929]: segfault at 20 ip 00005cb202c31bab sp 00007ffd344ff970 error 4 in timeshift[20bab,5cb202c17000+3e000] likely on CPU 3 (core 1, socket 0)
Mar 26 16:15:11 G31M-ES2L sudo[961]:       ak : TTY=pts/0 ; PWD=/home/ak ; USER=root ; COMMAND=/usr/bin/timeshift --restore
Mar 26 16:15:16 G31M-ES2L kernel: timeshift[964]: segfault at 20 ip 0000586836d42bab sp 00007ffc88fff590 error 4 in timeshift[20bab,586836d28000+3e000] likely on CPU 3 (core 1, socket 0)

Output of inxi -Fxxxz

System:
  Kernel: 6.13.8-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc
  Desktop: KDE Plasma v: 6.3.3 tk: Qt v: N/A wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: G31M-ES2L serial: <superuser required>
    uuid: <superuser required> BIOS: Award v: FI date: 08/09/2010
CPU:
  Info: quad core model: Intel Core2 Quad Q9550 bits: 64 type: MCP
    smt: <unsupported> arch: Penryn rev: A cache: L1: 256 KiB L2: 12 MiB
  Speed (MHz): avg: 1999 min/max: 2000/2834 cores: 1: 1999 2: 1999 3: 1999
    4: 1999 bogomips: 22664
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK107 [GeForce GT 740] driver: nvidia v: 470.256.02
    arch: Kepler-2 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
    off: HDMI-A-1 empty: DVI-I-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0fc8
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
    display-ID: :0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: HDMI-A-1 model: LG (GoldStar) FHD serial: <filter>
    res: 1920x1080 dpi: 102 size: 480x260mm (18.9x10.24") diag: 546mm (21.5")
    modes: max: 1920x1080 min: 640x480
  API: Vulkan v: 1.4.309 layers: 1 surfaces: xcb,xlib device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:0fc8
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: api: vulkaninfo de: kscreen-doctor
    gpu: nvidia-settings,nvidia-smi x11: xprop
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio
    vendor: Gigabyte GA-D525TUD driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:27d8 class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403
  API: ALSA v: k6.13.8-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.4.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pw-jack type: plugin
Network:
  Message: No PCI device data found.
  Device-1: Ralink 802.11 n WLAN driver: rt2800usb type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 2-8:5 chip-ID: 148f:5370 class-ID: 0000
    serial: <filter>
  IF: wlp0s29f7u8 state: up mac: <filter>
Drives:
  Local Storage: total: 1.38 TiB used: 25.83 GiB (1.8%)
  ID-1: /dev/sda vendor: A-Data model: SU800 size: 476.94 GiB
    speed: <unknown> tech: SSD serial: <filter> fw-rev: 8B scheme: MBR
  ID-2: /dev/sdb vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
    speed: <unknown> tech: HDD rpm: 7200 serial: <filter> fw-rev: A7C0
    scheme: MBR
Partition:
  ID-1: / size: 68.35 GiB used: 18.98 GiB (27.8%) fs: ext4 dev: /dev/sda1
  ID-2: /home size: 29.36 GiB used: 6.85 GiB (23.3%) fs: ext4 dev: /dev/sda6
Swap:
  ID-1: swap-1 type: partition size: 7.91 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: nvidia temp: 44 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 30%
Info:
  Memory: total: 4 GiB available: 3.82 GiB used: 1.43 GiB (37.6%)
  Processes: 195 Power: uptime: 3m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 257 default: graphical
  Packages: pm: pacman pkgs: 840 Compilers: gcc: 14.2.1 Shell: Bash
    v: 5.2.37 running-in: konsole inxi: 3.3.37

Thanks,
LL

Last edited by LinuxLover471 (2025-03-26 13:05:57)


--- asyync1024

Offline

Board footer

Powered by FluxBB