Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61534 - BitchX + IPv6 = segfault
Summary: BitchX + IPv6 = segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 10:15 UTC by Kingsly John
Modified: 2004-08-24 12:15 UTC (History)
0 users

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 Kingsly John 2004-08-24 10:15:13 UTC
Bitchx(net-irc/bitchx-1.1-r1) segfaults when I try to  connect to irc.ipv6.eu.freenode.net 

It works fine on ipv4... and my ipv6 connection on the box works with other apps.

Here are the last few lines from the output of strace

socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6
connect(6, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "2001:1418:13:1::25", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(6, {sa_family=AF_INET6, sin6_port=htons(32776), inet_pton(AF_INET6, "3ffe:bc0:UVWX:1:20c:XYZZ:PQRS:HIJK", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(6)                                = 0
open("/etc/mtab", O_RDONLY)             = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=401, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4039b000
read(6, "/dev/hda2 / ext3 rw 0 0\nnone /pr"..., 4096) = 401
close(6)                                = 0
munmap(0x4039b000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4039b000
read(6, "MemTotal:       515340 kB\nMemFre"..., 1024) = 572
close(6)                                = 0
munmap(0x4039b000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Wegener gentoo-dev 2004-08-24 10:49:19 UTC
Could you please supply the output of emerge --info.
Comment 2 Kingsly John 2004-08-24 11:12:57 UTC
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.7
-gentoo-r3)
=================================================================
System uname: 2.6.7-gentoo-r3 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb cdr crypt cups directfb dvd 
encode esd foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg ldap li
bg++ libwww lirc mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis o
pengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang sp
ell sse ssl svga tcltk tcpd theora tiff truetype v4l2 x86 xml xml2 xv zlib"

Comment 3 Kingsly John 2004-08-24 12:15:37 UTC
I upgraded to 

sys-libs/glibc-2.3.3.20040420-r1

And the problem has disappeared.