Bug 179000 - Segmentation fault in /usr/sbin/module_upgrade
Segmentation fault in /usr/sbin/module_upgrade
Product: Fedora
Classification: Fedora
Component: kudzu (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2006-01-26 06:54 EST by Dominik 'Rathann' Mierzejewski
Modified: 2014-03-16 22:57 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.2.23-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-26 11:01:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dominik 'Rathann' Mierzejewski 2006-01-26 06:54:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
When installing kernel-2.6.15-1.1871_FC5.i686 (along currently installed kernel-2.6.15-1.1863_FC5) I get:
/var/tmp/rpm-tmp.18047: line 1: 30955 Segmentation fault      /usr/sbin/module_upgrade 2.6.15-1.1871_FC5

I've traced it down to %post scriptlet, and running /usr/sbin/module_upgrade 2.6.15-1.1871_FC5 after the kernel RPM gets installed exhibits the same behaviour.

GDB session below:
# gdb /usr/sbin/module_upgrade
GNU gdb Red Hat Linux (
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run 2.6.15-1.1871_FC5
Starting program: /usr/sbin/module_upgrade 2.6.15-1.1871_FC5
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xadf000

Program received signal SIGSEGV, Segmentation fault.
0x080503d5 in pciProbe (probeClass=CLASS_UNSPEC, probeFlags=3, devlist=Variable "devlist" is not available.
) at pci.c:475
475                     if (dev->vendorId == 0x10de && !strcmp(dev->driver,"forcedeth")
(gdb) bt
#0  0x080503d5 in pciProbe (probeClass=CLASS_UNSPEC, probeFlags=3, devlist=Variable "devlist" is not available.
) at pci.c:475
#1  0x0804df66 in probeDevices (probeClass=CLASS_UNSPEC, probeBus=2050, probeFlags=3) at kudzu.c:806
#2  0x0804a79d in main (argc=Cannot access memory at address 0xa
) at module_upgrade.c:169
#3  0x00be56b4 in __libc_start_main (main=0x804a398 <main>, argc=2, ubp_av=0xbfc60874, init=0x805fc38 <__libc_csu_init>,
    fini=0x805fc30 <__libc_csu_fini>, rtld_fini=0x350dd0 <_dl_fini>, stack_end=0xbfc6086c) at libc-start.c:231
#4  0x0804a021 in _start ()
(gdb) bt full
#0  0x080503d5 in pciProbe (probeClass=CLASS_UNSPEC, probeFlags=3, devlist=Variable "devlist" is not available.
) at pci.c:475
        x_drv = 0x8c3bb88 "nv"
        config = "\uffff\020\022\003\a\000\uffff\002\uffff\000\000\003\000\uffff\000\000\000\000\000\uffff\b\000\000\uffff", '\0' <repeats 28 times>, "`\000\000\000\000\000\000\000\t\001\005\001", '\0' <repeats 191 times>
        subvend = Variable "subvend" is not available.

I have installed the following debuginfo RPMs:
rpm -qa '*-debuginfo'

Should I install any others?

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

How reproducible:

Steps to Reproduce:
1. rpm -ivh /var/cache/yum/development/packages/kernel-2.6.15-1.1871_FC5.i686.rpm

Actual Results:  /var/tmp/rpm-tmp.18047: line 1: 30955 Segmentation fault      /usr/sbin/module_upgrade 2.6.15-1.1871_FC5

Expected Results:  No segfault should have occured.

Additional info:
Comment 1 Dominik 'Rathann' Mierzejewski 2006-01-26 07:22:00 EST
Just in case, I've retried without binary nvidia driver loaded, same result.
Comment 2 Bill Nottingham 2006-01-26 11:01:21 EST
This is fixed in today's rawhide. 
Comment 3 Bill Nottingham 2006-01-26 11:03:13 EST
Erm, tomorrows.

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