Bug 105877
Summary: | kudzu segfaults. See backtrace and hardware list below. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Patrice Dumas <patpertusus> | ||||||||
Component: | kudzu | Assignee: | Bill Nottingham <notting> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 9 | CC: | rvokal | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i386 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 1.1.43-1 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2004-02-04 21:26:12 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: | |||||||||||
Attachments: |
|
Description
Patrice Dumas
2003-09-28 22:10:41 UTC
Where does the RH9 version die? (matchNetDevices is new...) Here is a backtrace from kudzu-0.99.99 extracted from the src.rpm of redhat 9. [root@localhost root]# gdb -q ~pat/src/kudzu-0.99.99/kudzu (gdb) run Starting program: /home/pat/src/kudzu-0.99.99/kudzu Program received signal SIGSEGV, Segmentation fault. 0x4207a703 in strlen () from /lib/tls/libc.so.6 (gdb) bt #0 0x4207a703 in strlen () from /lib/tls/libc.so.6 #1 0x0805362b in getAlias (cf=0x80fb5b0, alias=0x0) at modules.c:309 #2 0x0805375f in isAliased (cf=0x80fb5b0, alias=0x0, module=0x80ff630 "unknown") at modules.c:327 #3 0x0804c67d in isConfigured (dev=0x80ff5c0) at hwconf.c:664 #4 0x0804f61f in configMenu (oldDevs=0x0, newDevs=0x80ff5c0, runFirst=1) at hwconf.c:1690 #5 0x08050390 in main (argc=1, argv=0xbfffdca4) at hwconf.c:1979 #6 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6 (gdb) Can you attach the output of lspci? [root@localhost root]# lspci 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 01) 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 00:02.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 07) 00:02.3 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 07) 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0) 00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06) 00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06) 00:11.0 Communication controller: PCTel Inc HSP MicroModem 56 (rev 01) 01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11) Created attachment 95822 [details]
modules configuration file
Created attachment 95823 [details]
options of the lo interface
Created attachment 95824 [details]
configuration file for the eth0 interface
The strace for kudzu-0.99 ends with: syslog(0x8, 0, 0x1) = 0 munmap(0x40100000, 270336) = 0 open("/etc/modules.conf", O_RDONLY) = 4 stat64("/etc/modules.conf", {st_mode=S_IFREG|0644, st_size=227, ...}) = 0 read(4, "alias usb-controller usb-ohci\nal"..., 227) = 227 close(4) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The strace for the kudzu cvs of about september getdents64(5, /* 0 entries */, 4096) = 0 close(5) = 0 open("/etc/sysconfig/network-scripts/ifcfg-eth0", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=37, ...}) = 0 read(5, "DEVICE=eth0\nBOOTPROTO=dhcp\nONBOO"..., 37) = 37 close(5) = 0 open("/etc/sysconfig/network-scripts/ifcfg-lo", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=254, ...}) = 0 read(5, "DEVICE=lo\nIPADDR=127.0.0.1\nNETMA"..., 254) = 254 close(5) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ I add my network-scripts files and module.conf The 'current CVS' segfault should be fixed in current CVS (it's also bug 106332). I did cvs up, compiled, but it still segfaults. However it doesn't seems to segfault at the same place. It now segfaults where kudzu-0.99 did. I guess the other bug hide this one... [root@localhost kudzu]# gdb -q ~pat/src/kudzu/kudzu (gdb) run Starting program: /home/pat/src/kudzu/kudzu Program received signal SIGSEGV, Segmentation fault. 0x4207a703 in strlen () from /lib/tls/libc.so.6 (gdb) backtrace #0 0x4207a703 in strlen () from /lib/tls/libc.so.6 #1 0x080554d7 in getAlias (cf=0x8105080, alias=0x0) at modules.c:309 #2 0x0805560b in isAliased (cf=0x8105080, alias=0x0, module=0x8108d40 "unknown") at modules.c:327 #3 0x0804cc4e in isConfigured (dev=0x8108cc8) at hwconf.c:685 #4 0x0804fcfd in configMenu (oldDevs=0x0, newDevs=0x8108cc8, runFirst=1) at hwconf.c:1662 #5 0x08050bc6 in main (argc=1, argv=0xbfffea24) at hwconf.c:1971 #6 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6 end of strace: open("/etc/sysconfig/network-scripts/ifcfg-lo", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=254, ...}) = 0 read(4, "DEVICE=lo\nIPADDR=127.0.0.1\nNETMA"..., 254) = 254 close(4) = 0 syslog(0x8, 0, 0x6) = 0 munmap(0x40300000, 348160) = 0 open("/etc/modules.conf", O_RDONLY) = 4 stat64("/etc/modules.conf", {st_mode=S_IFREG|0644, st_size=227, ...}) = 0 read(4, "alias usb-controller usb-ohci\nal"..., 227) = 227 close(4) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Fixed in CVS, now, really. At least, that particular one is. Yep, fixed now. No more segfault. Thanks ! I think you can close it. Will be fixed in 1.1.43-1. |