Bug 57520 - Ошибка сегментирования при пустом dist-upgrades.log
Summary: Ошибка сегментирования при пустом dist-upgrades.log
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alt-components (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: alxvmr@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-17 08:34 MSK by alxvmr
Modified: 2026-01-17 13:10 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alxvmr 2026-01-17 08:34:15 MSK
Версия alt-components: alt-components-0.6.6-alt1.x86_64

Ожидаемое поведение: 
если долго не делать apt-get dist-upgrade (т.е. если /var/log/alterator/apt/dist-upgrades.log пустой, так как logrotate затирает лог с определенной периодичностью), то alt-components запускается корректно

Текущее поведение:
при пустом /var/log/alterator/apt/dist-upgrades.log alt-components не запускается, выдает ошибку сегментирования:

# rm -f /var/log/alterator/apt/dist-upgrades.log
# touch /var/log/alterator/apt/dist-upgrades.log
$ alt-components 
Ошибка сегментирования
Comment 1 alxvmr 2026-01-17 08:37:54 MSK
Версия alterator-backend-packages: 0.2.12
Comment 2 Repository Robot 2026-01-17 13:10:04 MSK
alt-components-0.6.7-alt1 -> sisyphus:

Sat Jan 17 2026 Maria Alexeeva <alxvmr@altlinux> 0.6.7-alt1
- Fix segmentation fault when dist-upgrades.log is empty (Closes: #57520).