Press Ctrl-I a few times, might take a few tries to get it to segfault (at least for me) backtrace: #0 0x0000000000438d7b in gtk_xtext_append_entry (buf=0x951990, ent=0xaed3d0) at xtext.c:4746 #1 0x00000000004390cb in gtk_xtext_append_indent (buf=0x951990, left_text=0x7ffffff33410 "\0032<\017@\017kingtaco|laptop\0032>\017\tyeah\017\n", left_len=25, right_text=0x7ffffff3342a "yeah\017\n", right_len=5) at xtext.c:4834 #2 0x000000000042dc01 in PrintTextLine (xtbuf=0x951990, text=0x7ffffff33410 "\0032<\017@\017kingtaco|laptop\0032>\017\tyeah\017\n", len=31, indent=1) at textgui.c:95 #3 0x000000000042dc92 in PrintTextRaw (xtbuf=0x951990, text=0x7ffffff3342f "\n", indent=1) at textgui.c:116 #4 0x0000000000415491 in fe_print_text (sess=0x951e10, text=0x7ffffff33410 "\0032<\017@\017kingtaco|laptop\0032>\017\tyeah\017\n") at fe-gtk.c:584 #5 0x0000000000455530 in PrintText (sess=0x951e10, text=0x7ffffff33410 "\0032<\017@\017kingtaco|laptop\0032>\017\tyeah\017\n") at text.c:477 #6 0x0000000000455fdf in display_event (sess=0x951e10, event=16, args=0x7ffffff34450) at text.c:1366 #7 0x000000000045688d in text_emit (index=16, sess=0x951e10, a=0x7ffffff346e0 "kingtaco|laptop", b=0x8b2797 "yeah", c=0x7ffffff34620 "@", d=0x7ffffff345e0 "") at text.c:1577 #8 0x00000000004415d0 in inbound_chanmsg (serv=0x8b2460, sess=0x951e10, chan=0x7ffffff3482d "#gentoo-amd64-dev", from=0x7ffffff346e0 "kingtaco|laptop", text=0x8b2797 "yeah", fromme=0 '\0', id=1) at inbound.c:451 #9 0x000000000045e378 in process_named_msg (sess=0x951e10, type=0x7ffffff34825 "PRIVMSG", word=0x7ffffff34b00, word_eol=0x7ffffff34a00) at proto-irc.c:861 #10 0x000000000045e9a3 in irc_inline (serv=0x8b2460, buf=0x8b2746 ":kingtaco|laptop!~kingtaco@kingtaco.developer.gentoo PRIVMSG #gentoo-amd64-dev :+yeah", len=85) at proto-irc.c:1016 #11 0x000000000044febc in server_inline (serv=0x8b2460, line=0x8b2746 ":kingtaco|laptop!~kingtaco@kingtaco.developer.gentoo PRIVMSG #gentoo-amd64-dev :+yeah", len=85) at server.c:357 #12 0x00000000004500fa in server_read (source=0x868080, condition=G_IO_IN, serv=0x8b2460) at server.c:430 #13 0x00002aaaab9d5682 in g_source_remove_poll () from /usr/lib/libglib-2.0.so.0 #14 0x00002aaaab9d8403 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0 #15 0x00002aaaab9d87bd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #16 0x00002aaaaac014d1 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x0000000000414e29 in fe_main () at fe-gtk.c:297 ---Type <return> to continue, or q <return> to quit--- #18 0x000000000045b963 in main (argc=1, argv=0x7ffffff35798) at xchat.c:1055 Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r7 x86_64) ================================================================= System uname: 2.6.12-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre3 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -ffast-math" 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/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.osuosl.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/kde-live" SYNC="rsync://rsync6.us.gentoo.org/gentoo-portage/" USE="amd64 X aalib alsa apache2 avi bash-completion bitmap-fonts bmp bzip2 cairo cdb cdr crypt cups curl curlwrappers dba dvd dvdr dvdread eds encode ffmpeg firefox flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib innodb java jikes jpeg jpg kde kdeenablefinal kernel_linux lzw lzw-tiff mad matroska memlimit mikmod motif mozilla mp3 mpeg mpeg4 ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl php png postgres python qt quicktime readline real ruby samba sdl session sharedmem sockets spell sqlite ssl subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vhosts vorbis xine xinerama xml xml2 xpm xv zlib" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS Emerged with: CFLAGS="-O0 -ggdb" CXXFLAGS="${CFLAGS}" FEATURES="nostrip" emerge xchat
OK, perfectly reproducible. Having a look at line 4746 in src/fe-gtk/xtext.c we see this: 4744 #ifdef SCROLL_HACK 4745 /* this could be improved */ 4746 if ((buf->num_lines - 1) <= buf->xtext->adj->page_size) 4747 dontscroll (buf); 4748 #endif Sadly, buf->xtext->adj may be NULL at this point. This is no amd64 specific segfault. (reproducible also on x86 by hparker@g.o) Reassigning to net-irc@gentoo.org...
I just commited 2.4.5 to CVS, please give it a try. It should fix these issues.
Yeah, it seems fixed.