Bug 189880

Summary: SIGSEGV in mcelog when using --dmi
Product: [Fedora] Fedora Reporter: Marcin Garski <mgarski>
Component: mcelogAssignee: Dave Jones <davej>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-17 20:26:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Garski 2006-04-25 14:20:42 UTC
Description of problem:
1. #gdb ./mcelog
2. (gdb) r --dmi
Program received signal SIGSEGV, Segmentation fault.
0x0000000000402f59 in opendmi () at dmi.c:184
184                     if (!memcmp(a->str, "_DMI_", 5) &&

3. (gdb) bt
#0  0x0000000000402f59 in opendmi () at dmi.c:184
#1  0x0000000000401c88 in main (ac=2, av=0x7fffff8fad90) at mcelog.c:345

Version-Release number of selected component (if applicable):
mcelog-0.6-1.16

How reproducible:
Always

Steps to Reproduce:
1. See above

I have reported this bug upstream, without any reply, so I here file a bug.
If you need some more info or debug just write me :)

Comment 1 Marcin Garski 2006-05-17 20:26:25 UTC
Upstream bug was without reply, but with new 0.7 release bug has been fixed. As
we can read in CHANGES:
"Fix SMBIOS anchor scan to work on more machines and don't crash when no anchor
found."

Indeed mcelog don't SIGSEGV any more. I'll close this bug as UPSTREAM, but
please update mcelog, at least in devel tree.

Comment 2 Dave Jones 2006-05-17 20:51:30 UTC
heh, I just finished rebasing the package to 0.7
will be out in a day or two, for FC4 & FC5. Will be in devel tomorrow.