Bug 2223603 - dnf: apparent use of uninitialized or corrupted memory
Summary: dnf: apparent use of uninitialized or corrupted memory
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Evan Goode
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-18 11:44 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2023-07-21 08:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-20 22:21:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2023-07-18 11:44:23 UTC
$ sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/libdnf/0.70.1/4.fc39/x86_64/libdnf-0.70.1-4.fc39.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/libdnf/0.70.1/4.fc39/x86_64/python3-libdnf-0.70.1-4.fc39.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/libdnf/0.70.1/4.fc39/x86_64/python3-hawkey-0.70.1-4.fc39.x86_64.rpm

Last metadata expiration check: 1:33:37 ago on Tue Jul 18 12:08:21 2023.
libdnf-0.70.1-4.fc39.x86_64.rpm                                                                        517 kB/s | 658 kB     00:01    
python3-libdnf-0.70.1-4.fc39.x86_64.rpm                                                                434 kB/s | 822 kB     00:01    
python3-hawkey-0.70.1-4.fc39.x86_64.rpm                                                                 90 kB/s | 107 kB     00:01    
warning: �z�U: notification message: recovered 584 frames from WAL file /var/lib/dnf/history.sqlite-wal
Dependencies resolved.

 Problem: The operation would result in removing the following protected packages: dnf
Nothing to do.
Complete!

(See the "warning: mojibake" part.)

libdnf-0.70.0-1.fc39.x86_64
dnf-4.15.1-1.fc39.noarch


Reproducible: Didn't try

Comment 1 Evan Goode 2023-07-20 22:21:50 UTC
Thanks for reporting, but without a reproducer or other additional debugging information, there isn't much to go on here, so I am closing.

That line is generated by SQLite, not directly by DNF code. It looks like DNF may have been killed and didn't get a chance to cleanly exit and gracefully write the history database.

Feel free to reopen if you can offer any additional information, but it's more likely this is a SQLite bug if anything.

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-07-21 08:00:25 UTC
Ack. I can't provide a reproducer and haven't seen this again.


Note You need to log in before you can comment on or make changes to this bug.