Bug 57146

Summary: Возможный SIGSEGV при первых запусках GNOME Software в установленной системе в `is_idle = (priv->calls->len == 0);` в `pk_client_state_remove` в `../lib/packagekit-glib2/pk-client.c:209`
Product: Sisyphus Reporter: Artem Varaksa <varaksaaa>
Component: packagekitAssignee: sirius <sirius>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris, imz, rider, zerg
Version: unstable   
Hardware: x86_64   
OS: Linux   
See Also: https://bugzilla.altlinux.org/show_bug.cgi?id=50865
https://bugzilla.altlinux.org/show_bug.cgi?id=57140
Attachments:
Description Flags
coredump info
none
backtrace none

Description Artem Varaksa 2025-12-05 16:44:51 MSK
Шаги
====

1. Обновить до p11/sisyphus свежеустановленную систему ALT Workstation 11.0 x86_64.

2. Завершить GNOME Software из приложения Ресурсы (обход возможной ошибки https://bugzilla.altlinux.org/54260 + вызов полной реинициализации приложения).

3. Открыть GNOME Software.


Фактический результат
=====================

Приложение иногда падает. См. вложения.

> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `/usr/bin/gnome-software --gapplication-service'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007fb9249b1ff9 in pk_client_state_remove (client=0x55eea4e17460, state=state@entry=0x55eea4ee3820)
>     at ../lib/packagekit-glib2/pk-client.c:209
> Downloading source file /usr/src/debug/packagekit-1.3.0/x86_64-alt-linux/../lib/packagekit-glib2/pk-client.c...
> 209             is_idle = (priv->calls->len == 0);
> [Current thread is 1 (Thread 0x7fb9207af440 (LWP 2371))]


Ожидаемый результат
===================

Приложение никогда не падает.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p11] ALT Workstation 11.0 x86_64
gnome-software-49.1-alt1.x86_64

[sisyphus] ALT Workstation 11.0 x86_64
gnome-software-49.2-alt1.x86_64
Comment 1 Artem Varaksa 2025-12-05 16:48:17 MSK
Created attachment 20272 [details]
coredump info

# apt-repo
rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/x86_64 classic debuginfo
rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/noarch classic
rpm [alt] http://ftp.altlinux.org/pub/distributions ALTLinux/Sisyphus/x86_64-i586 classic
Comment 2 Artem Varaksa 2025-12-05 16:48:31 MSK
Created attachment 20273 [details]
backtrace
Comment 3 Sergey V Turchin 2025-12-05 17:07:40 MSK
Хорошо бы с debuginfo трейс сделать.
Comment 4 Artem Varaksa 2025-12-05 17:40:00 MSK
Я делал с debuginfo, просто часть из https://debuginfod.altlinux.org; насколько вижу, там нет отсутствующих символов (см. "backtrace", а не "coredump info").
Comment 5 Sergey V Turchin 2025-12-08 09:01:31 MSK
Его обновить бы для начала, уже 1.3.3 .