Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 195100

Summary: app-cdr/cdrtools-2.01.01_alpha34 causes hard lock on checking for mlockall
Product: Gentoo Linux Reporter: Jason Waldhelm <jason>
Component: Current packagesAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Screenshot of kernel message.
build.log of cdrtools

Description Jason Waldhelm 2007-10-08 14:44:51 UTC
emerging cdrtools-2.01.01_alpha34 hard locks box; it stops at "Checking for mlockall..."

The crash occurs on an amd64 box in a 32bit chroot.  The emerge info below is from the chroot.

Reproducible: Always




 # emerge --info
Portage 2.1.3.12 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-hardened-r7 i686)
=================================================================
System uname: 2.6.22-hardened-r7 i686 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
Timestamp of tree: Mon, 08 Oct 2007 10:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r3
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer nodoc noinfo sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/binpkgs"
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://gary/appbox-portage"
USE="acl berkdb cracklib crypt cups curl hardened logrotate midi nls nptl nptlonly pam pic postgres readline samba ssl tcpd urandom x86 xorg zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jason Waldhelm 2007-10-08 14:46:21 UTC
Created attachment 132925 [details]
Screenshot of kernel message.

Here is the screenshot of the console when the crash occurs.
Comment 2 Jason Waldhelm 2007-10-08 14:47:00 UTC
Created attachment 132927 [details]
build.log of cdrtools

build.log of cdrtools showing where compile hangs.
Comment 3 kfm 2008-10-29 02:40:26 UTC
Also reported here: http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-11/msg08255.html, which alludes to a possible issue with PaX. However, the version of the kernel under due consideration is now obsolete. Jason, please confirm as to whether the bug is still in effect as of the latest stable version of hardened-sources (2.6.25-r8 at the time of writing).