Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112402 - BitchX segfaults
Summary: BitchX segfaults
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
: 73061 (view as bug list)
Depends on:
Blocks: 155627
  Show dependency tree
 
Reported: 2005-11-13 04:41 UTC by malcom
Modified: 2007-04-11 14:05 UTC (History)
5 users (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 malcom 2005-11-13 04:41:37 UTC
With starting BitchX without any options and not having any .config files,
BitchX segfaults

Reproducible: Always
Steps to Reproduce:
1.Install BitchX
2.remove all BitchX .config files
3.Execute BitchX

Actual Results:  
SegFault


emerge info
***********

Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo x86_64)
=================================================================
System uname: 2.6.14-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apm avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt
cups curl directfb dvd dvdr dvdread eds emboss emul-linux-x86 encode esd fam
foomaticdb fortran ftp gif gnome gpm gstreamer gtk gtk2 hal howl icq imagemagick
imlib ipv6 jpeg kde lm_sensors lzw lzw-tiff mozilla mp3 mpeg ncurses nls opengl
pam pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tiff
truetype-fonts type1-fonts udev usb userlocales vcd xml2 xmms xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

strace BitchX
*************
execve("/usr/bin/BitchX", ["BitchX"], [/* 49 vars */]) = 0
uname({sys="Linux", node="picard", ...}) = 0
brk(0)                                  = 0x66a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaac0000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib64/tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/X11R6/lib64/tls/x86_64", 0x7ffffff19f90) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib64/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib64/tls", 0x7ffffff19f90) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib64/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat("/usr/X11R6/lib64/x86_64", 0x7ffffff19f90) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib64", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
open("/usr/X11R6/lib/tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat("/usr/X11R6/lib/tls/x86_64", 0x7ffffff19f90) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib/tls", 0x7ffffff19f90) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib/x86_64", 0x7ffffff19f90) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=51804, ...}) = 0
mmap(NULL, 51804, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac1000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\17\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=11280, ...}) = 0
mmap(NULL, 1056984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaaabc1000
mprotect(0x2aaaaabc3000, 1048792, PROT_NONE) = 0
mmap(0x2aaaaacc2000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2aaaaacc2000
close(3)                                = 0
open("/usr/X11R6/lib64/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\373\1"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=378512, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaacc4000
mmap(NULL, 1419512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaaacc5000
mprotect(0x2aaaaad11000, 1108216, PROT_NONE) = 0
mmap(0x2aaaaae11000, 57344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4c000) = 0x2aaaaae11000
mmap(0x2aaaaae1f000, 2296, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaae1f000
close(3)                                = 0
open("/usr/X11R6/lib64/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\312"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0555, st_size=222352, ...}) = 0
mmap(NULL, 1269864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaaae20000
mprotect(0x2aaaaae52000, 1065064, PROT_NONE) = 0
mmap(0x2aaaaaf51000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x2aaaaaf51000
mmap(0x2aaaaaf56000, 104, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaf56000
close(3)                                = 0
open("/usr/X11R6/lib64/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240>\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=570832, ...}) = 0
mmap(NULL, 1593832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaaaf57000
mprotect(0x2aaaaafdc000, 1049064, PROT_NONE) = 0
mmap(0x2aaaab0db000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0x2aaaab0db000
close(3)                                = 0
open("/usr/X11R6/lib64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\f\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=23248, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaab0dd000
mmap(NULL, 1257888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab0de000
mprotect(0x2aaaab0e3000, 1237408, PROT_NONE) = 0
mmap(0x2aaaab1e2000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2aaaab1e2000
mmap(0x2aaaab1e4000, 184736, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab1e4000
close(3)                                = 0
open("/usr/X11R6/lib64/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\370"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0555, st_size=1310536, ...}) = 0
mmap(NULL, 2346776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab212000
mprotect(0x2aaaab32d000, 1187608, PROT_NONE) = 0
mmap(0x2aaaab42c000, 126976, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11a000) = 0x2aaaab42c000
mmap(0x2aaaab44b000, 16152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab44b000
close(3)                                = 0
open("/usr/X11R6/lib64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\315"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1256224, ...}) = 0
mmap(NULL, 2250120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab44f000
mprotect(0x2aaaab56b000, 1086856, PROT_NONE) = 0
mmap(0x2aaaab66a000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11b000) = 0x2aaaab66a000
mmap(0x2aaaab670000, 17800, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab670000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaab675000
mprotect(0x2aaaab66a000, 12288, PROT_READ) = 0
mprotect(0x2aaaaabbf000, 4096, PROT_READ) = 0
munmap(0x2aaaaaac1000, 51804)           = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\233\242=\315\4\310\241\346", 8) = 8
close(3)                                = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaac1000
write(1, "BitchX - Based on EPIC Software "..., 57BitchX - Based on EPIC
Software Labs epic ircII (1998).
) = 57
write(1, "Version (BitchX-1.1-final) -- Da"..., 48Version (BitchX-1.1-final) --
Date (20040326).
) = 48
getpid()                                = 25084
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(0)                                  = 0x66a000
brk(0x68b000)                           = 0x68b000
readlink("/proc/self/fd/0", "/dev/pts/3", 4095) = 10
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/3", 4095) = 10
write(1, "Process [25084]\n", 16Process [25084]
)       = 16
getuid()                                = 1000
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT
(No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT
(No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=503, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaac2000
read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 503
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2aaaaaac2000, 4096)            = 0
open("/usr/X11R6/lib64/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/X11R6/lib/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=51804, ...}) = 0
mmap(NULL, 51804, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac2000
close(3)                                = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\26\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=32000, ...}) = 0
mmap(NULL, 1078536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab676000
mprotect(0x2aaaab67d000, 1049864, PROT_NONE) = 0
mmap(0x2aaaab77c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x2aaaab77c000
close(3)                                = 0
open("/usr/X11R6/lib64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 H\0\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=84816, ...}) = 0
mmap(NULL, 1137416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab77e000
mprotect(0x2aaaab791000, 1059592, PROT_NONE) = 0
mmap(0x2aaaab890000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x2aaaab890000
mmap(0x2aaaab892000, 6920, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab892000
close(3)                                = 0
munmap(0x2aaaaaac2000, 51804)           = 0
open("/usr/X11R6/lib64/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=51804, ...}) = 0
mmap(NULL, 51804, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac2000
close(3)                                = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340$\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=40496, ...}) = 0
mmap(NULL, 1086648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab894000
mprotect(0x2aaaab89d000, 1049784, PROT_NONE) = 0
mmap(0x2aaaab99c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x2aaaab99c000
close(3)                                = 0
open("/usr/X11R6/lib64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/X11R6/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 #\0\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=44384, ...}) = 0
mmap(NULL, 1090856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aaaab99e000
mprotect(0x2aaaab9a8000, 1049896, PROT_NONE) = 0
mmap(0x2aaaabaa7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x2aaaabaa7000
close(3)                                = 0
munmap(0x2aaaaaac2000, 51804)           = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1886, ...}) = 0
mmap(NULL, 1886, PROT_READ, MAP_SHARED, 3, 0) = 0x2aaaaaac2000
lseek(3, 1886, SEEK_SET)                = 1886
munmap(0x2aaaaaac2000, 1886)            = 0
close(3)                                = 0
uname({sys="Linux", node="picard", ...}) = 0
access("/usr/local/bin/gunzip", F_OK)   = -1 ENOENT (No such file or directory)
access("/usr/bin/gunzip", F_OK)         = -1 ENOENT (No such file or directory)
access("/bin/gunzip", F_OK)             = 0
access("/usr/local/bin/uncompress", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/uncompress", F_OK)     = -1 ENOENT (No such file or directory)
access("/bin/uncompress", F_OK)         = -1 ENOENT (No such file or directory)
access("/opt/bin/uncompress", F_OK)     = -1 ENOENT (No such file or directory)
access("/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4/uncompress", F_OK) = -1 ENOENT
(No such file or directory)
access("/opt/ati/bin/uncompress", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/qt/3/bin/uncompress", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/bin/bunzip2", F_OK)  = -1 ENOENT (No such file or directory)
access("/usr/bin/bunzip2", F_OK)        = -1 ENOENT (No such file or directory)
access("/bin/bunzip2", F_OK)            = 0
access("/usr/lib64/bx/ircII.servers", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib64/bx/ircII.servers", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib64/bx/ircII.servers.gz", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.gz", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.Z", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.Z", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.z", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.z", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.bz2", F_OK) = -1 ENOENT (No such file or
directory)
access("/usr/lib64/bx/ircII.servers.bz2", F_OK) = -1 ENOENT (No such file or
directory)
access("/home/malcom/.ircservers", F_OK) = -1 ENOENT (No such file or directory)
access("/home/malcom/.ircservers", F_OK) = -1 ENOENT (No such file or directory)
access("~/.ircservers.gz", F_OK)        = -1 ENOENT (No such file or directory)
access("./~/.ircservers.gz", F_OK)      = -1 ENOENT (No such file or directory)
access("~/.ircservers.Z", F_OK)         = -1 ENOENT (No such file or directory)
access("./~/.ircservers.Z", F_OK)       = -1 ENOENT (No such file or directory)
access("~/.ircservers.z", F_OK)         = -1 ENOENT (No such file or directory)
access("./~/.ircservers.z", F_OK)       = -1 ENOENT (No such file or directory)
access("~/.ircservers.bz2", F_OK)       = -1 ENOENT (No such file or directory)
access("./~/.ircservers.bz2", F_OK)     = -1 ENOENT (No such file or directory)
brk(0x6ac000)                           = 0x6ac000
brk(0x69a000)                           = 0x69a000
brk(0x6bc000)                           = 0x6bc000
brk(0x6a7000)                           = 0x6a7000
brk(0x6c9000)                           = 0x6c9000
brk(0x6ab000)                           = 0x6ab000
brk(0x6cc000)                           = 0x6cc000
brk(0x6ac000)                           = 0x6ac000
brk(0x6ce000)                           = 0x6ce000
brk(0x6ad000)                           = 0x6ad000
brk(0x6cf000)                           = 0x6cf000
brk(0x6ad000)                           = 0x6ad000
access("/home/malcom/.BitchX/screens", F_OK) = 0
stat("/home/malcom/.BitchX/screens", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
uname({sys="Linux", node="picard", ...}) = 0
write(1, "Using terminal type [xterm]\n", 28Using terminal type [xterm]
) = 28
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/home/malcom/.terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or
directory)
access("/etc/terminfo/x/xterm", R_OK)   = 0
open("/etc/terminfo/x/xterm", O_RDONLY) = 3
read(3, "\32\0010\0&\0\17\0\235\1&\5", 12) = 12
read(3, "xterm|xterm terminal emulator (X"..., 48) = 48
read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 38) = 38
read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"..., 30) = 30
read(3, "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 826) = 826
read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1318) = 1318
read(3, "\1\0\0\0\v\0\27\0\200\0", 10)  = 10
read(3, "\1", 1)                        = 1
read(3, "\0", 1)                        = 1
read(3, "\377\377\0\0\7\0\16\0\25\0\34\0#\0*\0001\0008\0?\0\0\0"..., 46) = 46
read(3, "\33[1;2B\0\33[1;5B\0\33[1;6B\0\33[1;5D\0\33[1;"..., 128) = 128
close(3)                                = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=37, ws_col=133, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x479c60, [HUP], SA_RESTORER|SA_RESTART, 0x2aaaab47e810},
{SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x479c60, [TERM], SA_RESTORER|SA_RESTART,
0x2aaaab47e810}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x479d70, [INT], SA_RESTORER|SA_INTERRUPT,
0x2aaaab47e810}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x479c80, [CHLD], SA_RESTORER|SA_RESTART,
0x2aaaab47e810}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x479c90, [ALRM], SA_RESTORER|SA_INTERRUPT,
0x2aaaab47e810}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x479de0, [USR1], SA_RESTORER|SA_RESTART,
0x2aaaab47e810}, {SIG_DFL}, 8) = 0
ioctl(0, TIOCGWINSZ, {ws_row=37, ws_col=133, ws_xpixel=0, ws_ypixel=0}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
write(1, "\33[H\33[2J\33[1;1H\33[1;1H\33[K\33[K\n", 26

) = 26

)                = 5
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4

)    = 13"\33[K\n", 4

)                = 54
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 47
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 47
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
write(1, "\33[K\n", 4
)                  = 4
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Comment 1 Andrew MacKenzie 2006-03-20 19:15:58 UTC
I get the same result with BitchX 1.1-r1 and 1.1-r2 on AMD64.

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/amackenz/mp3/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib aim alsa apache2 audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bzip2 cdb cdparanoia cdr cli crypt ctype cups curl dba dga directfb dri dvd dvdr dvdread eds emboss encode esd ethereal exif expat faad fam fastbuild ffmpeg foomaticdb force-cgi-redirect ftp gd gdbm gif gimpprint glut gmp gnome gpg gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 irc jabber java jpeg kde kerberos lcms ldap libwww lzw lzw-tiff mad matroska memlimit mhash mjpeg mng motif mp3 mpeg msn mysql mythtv ncurses network nls nntp nptl nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png posix python qt quicktime readline real recode rss ruby samba sdl session simplexml slang snmp soap sockets speex spell spl sql ssl stencil-buffer subversion svg tcpd tetex theora tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb v4l vim-with-x vorbis wxgtk1 wxwindows xine xinerama xml xml2 xmms xpm xrandr xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Matt Weber 2006-03-21 10:30:51 UTC
I too am experiencing this bug. My strace looks exactly like yours, however I do not think this is a config file problem. The Seg Fault on start up only occurs when I am SSH'ing into Gentoo remotely and then running BitchX. Otherwise it runs just fine on my local machine.

I'm guessing it has something to do with the terminal and what BitchX thinks it is. I'm guessing this because running BitchX -d (forcing a dumb terminal), fixes the problem.

Looking at the strace it is sensing I am using xterm, which is more or less correct.

Also note that the Seg Fault on start up isn't restriced to this user account.

Either way the issue is with how BitchX is treating the terminal..I'll look into that.
Comment 3 SpanKY gentoo-dev 2006-09-06 00:02:19 UTC
i used to have this problem but now with bitchx-1.1-r3, it seems to work ...
Comment 4 Andreas Westin 2006-09-09 09:42:12 UTC
It's the opposite for me, bitchx-1.1-r3 segfaults and -r2 works.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 03:49:17 UTC
*** Bug 73061 has been marked as a duplicate of this bug. ***
Comment 6 Markus Ullmann (RETIRED) gentoo-dev 2006-10-20 05:34:14 UTC
have you checked that your dynamic linking is consistent with revdep-rebuild? Found a note about that on the mailinglists
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2006-10-26 23:58:49 UTC
amd64: can someone of you help tracking this down?
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2006-10-27 02:28:14 UTC
I can reproduce it with 1.1-r3 (only one i tried). It crashes in 

#0  0x00000000004fda25 in BX_cursor_in_display (w=0x6dcd48) at screen.c:1381

which is:
    w->screen->cursor_window = w;

Just before it crashes:

(gdb) print w
$1 = (Window *) 0x6dcd48
(gdb) print w->screen
$2 = (struct ScreenStru *) 0x5120e6
(gdb) print w->screen->cursor_window
$3 = (Window *) 0x458b480d75c08548

I can't make too much sense of this myself, but valgrind tells me this:

==1097== Process terminating with default action of signal 11 (SIGSEGV)
==1097==  Bad permissions for mapped region at address 0x51210E
==1097==    at 0x4FDA25: BX_cursor_in_display (screen.c:1381)

I'm stuck here.
Comment 9 David Sutton 2006-11-21 12:52:48 UTC
I also just had a similar issue - segfault on startup, however in my case it was an issue with using a hardened compiler. I changed my gcc-config to a vanilla gcc, recompiled bitchx, and it started working properly
Comment 10 Markus Ullmann (RETIRED) gentoo-dev 2007-04-11 14:05:28 UTC
As much as I'd like to get this fixed, upstream merges with epic and discontinued supporting 1.x long ago, CANTFIX

Anyone feel free to reopen with a patch, would be happy to apply it