Bug 168689

Summary: kudzu segfaults (-p -c net)
Product: [Fedora] Fedora Reporter: Frank Arnold <frank>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-19 18:32:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Frank Arnold 2005-09-19 16:01:28 UTC
First noticed it during kernel update. /usr/sbin/module_upgrade was segfaulting.
It's also reproducible with /usr/sbin/kudzu -p -c net (similar backtrace).

Version: kudzu-1.2.5-1 (ppc, but should apply for all archs)

Backtrace:

Starting program: /usr/sbin/kudzu -p -c net

Program received signal SIGSEGV, Segmentation fault.
0x0f65ef64 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x0f65ef64 in ?? () from /lib/libc.so.6
#1  0x10009e40 in matchNetDevices (devlist=0x10105530) at kudzu.c:1020
#2  0x28084444 in ?? ()
#3  0x1000a8d0 in probeDevices (probeClass=CLASS_UNSPEC, probeBus=Variable
"probeBus" is not available.
)
    at kudzu.c:848
#4  0x24002402 in ?? ()
#5  0x10006eac in main (argc=Variable "argc" is not available.
) at hwconf.c:1373
#6  0x28000442 in ?? ()
#7  0x0f5fbf64 in generic_start_main (main=0x10006680 <main>, argc=4,
    ubp_av=0x7fc658a4, auxvec=0x7fc65950, init=0x1001dcf0 <__libc_csu_init>,
    fini=Variable "fini" is not available.
) at ../sysdeps/generic/libc-start.c:231
#8  0x0f5fc114 in __libc_start_main (argc=268475592, ubp_av=0x73756e67,
ubp_ev=Variable "ubp_ev" is not available.

) at ../sysdeps/powerpc/elf/libc-start.c:96
#9  0x00000000 in ?? ()


Last lines of strace:

open("/etc/sysconfig/network-scripts",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 8
fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
getdents64(8, /* 36 entries */, 4096)   = 1176
getdents64(8, /* 0 entries */, 4096)    = 0
close(8)                                = 0
open("/etc/modprobe.conf", O_RDONLY)    = 8
stat64("/etc/modprobe.conf", {st_mode=S_IFREG|0644, st_size=442, ...}) = 0
read(8, "alias eth0 sungem\nalias snd-card"..., 442) = 442
close(8)                                = 0
open("/etc/sysconfig/network-scripts/ifcfg-eth0", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=225, ...}) = 0
read(8, "DEVICE=eth0\nBOOTPROTO=none\nBROAD"..., 225) = 225
close(8)                                = 0
open("/etc/sysconfig/network-scripts/ifcfg-lo", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=254, ...}) = 0
read(8, "DEVICE=lo\nIPADDR=127.0.0.1\nNETMA"..., 254) = 254
close(8)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 11042 detached

Comment 1 Bill Nottingham 2005-09-19 18:32:42 UTC
Fixed in 1.2.7-1.