Bug ID | 1170801 |
---|---|
Summary | zypper: core dumped with corrupted history file |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | abergmann@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
I'm testing openSUSE Leap 15.2 on a Raspberry Pi 4 4GB at the moment. After the last update I came across the following error that can easily be reproduced. # zypper lu Loading repository data... Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Reading installed packages... /usr/include/c++/7/bits/stl_vector.h:797: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::reference = std::__cxx11::basic_string<char>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. Aborted (core dumped) The issue is triggered via the /var/log/zypp/history file. The console output looks okay... # cat /var/log/zypp/history 2020-04-07 11:23:34|install|openvpn|2.4.3-lp152.5.3|aarch64|root@reef|repo-oss|aa693ea33d633e91b54c8421c13e57c8e7712efc6981d11adc6f2d2ba7e6de82| 2020-02-03 11:24:44|command|root@reef|'zypper' 'in' 'ppp'| 2020-02-03 11:24:44|install|libatm1|2.5.2-lp152.3.3|aarch64||repo-oss|1af738d4bb7db64ee183351f352613704bca6ffef90e8de9f3fbf098d0a17b7b| but the xxd output reveals that there is a block of zeros in front of the second line. 00000060: 3534 6338 3432 3163 3133 6535 3763 3865 54c8421c13e57c8e 00000070: 3737 3132 6566 6336 3938 3164 3131 6164 7712efc6981d11ad 00000080: 6336 6632 6432 6261 3765 3664 6538 327c c6f2d2ba7e6de82| 00000090: 0a00 0000 0000 0000 0000 0000 0000 0000 ................ 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000c0: 0000 0000 0000 0000 0000 0000 0032 3032 .............202 000000d0: 302d 3032 2d30 3320 3131 3a32 343a 3434 0-02-03 11:24:44 000000e0: 7c63 6f6d 6d61 6e64 7c72 6f6f 7440 7265 |command|root@re