Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155679 - -fforce-addr breaks net-p2p/rtorrent
Summary: -fforce-addr breaks net-p2p/rtorrent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-19 07:13 UTC by parafin
Modified: 2006-11-20 01:41 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 parafin 2006-11-19 07:13:06 UTC
Both x86 and ~x86 versions (i think all versions) segfaults after minute of running with this output:
Caught Segmentation fault, dumping stack:
0 rtorrent [0x8058364]
1 rtorrent [0x8071437]
2 [0xb7efc420]
3 /usr/lib/libtorrent.so.9(_ZN7torrent11RequestList9has_indexEj+0x32) [0xb7e741d2]
4 /usr/lib/libtorrent.so.9(_ZN7torrent19PeerConnectionLeech22receive_finished_chunkEi+0x50) [0xb7e6cc90]
5 /usr/lib/libtorrent.so.9(_ZN7torrent14ConnectionList19send_finished_chunkEj+0x5a) [0xb7e4ae2a]
6 /usr/lib/libtorrent.so.9(_ZN7torrent15DownloadWrapper17receive_hash_doneENS_11ChunkHandleEPKc+0x413) [0xb7e5b193]
7 /usr/lib/libtorrent.so.9(_ZN7torrent9HashQueue5checkEb+0x10a) [0xb7e3f84a]
8 /usr/lib/libtorrent.so.9(_ZN7torrent9HashQueue4workEv+0x49) [0xb7e3fa29]
9 /usr/lib/libtorrent.so.9 [0xb7e403bd]
10 /usr/lib/libtorrent.so.9(_ZN7torrent7performEv+0xfc) [0xb7e2ee3c]
11 rtorrent [0x80bc06e]
12 rtorrent [0x805a2f5]
13 /lib/libc.so.6(__libc_start_main+0xd8) [0xb79d2878]
14 rtorrent(_ZN7torrent18set_max_open_filesEj+0x89) [0x8050b31]
Filtering -fforce-addr in libtorrent and rtorrent helps (at least with ~x86 version).
emerge --info:
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 21:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -msse3 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo ftp://mirror.aiya.ru/pub/gentoo/ ftp://ftp.chg.ru/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="x86 X adns alsa apache2 bash-completion berkdb bzip2 cdparanoia crypt cups dri dvd dvdr elibc_glibc encode expat fbcon flac foomaticdb ftp gdbm gif gpm gtk idn imap input_devices_keyboard input_devices_mouse ipv6 jpeg kernel_linux milter mmx mp3 mpeg mysql ncurses nls nptl nsplugin offensive ogg opengl pam pcre perl php pic png ppds python quicktime readline ruby sasl slang speex spell sse sse2 ssl svg tcpd threads tiff truetype unicode usb userland_GNU video_cards_i810 vorbis win32codecs xml xpm xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-19 07:43:07 UTC
x86 team, feel free to filter it out if you consider this flag supported.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-20 01:41:54 UTC
Filtered that in the latest testing version (0.10.4 and 0.6.4)