#1122329 Segfault when trying to open any RAR archive on Trixie

Package:
lxqt-archiver
Source:
lxqt-archiver
Description:
Archiv Manager for LXQt
Submitter:
Aaron Rainbolt
Date:
2025-12-10 01:35:03 UTC
Severity:
normal
#1122329#5
Date:
2025-12-10 01:31:41 UTC
From:
To:
Note that this bug affects Trixie only, it does not affect the version
of lxqt-archiver in Sid.

Steps to reproduce:

* Install lxqt-archiver and the RAR command line tool: `sudo apt
  install lxqt-archiver rar` (non-free must be enabled to install
  `rar`)
* Create a directory with some files in it for testing:

  mkdir test
  echo 'file 1' > test/a
  echo 'file 2' > test/b

* Create an archive from the files:

  rar a test.rar test

* Attempt to open the archive with lxqt-archiver:

  lxqt-archiver test.rar

Expected result: The archive should be opened.

Actual result: lxqt-archiver crashes. The following errors are displayed
on standard out:

    (lxqt-archiver:5418): GLib-CRITICAL **: 19:29:42.104: g_strchomp:
    assertion 'string != NULL' failed
    Segmentation fault