Summary: | BitchX segfaults | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | malcom <aspanke> |
Component: | New packages | Assignee: | Packages in net-irc <net-irc> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | amackenz-gentoo, amd64, gentoo, quith, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155627 |
Description
malcom
2005-11-13 04:41:37 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 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. i used to have this problem but now with bitchx-1.1-r3, it seems to work ... It's the opposite for me, bitchx-1.1-r3 segfaults and -r2 works. *** Bug 73061 has been marked as a duplicate of this bug. *** have you checked that your dynamic linking is consistent with revdep-rebuild? Found a note about that on the mailinglists amd64: can someone of you help tracking this down? 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. 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 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 |