When compiled with 4.1.1, the server works fine, but the client segfaults everytime. I switched to, and compile the package with, 3.4.6 and the client works fine, even if I switch compilers back to 4.1.1. The server has stayed compiled with 4.1.1 throughout. The segfault happens here: open("client-CfgMgr.xml", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 5 write(5, "<ClntCfgMgr>\n", 13) = 13 write(5, " <workdir></workdir>\n", 22) = 22 write(5, " <LogName>Client</LogName>\n", 28) = 28 write(5, " <LogLevel>8</LogLevel>\n", 25) = 25 write(5, " <duid length=\"14\">0x00:01:00:0"..., 71) = 71 write(5, " <ClntCfgIface name=\"eth1\" ifin"..., 41) = 41 write(5, " <!-- <RapidCommit/> -->\n", 28) = 28 write(5, " <!-- addresses -->\n", 23) = 23 write(5, " <groups count=\"1\">\n", 23) = 23 write(5, " <group>\n", 14) = 14 write(5, " <!-- prefered servers co"..., 42) = 42 write(5, " <!-- rejected servers co"..., 42) = 42 write(5, " <ia iaid=\"1\" t1=\"4294967"..., 64) = 64 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 7658 detached gimli ~ # emerge --info Portage 2.1-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-suspend2-r2 i686) ================================================================= System uname: 2.6.17-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.12.4 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1" PKGDIR="/home/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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gandalf/gentoo-portage" USE="x86 X aac aalib acl alsa apache2 apm arts artswrappersuid asf audiofile avi bash-completion berkdb bluetooth browserplugin bzip2 cairo cddb cdparanoia cdr cjk cli commercial crypt cups curl dbox2 dbus directfb divx4linux dlloader dts dvb dvd dvdr dvdread eds emboss encode esd ethereal exif extensions fam fbsplash ffmpeg flac foomaticdb frontendonly gdbm gencertdaily gif gimpprint glitz gnokii gphoto2 gpm gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib innodb iproute2 ipv6 irda isdnlog java javascript jpeg justify kde kdeenablefinal kdehiddenvisibility kdexdeltas kqemu lcms libcaca libg++ libwww lirc live logmail logrotate mad matroska mikmod mmx mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mplayer musicbrainz mysql mythtv ncurses network new-login nls noantlr noauthcram nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nsplugin nvidia nxclient offensive ogg oggvorbis opengl oss pam pcmcia pcre pdf pdflib perl pertty pic png ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection rtsp ruby samba sametime sdl session slang slp smartcard smime smp sms spell spl sql sqlite sse sse2 ssl subversion svg tcltk tcpd theora tidy tiff transcode truetype truetype-fonts trusted type1-fonts unicode usb visualization vnc vorbis wifi win32codecs xcomposite xine xml xml2 xmms xorg xrandr xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
0.4.2 is out, probably this one works
i tried the client of dibbler on amd64 with the latest versions 0.4.1, 0.5.0 and cvs dibbler-20070104. same here, client segfaults
Created attachment 109482 [details] emerge --info
0.6.0 is out. can anyone test it?
(In reply to comment #4) > 0.6.0 is out. can anyone test it? > 0.6.1 is out and works perfectly for me (#166013).
This should be assigned to toolchain, as its a compiler bug, but I can't change the CC list. The summary should also reflect the bug and be changed to: [GCC-4.1/wrong-code] net-misc/dibbler-0.4.1 compiles but client seg faults but I can't do that either :)
a package building OK with one version of gcc and not another does not necessarily mean it's bad-code generation ... but you're not a random schmo so i can roll with it has anyone tested gcc-4.2.x ?
> has anyone tested gcc-4.2.x ? no but in regards to comment #5 (which i also tested, gcc-4.1* and dibbler-0.6.1) i think this bug should be closed since newer versions doesn't seem to be affected
(In reply to comment #7) > has anyone tested gcc-4.2.x ? Yes, install of dibbler-0.6.1 went well. Relevant emerge --info: Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686) ================================================================= System uname: 2.6.23-gentoo-r9 i686 Pentium III (Coppermine) Timestamp of tree: Thu, 10 Apr 2008 19:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="-O2 -march=pentium3 -pipe" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" USE="-doc"
Everyone says it works, yay.