Menu

#1 XChat segfaults, problem with static_ruby_custom_timer_hook?

open
nobody
None
5
2004-08-16
2004-08-16
Thunfisch
No

Hi,

I wrote a Ruby script for XChat that checks XQF's
LaunchInfo.txt every 2 seconds. Nick, awaymessage etc.
will be changed, when the script has found serverinfos in
this file. You can find it here:

http://www.thunfisch.org/~thunfisch/dev/misc/xchat-xqf.rb

The comments are mostly in german, sorry for that.

XChat segfaults after a while everytime I load the script.
I attached the gdb backtrace, but I really don't know
whether it's helpful or not.

Here some information about my computer:

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1,
glibc-2.3.4.20040619-r1, 2.6.8-rc2-nitro4)
=================================================================
System uname: 2.6.8-rc2-nitro4 i686 AMD Athlon(tm) XP
1600+
Gentoo Base System version 1.5.2
distcc[22484] (dcc_mkdir) ERROR:
mkdir /var/tmp/portage/.distcc/state failed: No such file or
directory [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow
-mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe
-funroll-loops -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /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=athlon-xp -mmmx -msse -m3dnow
-mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe
-funroll-loops -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache keeptemp
keepwork noclean sandbox usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts avi berkdb cdr
crypt directfb divx4linux encode esd fbcon foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 guile imlib jpeg kde libg++
libwww live mad mikmod mmx motif mpeg ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline ruby sdl slang spell sse ssl tcltk tcpd
tetex theora truetype x86 xml2 xmms xosd xv xvid zlib"

If there's anything else I can do, let me know.
Thanks and regards

Thunfisch

Discussion

  • Thunfisch

    Thunfisch - 2004-08-16

    gdb backtrace

     
  • Thunfisch

    Thunfisch - 2004-08-21

    Logged In: YES
    user_id=791426

    I forgot to say that I'm using xchat-ruby 1.1, compiled from
    source.

    The URL of my script also changed, you'll find it now here:
    http://www.thunfisch.org/~thunfisch/dev/xchat-ruby/xchat-xqf.rb

    Thunfisch

     

Log in to post a comment.