/usr/libexec/hald-probe-smbios crashes with SIGSEGV on RHEL6 x86_64

Solution Unverified - Updated -

Issue

It appears there is an issue with an uninitialized variable "error".
A patch for the same problem has been applied to hal probe-input.c (hal-0.5.15-no-segfault-probe-input.patch) but not to probe-smbios.c.

The problem appear only on x86_64. It is fixed upstream.

Can you provide a fix ?

(gdb) run
Starting program: /usr/libexec/hald-probe-smbios 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__libc_free (mem=0x71dd557f) at malloc.c:3709
3709    malloc.c: No such file or directory.
    in malloc.c
(gdb) up
#1  0x00000032d7811818 in dbus_error_free (error=0x7fffffffdd90)
    at dbus-errors.c:217
217       dbus_free (real->name);
(gdb) up
#2  0x00000000004012c8 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at probe-smbios.c:294
294     LIBHAL_FREE_DBUS_ERROR (&error);
(gdb)

Environment

  • Red Hat Enterprise Linux 6
  • x86_64 architecture
  • hal Hardware Abstraction Layer daemon

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.