This has proved to be an appstream issue. ** Also affects: appstream (Ubuntu) Importance: Undecided Status: New
** Also affects: appstream (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: isenkram (Ubuntu Groovy) Importance: Undecided Status: New ** No longer affects: isenkram (Ubuntu Groovy) ** Changed in: isenkram (Ubuntu) Status: New => Invalid ** Changed in: appstream (Ubuntu Groovy) Importance: Undecided => Medium ** Changed in: appstream (Ubuntu Groovy) Status: New => In Progress ** Changed in: appstream (Ubuntu Groovy) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** Changed in: appstream (Ubuntu) Importance: Undecided => Medium ** Changed in: appstream (Ubuntu) Status: New => Triaged ** Package changed: isenkram (Debian) => appstream (Debian) ** Description changed: + [Impact] + + An attempt to run the isenkram-lookup command from the isenkram-cli + package results in a segfault/crash. The proposed appstream upload fixes + the issue. + + [Test case] + + 1. Install the isenkram package + + 2. Run the isenkram-lookup command + + -> Find that it segfaults + + 3. Install the packages built by the appstream source + package from groovy-proposed + + -> Find that the command succeeds and possibly lists a few + suggested packages. + + [Where problems could occur] + + TBH this fix is far above my head. Only code comments are changed, i.e. + some occurrences of "full" are replaced with "container", but it still + has proved to be it. + + The reasoning in the commit message sounds plausible: + + https://github.com/ximion/appstream/commit/b52858bf + + [Original description] + I just run the isenkram-lookup command. The crash may be related to this autopkgtest failure (which current blocks migration of gtk+3.0): https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac /autopkgtest- hirsute/hirsute/amd64/i/isenkram/20201108_141822_ee8c4@/log.gz This is the script which fails: https://salsa.debian.org/debian/isenkram/-/blob/master/debian/tests /test-command-line and it includes the isenkram-lookup command. ProblemType: Crash DistroRelease: Ubuntu 21.04 Package: isenkram-cli 0.44 ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14 Uname: Linux 5.8.0-25-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu51 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Mon Nov 9 18:07:47 2020 ExecutablePath: /usr/bin/isenkram-lookup ExecutableTimestamp: 1595665183 InstallationDate: Installed on 2019-11-10 (365 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) InterpreterPath: /usr/bin/python3.8 PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/isenkram-lookup ProcCwd: /home/gunnar Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1 PythonDetails: N/A SegvAnalysis: - Segfault happened at: 0x7f27ae221cca <g_type_check_instance_cast+26>: mov (%rdi),%rax - PC (0x7f27ae221cca) ok - source "(%rdi)" (0x6465737500000000) not located in a known VMA region (needed readable region)! - destination "%rax" ok + Segfault happened at: 0x7f27ae221cca <g_type_check_instance_cast+26>: mov (%rdi),%rax + PC (0x7f27ae221cca) ok + source "(%rdi)" (0x6465737500000000) not located in a known VMA region (needed readable region)! + destination "%rax" ok SegvReason: reading unknown VMA Signal: 11 SourcePackage: isenkram StacktraceTop: - g_type_check_instance_cast () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 - as_component_get_provided_for_kind () at /lib/x86_64-linux-gnu/libappstream.so.4 - () at /lib/x86_64-linux-gnu/libffi.so.8 - () at /lib/x86_64-linux-gnu/libffi.so.8 - () at /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so + g_type_check_instance_cast () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 + as_component_get_provided_for_kind () at /lib/x86_64-linux-gnu/libappstream.so.4 + () at /lib/x86_64-linux-gnu/libffi.so.8 + () at /lib/x86_64-linux-gnu/libffi.so.8 + () at /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so Title: isenkram-lookup crashed with SIGSEGV in g_type_check_instance_cast() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lp lpadmin lxd plugdev sambashare sudo separator: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1903574 Title: isenkram-lookup crashed with SIGSEGV in g_type_check_instance_cast() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1903574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs