Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159733 - sys-apps/hwsetup segfaults since update to pciutils-2.2.3-r2
Summary: sys-apps/hwsetup segfaults since update to pciutils-2.2.3-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
: 160719 (view as bug list)
Depends on:
Blocks: 159430
  Show dependency tree
 
Reported: 2007-01-02 10:12 UTC by Carsten Lohrke (RETIRED)
Modified: 2007-04-17 19:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2007-01-02 10:12:45 UTC
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
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-05 11:43:43 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 17:26:32 UTC
*** Bug 160719 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 17:27:01 UTC
(In reply to comment #1)
> This should be fixed in hwsetup 1.2 which was just added to the tree.

Not really...
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-07 18:45:55 UTC
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.
Comment 5 George Kargiotakis 2007-01-07 19:03:50 UTC
(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.

Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2007-01-07 21:40:52 UTC
(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.
Comment 7 George Kargiotakis 2007-01-07 22:03:19 UTC
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.
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2007-01-07 22:06:51 UTC
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
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-08 21:23:50 UTC
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.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-31 18:02:33 UTC
Can you see if this is fixed now that I've updated libkudzu, too?
Comment 11 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-01 15:18:54 UTC
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.
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2007-02-02 02:08:47 UTC
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 ()
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-09 22:21:57 UTC
Carsten:  This is after removing hwsetup and adding it back?
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-15 23:41:40 UTC
I'm pretty sure I did so, Chris. Trying to reproduce, I failed. New image with glibc 2.5 this time, so... *shrug*
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-16 13:29:26 UTC
OK.  So it appears to be working now, then?
Comment 16 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-17 17:07:16 UTC
That's what I wanted to say, Chris. :)
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-17 19:33:13 UTC
Cool.  I'll mark this as FIXED then and assume it was something local.  Thanks again.