Reproducable: allway Steps to reproduce: $ python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/lib/python2.4/site.pyc matches /usr/lib/python2.4/site.py import site # precompiled from /usr/lib/python2.4/site.pyc # /usr/lib/python2.4/os.pyc matches /usr/lib/python2.4/os.py import os # precompiled from /usr/lib/python2.4/os.pyc import posix # builtin # /usr/lib/python2.4/posixpath.pyc matches /usr/lib/python2.4/posixpath.py import posixpath # precompiled from /usr/lib/python2.4/posixpath.pyc # /usr/lib/python2.4/stat.pyc matches /usr/lib/python2.4/stat.py import stat # precompiled from /usr/lib/python2.4/stat.pyc # /usr/lib/python2.4/UserDict.pyc matches /usr/lib/python2.4/UserDict.py import UserDict # precompiled from /usr/lib/python2.4/UserDict.pyc # /usr/lib/python2.4/copy_reg.pyc matches /usr/lib/python2.4/copy_reg.py import copy_reg # precompiled from /usr/lib/python2.4/copy_reg.pyc # /usr/lib/python2.4/types.pyc matches /usr/lib/python2.4/types.py import types # precompiled from /usr/lib/python2.4/types.pyc # /usr/lib/python2.4/warnings.pyc matches /usr/lib/python2.4/warnings.py import warnings # precompiled from /usr/lib/python2.4/warnings.pyc # /usr/lib/python2.4/linecache.pyc matches /usr/lib/python2.4/linecache.py import linecache # precompiled from /usr/lib/python2.4/linecache.pyc import encodings # directory /usr/lib/python2.4/encodings # /usr/lib/python2.4/encodings/__init__.pyc matches /usr/lib/python2.4/encodings/__init__.py import encodings # precompiled from /usr/lib/python2.4/encodings/__init__.pyc # /usr/lib/python2.4/codecs.pyc matches /usr/lib/python2.4/codecs.py import codecs # precompiled from /usr/lib/python2.4/codecs.pyc import _codecs # builtin # /usr/lib/python2.4/encodings/aliases.pyc matches /usr/lib/python2.4/encodings/aliases.py import encodings.aliases # precompiled from /usr/lib/python2.4/encodings/aliases.pyc # /usr/lib/python2.4/encodings/utf_8.pyc matches /usr/lib/python2.4/encodings/utf_8.py import encodings.utf_8 # precompiled from /usr/lib/python2.4/encodings/utf_8.pyc Python 2.4.3 (#1, Sep 9 2006, 23:36:17) [GCC 4.1.1 (Gentoo 4.1.1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. dlopen("/usr/lib/python2.4/lib-dynload/readline.so", 2); import readline # dynamically loaded from /usr/lib/python2.4/lib-dynload/readline.so >>> import gst._gst import gst # directory /usr/lib/python2.4/site-packages/gst-0.10/gst # /usr/lib/python2.4/site-packages/gst-0.10/gst/__init__.pyc matches /usr/lib/python2.4/site-packages/gst-0.10/gst/__init__.py import gst # precompiled from /usr/lib/python2.4/site-packages/gst-0.10/gst/__init__.pyc # /usr/lib/python2.4/site-packages/pygtk.pyc matches /usr/lib/python2.4/site-packages/pygtk.py import pygtk # precompiled from /usr/lib/python2.4/site-packages/pygtk.pyc # /usr/lib/python2.4/fnmatch.pyc matches /usr/lib/python2.4/fnmatch.py import fnmatch # precompiled from /usr/lib/python2.4/fnmatch.pyc # /usr/lib/python2.4/re.pyc matches /usr/lib/python2.4/re.py import re # precompiled from /usr/lib/python2.4/re.pyc # /usr/lib/python2.4/sre.pyc matches /usr/lib/python2.4/sre.py import sre # precompiled from /usr/lib/python2.4/sre.pyc # /usr/lib/python2.4/sre_compile.pyc matches /usr/lib/python2.4/sre_compile.py import sre_compile # precompiled from /usr/lib/python2.4/sre_compile.pyc import _sre # builtin # /usr/lib/python2.4/sre_constants.pyc matches /usr/lib/python2.4/sre_constants.py import sre_constants # precompiled from /usr/lib/python2.4/sre_constants.pyc # /usr/lib/python2.4/sre_parse.pyc matches /usr/lib/python2.4/sre_parse.py import sre_parse # precompiled from /usr/lib/python2.4/sre_parse.pyc # /usr/lib/python2.4/glob.pyc matches /usr/lib/python2.4/glob.py import glob # precompiled from /usr/lib/python2.4/glob.pyc # /usr/lib/python2.4/plat-linux2/DLFCN.pyc matches /usr/lib/python2.4/plat-linux2/DLFCN.py import DLFCN # precompiled from /usr/lib/python2.4/plat-linux2/DLFCN.pyc dlopen("/usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so", 101); dlopen("/usr/lib/python2.4/site-packages/gtk-2.0/gobject.so", 101); import gobject # dynamically loaded from /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so ERROR: Caught a segmentation fault while loading plugin file: /usr/lib/gstreamer-0.10/libgstvideotestsrc.so Please either: - remove it and restart. - run with --gst-disable-segtrap and debug. import gst._gst # dynamically loaded from /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so dlopen("/usr/lib/python2.4/site-packages/gst-0.10/gst/interfaces.so", 101); import gst.interfaces # dynamically loaded from /usr/lib/python2.4/site-packages/gst-0.10/gst/interfaces.so >>> $ emerge --info Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7-ww i686) ================================================================= System uname: 2.6.17-gentoo-r7-ww i686 AMD Athlon(TM) XP 2700+ Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=athlon-xp -O3 -pipe -fforce-mem -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=i686 -mtune=athlon-xp -O3 -pipe -fforce-mem -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/ http://mirror.gentoo.no" LANG="ru_RU.UTF-8" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X aac acl alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr chardet cli crypt cscope cups curl dbus directfb dlloader dri dvd dvdr dvdread dvdrw eds emboss encode esd examples fam fbcon ffmpeg firefox fltk gdbm gif gkt2 glitz gpm gstreamer gtk gtk2 gzip hal hardened iconv imlib imlib2 isdnlog ithreads java javascript jpeg ldap libg++ mad matroska md5sum mikmod mmx mmxext mng mozilla mozsvg mp3 mpeg ncurses nls no-old-linux nojoystick nptl nptlonly nsplugin nvidia ogg opengl pam pango pcre pdflib perl png ppds pppd pyste python quicktime rar readline reflection samba sdl session skins sndfile spell spl sqlite sqlite3 sse ssl startup-notification svg symlink sysfs tcltk tcpd theora threads thumbnail tiff tk toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis win32codecs wma x264 xft xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_linuxinput kernel_linux linguas_ru linguas_en userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Actualy, I'm not sure that it's in gst-python or in gsreamer itself, but it only brakes python apps, and else because python is only one lang. which i know though somehow.
Please can you re-emerge liboil. This is the cause of the segfault in videotestsrc when importing gst in python. liboil's ebuild now forces CFLAGS that liboil is compatible with.
Re-emerged liboil and even gstreamer and gst-python. It did not help.
OK, I haven't seen such behavior with dev-python/gst-python-0.10.8. This bug is now year old with no activity or duplicates. dev-libs/liboil has been bumped to 0.3.12, 22 June 2007. Please try upgrading both liboil and gst-python and reopen if you still have this issue. Thanks.
And do the actual testing without flags like -fforce-mem or -fforce-addr..