Bug 159733 - sys-apps/hwsetup segfaults since update to pciutils-2.2.3-r2
|
Bug#:
159733
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: livecd@gentoo.org
|
Reported By: carlo@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sys-apps/hwsetup segfaults since update to pciutils-2.2.3-r2
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-01-02 10:12 0000
|
Recent pciutils doesn't provide a shared lib anymore. While hwsetup builds fine
anyways,...
iglu ~ # hwsetup
Trying method 1......using /sys/bus/pci...OK
Decided to use Linux-sysfs
Segmentation fault
With pciutils-2.2.0-r1 it works fine.
Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.6
Last Sync: Tue, 02 Jan 2007 13:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache: 0.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fforce-addr -mfpmath=sse -funit-at-a-time
-msse3 -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe -fforce-addr -mfpmath=sse -funit-at-a-time
-msse3 -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect cvs digest distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test
userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after
--stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi activefilter alsa apache2 audiofile berkdb
bitmap-fonts bzip2 cairo cddb cdparanoia cdr chroot cli cracklib crypt css cups
curl dbus dga dlloader doc dvd dvdr eds emacs emboss encode exif faad fam
ffmpeg firebird firefox flac fontconfig fortran gcl gd gif glut gphoto2 gpm
graphviz hal hbci iconv idl idn imagemagick imap ipv6 isdnlog jack javascript
jpeg jpeg2k kde kdehiddenvisibility kipi ladcca lcms ldap libg++ lirc
lm_sensors lzo mad maildir matroska mbox md5sum mmx mmxext mng mp3 mpeg
musepack nas ncurses network nls nptl nptlonly ofx ogg openexr opengl pam pcap
pcre perl pg-hier php png postgres ppds pppd python qt3 qt4 quicktime readline
reflection rtc ruby samba sasl scanner sdl session skey slp snmp sox spell spl
sse sse2 ssl subversion svg svga tcpd tetex theora threads tiff transcode
truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf x86
xcomposite xerces xine xml xml2 xorg xv xvid yaz zeroconf zlib"
ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia
vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS
This should be fixed in hwsetup 1.2 which was just added to the tree. I'm
planning on taking 1.2 on the fast track to stable since it will be needed for
2007.0's release.
*** Bug 160719 has been marked as a duplicate of this bug. ***
(In reply to comment #1)
> This should be fixed in hwsetup 1.2 which was just added to the tree.
Not really...
Jesus... thanks for the verbose information, Jakub. It works here, so how
about you take the time to actually give something usable as a response for a
change?
I'm marking this as FIXED. If someone is still having this problem and wants
to actually be *useful* and post some results or more information, then feel
free to REOPEN it. Jakub, feel free to never look at this bug, again. Your
input is completely worthless.
(In reply to comment #4)
> Jesus... thanks for the verbose information, Jakub. It works here, so how
> about you take the time to actually give something usable as a response for a
> change?
>
> I'm marking this as FIXED. If someone is still having this problem and wants
> to actually be *useful* and post some results or more information, then feel
> free to REOPEN it. Jakub, feel free to never look at this bug, again. Your
> input is completely worthless.
>
http://bugs.gentoo.org/show_bug.cgi?id=160719
what more do you want ? Tell me and I can provide you with it.
(In reply to comment #4)
> It works here, so how about you take the time to actually give something usable as a response for a change?
How about closing as need info and asking for that? How can anyone know that
you can't reproduce a problem? Both closing a bug as fixed because of "can't
reproduce and I'll give a fart" and "in testing, but stable remains broken for
a while" is not very responsible. And this isn't meant as personal attack
Chris. I did, do and will do treat bug reports incorrectly every know and then
as well.
(gdb) run
Starting program: /usr/sbin/hwsetup
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Trying method 1......using /sys/bus/pci...OK
Decided to use Linux-sysfs
Program received signal SIGSEGV, Segmentation fault.
0x08062367 in s390NewDevice ()
s390 on x86. Nice. Looks like the source of the problem is libkudzu.
I confirm that libkudzu is the problem (with me at least). A re-emerge with the
order of:
1) pciutils
2) libkudzu
3) hwsetup
fixes the problem (for me).
I think that the source of the problem is that the libkudzu ebuild needs
(somehow) to be re-emerged after the new pciutils and before hwsetup. Lately
pciutils went from 2.2.0 to 2.2.3 and hwsetup from 1.1 to 1.2 but no version
changes happened to libkudzu so it was not re-emerged before hwsetup.
So is this a case of pciutils changing the API without changing the version of
the .so? Or am I just completely off-base? :P
This would explain why I was unable to reproduce it. All of my tests are with
new installs/builds and not having this stuff installed previously.
Anyway, I'm looking into a new version of libkudzu (bug #131715) which may
resolve this.
George, Carsten, thanks for actually being *helpful* and assisting so we can
come to a resolution. I apologize for my behavior, but I get sick just getting
responses from people that aren't even involved in the issue that have no real
feedback in them. You guys have been great, though.
Can you see if this is fixed now that I've updated libkudzu, too?
I can confirm that hwsetup works properly with sys-apps/pciutils-2.2.4 and
libkudzu-1.2.41. I tried with the pciutils version in question, but libkudzu
doesn't seem to want to build against it.
updated, to get another segfault...
(gdb) run
Starting program: /usr/sbin/hwsetup
Trying method 1......using /sys/bus/pci...OK
Decided to use Linux-sysfs
Program received signal SIGSEGV, Segmentation fault.
0x08065cf7 in pci_read_block ()
Carsten: This is after removing hwsetup and adding it back?
I'm pretty sure I did so, Chris. Trying to reproduce, I failed. New image with
glibc 2.5 this time, so... *shrug*
OK. So it appears to be working now, then?
That's what I wanted to say, Chris. :)
Cool. I'll mark this as FIXED then and assume it was something local. Thanks
again.