https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Bug ID: 1661251 Summary: Fails due to uninitialised value Product: Fedora EPEL Version: epel7 OS: Linux Status: NEW Component: perl-Parse-DMIDecode Assignee: ddick@cpan.org Reporter: squinney@inf.ed.ac.uk QA Contact: extras-qa@fedoraproject.org CC: ddick@cpan.org, perl-devel@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Created attachment 1515903 --> https://bugzilla.redhat.com/attachment.cgi?id=1515903&action=edit Initialise structures to zero to avoid potential problem with numeric comparison
Description of problem:
We use the Parse::DMIDecode perl module on all our EL7 machines as part of our inventory system. Mostly it works fine but on a small number of machines it fails with this error about an uninitialized value:
perl -MParse::DMIDecode -wE 'my $decoder = new Parse::DMIDecode; $decoder->probe' Use of uninitialized value $data{"structures"} in numeric lt (<) at /usr/share/perl5/vendor_perl/Parse/DMIDecode.pm line 160.
Version-Release number of selected component (if applicable):
0.03-5
How reproducible:
About 1% of our machines, I've not checked but probably all similar hardware.
Additional info:
This seems to be similar to a bug reported in CPAN many years ago:
https://rt.cpan.org/Public/Bug/Display.html?id=54956
except that the supplied patch in that report does NOT work. I have attached a patch which fixes the problem when applied to the 0.03-5 SRPM.
Regards,
Stephen Quinney
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|ddick@cpan.org |extras-orphan@fedoraproject | |.org
--- Comment #1 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|extras-orphan@fedoraproject |ppisar@redhat.com |.org |
--- Comment #2 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
--- Comment #3 from Petr Pisar ppisar@redhat.com --- Could you provide "dmidecode" command output from the machine where you observe the warning?
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |CPAN 54956
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #4 from Petr Pisar ppisar@redhat.com --- I finally got a new machine where I can reproduce this issue. I will provide a patched package shortly.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-8c042f403a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c042f403a
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-60c614805e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-60c614805e
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2022-c94627008d has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c94627008d
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-8c042f403a has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-8c042f403a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c042f403a
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-60c614805e has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-60c614805e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-60c614805e
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2022-c94627008d has been pushed to the Fedora EPEL 7 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c94627008d
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|ON_QA |CLOSED Fixed In Version| |perl-Parse-DMIDecode-0.03-3 | |0.fc36 Last Closed| |2022-06-22 00:46:46
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-8c042f403a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-Parse-DMIDecode-0.03-3 |perl-Parse-DMIDecode-0.03-3 |0.fc36 |0.fc36 | |perl-Parse-DMIDecode-0.03-6 | |.el7
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2022-c94627008d has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1661251
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-Parse-DMIDecode-0.03-3 |perl-Parse-DMIDecode-0.03-3 |0.fc36 |0.fc36 |perl-Parse-DMIDecode-0.03-6 |perl-Parse-DMIDecode-0.03-6 |.el7 |.el7 | |perl-Parse-DMIDecode-0.03-2 | |9.fc35
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-60c614805e has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org