Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110924 - Portage 2.0.53_rc6 segfault
Summary: Portage 2.0.53_rc6 segfault
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-30 11:33 UTC by Doug Goldstein (RETIRED)
Modified: 2005-11-06 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2005-10-30 11:33:23 UTC
I've NEVER seen this before.. and I've NEVER had an app segfault on me on this box.

# emerge unmerge libXvMC

 x11-libs/libXvMC
    selected: 0.99.1
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-libs/libXvMC-0.99.1...
No package files given... Grabbing a set.
--- !found obj /usr/lib/pkgconfig/xvmc.pc
--- !found obj /usr/lib/libXvMCW.so.1.0.0
--- !found sym /usr/lib/libXvMCW.so.1
--- !found sym /usr/lib/libXvMCW.so
--- !found obj /usr/lib/libXvMCW.la
--- !found obj /usr/lib/libXvMCW.a
--- !found obj /usr/lib/libXvMC.so.1.0.0
--- !found sym /usr/lib/libXvMC.so.1
--- !found sym /usr/lib/libXvMC.so
--- !found obj /usr/lib/libXvMC.la
--- !found obj /usr/lib/libXvMC.a
--- !found obj /usr/include/X11/extensions/XvMClib.h
Segmentation fault

# emerge info
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-suspend2-r5 i686)
=================================================================
System uname: 2.6.13-suspend2-r5 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks sandbox sfperms sign
strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/cardoe/workspace/gentopia/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa avi bash-completion berkdb bitmap-fonts cairo cdr
crypt cscope dbus dvd dvdr emboss encode esd flac foomaticdb gdbm gif glitz
gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 jpeg libg++
libwww live mad mikmod mjpeg mmx mono mozilla mp3 mpeg mysql mythtv ncurses nptl
nptlonly oav ogg oggvorbis opengl pam pdflib perl png python quicktime readline
real samba sdl spell sqlite sse sse2 ssl svga tcpd tiff truetype truetype-fonts
type1-fonts udev vorbis win32codecs xml2 xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-10-30 18:47:00 UTC
Does dmesg provide you with any information? Can you reproduce it? If you can, 
what does strace show? You haven't provided any information here that could be 
of any use. 
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-11-05 22:49:42 UTC
It reproduced twice and then went away.

The other weird thing that's happened to me with rc6 is the following.

dlaptop ~ # emerge -uD mpeg4ip
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mpeg4ip-1.3 to /
>>> md5 files   ;-) mpeg4ip-1.0.ebuild
>>> md5 files   ;-) mpeg4ip-1.1.ebuild
>>> md5 files   ;-) mpeg4ip-1.2.ebuild
>>> md5 files   ;-) mpeg4ip-1.3.ebuild
>>> md5 files   ;-) files/mpeg4ip-1.1-gcc3.4.patch
>>> md5 files   ;-) files/digest-mpeg4ip-1.0
>>> md5 files   ;-) files/digest-mpeg4ip-1.1
>>> md5 files   ;-) files/digest-mpeg4ip-1.2
>>> md5 files   ;-) files/mpeg4ip-1.1-gentoo-fixes.patch
>>> md5 files   ;-) files/mpeg4ip-1.2-mp4encode-template-path.patch
>>> md5 files   ;-) files/digest-mpeg4ip-1.3
>>> md5 src_uri ;-) mpeg4ip-1.3.tar.gz
 * libfaac is compiled against libmp4v2
dlaptop ~ #

And it just dumps me back at the command line.

I was expecting this to be the output....

dlaptop ~ # emerge -uD mpeg4ip
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mpeg4ip-1.3 to /
>>> md5 files   ;-) mpeg4ip-1.0.ebuild
>>> md5 files   ;-) mpeg4ip-1.1.ebuild
>>> md5 files   ;-) mpeg4ip-1.2.ebuild
>>> md5 files   ;-) mpeg4ip-1.3.ebuild
>>> md5 files   ;-) files/mpeg4ip-1.1-gcc3.4.patch
>>> md5 files   ;-) files/digest-mpeg4ip-1.0
>>> md5 files   ;-) files/digest-mpeg4ip-1.1
>>> md5 files   ;-) files/digest-mpeg4ip-1.2
>>> md5 files   ;-) files/mpeg4ip-1.1-gentoo-fixes.patch
>>> md5 files   ;-) files/mpeg4ip-1.2-mp4encode-template-path.patch
>>> md5 files   ;-) files/digest-mpeg4ip-1.3
>>> md5 src_uri ;-) mpeg4ip-1.3.tar.gz
 * libfaac is compiled against libmp4v2
 * Please remove faad2 and mpeg4ip then recompile faac

!!! ERROR: media-video/mpeg4ip-1.3 failed.
!!! Function pkg_setup, Line 52, Exitcode 0
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

dlaptop ~ #
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-11-06 00:24:24 UTC
The latter is bash itself segfaulting. Emerge/portage doesn't report it in any  
way yet. The former is python itself segfaulting. 
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-11-06 15:20:06 UTC
So I don't think its stuff actually segfaulting. It looks like I've run into the
biggest of big memleaks in modular X. What caused the problem was that ALL my
memory was eaten up and OOM killer was getting aggressive on me. It didn't kill
firefox until I switched to a different screen. And that's when I began to look
around with that. I'll just close this bug out as invalid.