Bug 583867 - Assertion when decoding DMI type 0x08 on pogolinux-1.rhts.eng.rdu.redhat.com
Summary: Assertion when decoding DMI type 0x08 on pogolinux-1.rhts.eng.rdu.redhat.com
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-dmidecode
Version: 5.5
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Roman Rakus
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 586344 619732 630095 (view as bug list)
Depends On:
Blocks: 596133 596264 621146 1058872
TreeView+ depends on / blocked
 
Reported: 2010-04-20 04:19 UTC by Jan Hutař
Modified: 2018-11-30 19:56 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 596264 (view as bug list)
Environment:
Last Closed: 2013-09-23 11:01:13 UTC


Attachments (Terms of Use)
dmidecode output on that system (19.26 KB, text/plain)
2010-04-20 04:21 UTC, Jan Hutař
no flags Details
Patch fixing the assert() issue (3.02 KB, patch)
2010-04-20 11:16 UTC, David Sommerseth
no flags Details | Diff

Description Jan Hutař 2010-04-20 04:19:03 UTC
Description of problem:
I can not register to RHN pogolinux-1.rhts.eng.rdu.redhat.com.


Version-Release number of selected component (if applicable):
Tested with both versions:
rhn-client-tools-0.4.20-33.el5
rhn-client-tools-0.4.20-33.el5_5.1


How reproducible:
2 of 2 attempts


Steps to Reproduce:
1. rhnreg_ks --activationkey=518f549706ddc643ef969686dee6de1f --force
2. rhn_register


Actual results:
# grep serverURL= /etc/sysconfig/rhn/up2date
serverURL=https://xmlrpc.rhn.errata.stage.redhat.com/XMLRPC
# rhnreg_ks --activationkey=518f549706ddc643ef969686dee6de1f --force
python: src/dmidecode.c:4083: dmi_decode: Assertion `sub_n != ((void *)0)' failed.
Aborted
# echo $?
134

rhn_register shows me this error as well


Expected results:
Should work as expected.

Comment 2 Jan Hutař 2010-04-20 04:21:50 UTC
Created attachment 407721 [details]
dmidecode output on that system

dmidecode-2.10-3.el5
python-dmidecode-3.10.8-4.el5

Comment 3 Milan Zázrivec 2010-04-20 08:27:36 UTC
David, any idea what might be causing this error?

Thanks.

Comment 4 David Sommerseth 2010-04-20 11:16:07 UTC
Created attachment 407791 [details]
Patch fixing the assert() issue

I've found the error and have gotten the fix pushed upstream.  I've moved this bug over to python-dmidecode, as this is where the error was.

I'll prepare a new python-dmidecode package for RHEL5.5 and RHEL6 when a new release comes - which should be rather soon.

Attached a patch with the fix itself.

Comment 5 Fedora Update System 2010-04-30 09:20:56 UTC
python-dmidecode-3.10.12-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/python-dmidecode-3.10.12-1.fc12

Comment 6 Fedora Update System 2010-04-30 09:21:21 UTC
python-dmidecode-3.10.12-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-dmidecode-3.10.12-1.fc13

Comment 7 Fedora Update System 2010-04-30 09:22:46 UTC
python-dmidecode-3.10.12-1.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/python-dmidecode-3.10.12-1.el4

Comment 8 Fedora Update System 2010-04-30 09:32:41 UTC
python-dmidecode-3.10.12-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/python-dmidecode-3.10.12-1.fc11

Comment 11 Fedora Update System 2010-05-10 23:51:55 UTC
python-dmidecode-3.10.12-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2010-05-11 19:38:37 UTC
python-dmidecode-3.10.12-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2010-05-18 21:49:48 UTC
python-dmidecode-3.10.12-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 David Sommerseth 2010-05-21 13:44:01 UTC
*** Bug 586344 has been marked as a duplicate of this bug. ***

Comment 16 Fedora Update System 2010-05-26 00:02:37 UTC
python-dmidecode-3.10.12-1.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 David Sommerseth 2010-06-04 08:05:55 UTC
Upstream patch for the SEGV fault is accepted and python-dmidecode-3.10.13 was released yesterday.  Awaiting packaging of new version.  That package will fix both this issue and the SEGV issue.

Comment 26 Milan Zázrivec 2010-07-30 11:22:44 UTC
*** Bug 619732 has been marked as a duplicate of this bug. ***

Comment 29 Pavel Novotny 2010-09-07 12:57:30 UTC
*** Bug 630095 has been marked as a duplicate of this bug. ***


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