After I upgraded python to the latest stable 2.4.1-r1, gajim has ceased working. I have run python-updater, and everything else seems to work except for gajim and bittornado. I can reproduce this with the latest stable gajim-0.8.2 and all the recent svn versions I have tried. Starting with a fresh configuration makes no difference. Starting gajim gives: /usr/bin/gajim: line 26: 8947 Segmentation fault ./gajim.py $@ The number which is 8947 here seems to be incresing every time I try to run gajim. The line 26 in question is 'import pygtk' -- however, importing pygtk in a python shell works correctly. Trying to run gajim.py with python -v dies with: [snipped the beginning, will attach everything later] import psyco # precompiled from /usr/lib/python2.4/site-packages/psyco/__init__.pyc dlopen("/usr/lib/python2.4/site-packages/psyco/_psyco.so", 2); dlopen("/usr/lib/python2.4/lib-dynload/array.so", 2); import array # dynamically loaded from /usr/lib/python2.4/lib-dynload/array.so Segmentation fault Examining gajim with strace gives no obvious clues to me, but I'll attach the output as well in case it helps. Any clues? Reproducible: Always Steps to Reproduce: 1. run gajim Actual Results: Segmentation fault. Expected Results: A working gajim. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-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.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict suidctl" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.ibiblio.org/gentoo" LANG="en_GB.utf8" LINGUAS="en fi" 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="x86 3dnow 3dnowext 7zip X a52 aac aalib abook alsa ao apm asm audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cap caps ccache cdda cddb cdio cdparanoia cdr cdrom cjk clamav cracklib crypt css cups curl curlwrappers dbus devmap dhcp directfb divx4linux dts dvd dvdr dvdread emboss encode ethereal exif fbcon fbsplash flac foomaticdb fortran freetype ftp gd gdbm ggi gif gimp gimpprint glep gnuplot gnutls gpgme gphoto2 gpm gs gstreamer gtk gtk2 hal http iconv icq ieee1394 image imagemagick imap imlib imlib2 immqt-bc ipv6 irc jabber javascript joystick jp2 jpeg latex libclamav libg++ libwww lj lm_sensors lzo lzw mad maildir mailwrapper math matroska mbox md5sum mhash mikmod mime mmap mmx mmxext mng motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpeg4 mplayer nas ncurses net nethack nls nntp nodrm nowin nptl nsplugin ntfs ntlm nvidia ogg oggvorbis opengl openssl pam pam_console pdf pdflib perl physfs pic plotutils png posix povray ppds print procmail python quicktime readline reiserfs rss rtc sdl session sftp sftplogging silc slang smime sndfile sockets socks5 sox speex spell srv sse ssl subp subtitles subversion svg svga svgz sysfs tcltk tcpd tetex theora threads tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vcdimager vim vim-with-x vorbis win32codecs wmf wxwindows xine xlockrc xml xml2 xosd xpm xv xvid zlib video_cards_nvidia linguas_en linguas_fi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Created attachment 70472 [details] The output of python -v gajim.py
Created attachment 70473 [details] Strace of gajim (gzipped)
Bug solved. Solution: emerge >=dev-python/psyco-1.3 The problem is caused by psyco-1.2. As noted in Psyco's home page, psyco-1.2 does not support python 2.4. The ebuild for psyco-1.2 has a DEPEND for <dev-lang/python-2.4, but when the system still has python-2.3, portage will happily install psyco-1.2 for python-2.4, even though that just won't work, and 'import psyco' will cause an instant segfault. I probably should file a separate bug for this.