Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183647 - emerging dev-cpp/gtkmm-2.10.9 hard locks my system
Summary: emerging dev-cpp/gtkmm-2.10.9 hard locks my system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 12:34 UTC by Jeff Mitchell
Modified: 2007-07-20 18:15 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 Jeff Mitchell 2007-06-29 12:34:23 UTC
My system hard locks emerging dev-cpp/gtkmm-2.10.9 on amd64, in the middle of compilation.  Using sys-kernel/gentoo-sources-2.6.20-r8.

Everything seems normal...the last output I see is:

/bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe -Wall   -o libpangomm-1.4.la -rpath /usr/lib64 -version-info 1:30:0  attributes.lo attriter.lo attrlist.lo cairofontmap.lo color.lo context.lo coverage.lo font.lo fontdescription.lo fontface.lo fontfamily.lo fontmap.lo fontmetrics.lo fontset.lo glyph.lo glyphstring.lo item.lo language.lo layout.lo layoutiter.lo layoutline.lo layoutrun.lo rectangle.lo renderer.lo tabarray.lo   wrap_init.lo  init.lo  -lglibmm-2.4 -lsigc-2.0 -lcairomm-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Comment 1 Jeff Mitchell 2007-06-29 12:35:05 UTC
emerge --info:

Portage 2.1.2.7 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 29 Jun 2007 03:00:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X X509 a52 aac aalib acpi aiglx aim alisp alsa amarok amd64 ao apache2 arts asf async audiofile authfile authlib automount avalon bash-completion bcmath bdf berkdb bidi bitmap-fonts bittorrent bonobo bzip2 cairo calendar cddb cdparanoia cgi chroot cjk clamav clamd cli commercial contentcache cracklib crypt css ctype cups curl curlwrappers d daap dbus dcc dcraw dga dio directfb disassembler dovecot-sasl dri dts dvd dvdr dvdread ecc eds emacs emboss encode esd ethereal exif expat extraengine extrafilters fam fame fastcgi fat ffmpeg fftw firefox flac fltk font-server fontconfig foomaticdb force-cgi-redirect fortran fpx ftp fuse gd gdbm gif glut gmp gnome gpgme gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hash hdri howl howl-compat hpn iconv icq id3 idea idn ifsession imagemagick imap imlib innodb inode iproute2 ipv6 irc isdnlog jabber java javamail javascript jbig jce jikes jms jmx joystick jpeg jpeg2k json jython kde kdeenablefinal lame largeterminal latex lcms ldap libcaca libedit libg++ libvisual libwww lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailbox maildir math mbox mcal mdnsresponder-compat memlimit mhash midi mikmod mime mjpeg mmap mng modplug mono motif mouse mozilla mozsvg mp3 mp4live mpeg mpeg2 mplayer msn mule multiuser musepack musicbrainz mysql mysqli ncurses nethack netpbm network new-login nfs nis nls nocardbus nptl nptlonly nsplugin ntfs nvidia nxclient offensive ogg oggvorbis on-the-fly-crypt openexr opengl openmp openntpd openssh oss pam pango passwordsave paste64 pcntl pcre pear pear-db perl php plotutils pmu png pop3d posix postfix ppds pppd pulseaudio python qt3 qt3support qt4 quicktime rdesktop readline reflection reiserfs restrict rewrite rhino rt2500pci ruby samba sasl script sdl sensord session shaper sharedext sharedmem shorten sieve simplexml sitemisc slang slp smime sndfile soap sockets socks5 softquota spamassassin speex spell spl sql sqlite sqlite3 ssl streamzap svg svgz sysfs syslog sysvipc tcl tcltk tcpd theora threads tiff tk tokenizer tools transcode truetype truetype-fonts type1 type1-fonts ucs2 unicode unzip usb utf8 v4l v4l2 vcd vda vfat vhosts visualization vorbis vroot webdav wma wmf wordperfect wv wxwindows xcb xemacs xface xforms xfs xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv fbdev nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Maarten Bressers (RETIRED) gentoo-dev 2007-06-30 11:53:18 UTC
Does this hard lock only occur when you're compiling dev-cpp/gtkmm-2.10.9? Not when compiling other packages or during other activities? I've compiled dev-cpp/gtkmm-2.10.9 on amd64 with gentoo-sources-2.6.20-r8 and couldn't reproduce this. Is there anything relevant in your /var/log/messages from around the time you ran the emerge?

Could you try the following: compile your kernel with SysRq support (CONFIG_MAGIC_SYSRQ=y), run the emerge from a virtual console (not an xterm), and when the system locks up, hit Alt+SysRq+9 and Alt+SysRq+p and see if this produces any output?
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-07-18 19:27:10 UTC
see comment #2
Comment 4 Jeff Mitchell 2007-07-19 14:12:49 UTC
I didn't find a good time to test this out as it's a production server and I can't take it down at will.

However, at some point I accidentally upgraded gtkmm along with other packages and it came through just fine, regardless of the last three times that locked it up.  So I don't know how to reproduce it anymore anyways.
Comment 5 Jeff Mitchell 2007-07-19 17:54:45 UTC
This may be related:

Today while emerging sys-libs/glibc-2.5-r4 I got the following:

In file included from ../posix/bits/posix1_lim.h:153,
                 from ../include/bits/posix1_lim.h:1,
                 from ../include/limits.h:145,
                 from ../nptl/sysdeps/pthread/allocalim.h:21,
                 from ../include/alloca.h:20,
                 from ../stdlib/stdlib.h:612,
                 from ../include/stdlib.h:8,
                 from atoll.c:19:
../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

dmesg output shows the following line at the end:

cat[1136]: segfault at 0000000000000001 rip 00002ae273fb9010 rsp 00007fff36cb6a68 error 6

Does this seem like I have some hardware issue?  My RAM is ECC so I would think that's not the cause, but who knows what else could be going wrong...

Thanks,
Jeff
Comment 6 Maarten Bressers (RETIRED) gentoo-dev 2007-07-19 18:50:15 UTC
This doesn't look like the same thing to me. In fact, I'm not seeing any evidence of a kernel bug here. 

Does this segfault always appear at the same point in the compilation of this package? Do you get more segfaults from gcc? You might want to read this:
http://forums.gentoo.org/viewtopic-t-482200-highlight-.html

If you want, file a new bug about this and include as much information as you can.