From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DBA3E138247 for ; Wed, 8 Jan 2014 11:46:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBF73E0C0C; Wed, 8 Jan 2014 11:45:59 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD788E0BFF for ; Wed, 8 Jan 2014 11:45:58 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id z2so5389551wiv.13 for ; Wed, 08 Jan 2014 03:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=BKGrg4RcWByRUaD3pOixF9Mf87jTNTVZCIiM/TPdXwc=; b=AVUZycqtIJ3ZsqUD6XeP2348LYKsCCmhpKN0ZIl0mH64117JdEslqPhMnN8upq4Ibm yeZMria62TewauclO2eqCuNo5ZfjNQRHYBYT6l7tHsfx4fLuXPS0xCpT+YjrXqNepy31 xs4ODYDXRbm9WumthXiRFN/Cun/W1MZFG/c6eQ7sXAIYvvP1sbEmXi5rfG9WbVm73o96 Mt97BGhzSqjLMzsI+XyIEqjklzeW9W5PrF3W5wP1P+DfFEms5FPHnQopTlpv2aZf1nBL RpXwGEQ5voN6xaIXC4DRnHeUxSknL5OZULepcTNn7zOfNA5IvSApwnm534wzhgNubFgc HJVA== X-Received: by 10.195.13.234 with SMTP id fb10mr12431090wjd.50.1389181557202; Wed, 08 Jan 2014 03:45:57 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id mt2sm8370909wic.7.2014.01.08.03.45.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 03:45:56 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] updating old box: segfaults with python Date: Wed, 8 Jan 2014 11:45:50 +0000 User-Agent: KMail/1.13.7 (Linux/3.10.17-gentoo; KDE/4.11.2; x86_64; ; ) References: <52CD3664.8010205@xunil.at> In-Reply-To: <52CD3664.8010205@xunil.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1431192.bTTjx1fQ5Q"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201401081145.53124.michaelkintzios@gmail.com> X-Archives-Salt: e95c5329-8173-4e52-831c-df1c299dcdb3 X-Archives-Hash: 841e0633ac39eacde777c9ac8e0eb159 --nextPart1431192.bTTjx1fQ5Q Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 08 Jan 2014 11:28:36 Stefan G. Weichinger wrote: > Greetings, >=20 > yesterday I started to upgrade an older gentoo server at a customer. It > has only been updated now and then as they tend to save money and rarely > contact me ... >=20 > I recommended to at least apply the stuff mentioned in the GLSAs ... and > applied some updates today (remote, via ssh). >=20 > Today glibc failed to merge: > >>> Installing (2 of 3) sys-libs/glibc-2.17 >=20 > * Defaulting /etc/host.conf:multi to on > /usr/lib/portage/bin/phase-functions.sh: Zeile 87: 26924 > Speicherzugriffsfehler "${PORTAGE_PYTHON:-/usr/bin/python}" > "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" > * ERROR: sys-libs/glibc-2.11.3::gentoo failed (prerm phase): > * filter-bash-environment.py failed > * > * Call stack: > * ebuild.sh, line 480: Called __preprocess_ebuild_env > * phase-functions.sh, line 156: Called __filter_readonly_variables > '--filter-features' '--filter-locale' '--filter-path' '--filter-sandbox' > * phase-functions.sh, line 137: Called die > * The specific snippet of code: > * "${PORTAGE_PYTHON:-/usr/bin/python}" > "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || > die "filter-bash-environment.py failed" > * > * If you need support, post the output of `emerge --info > '=3Dsys-libs/glibc-2.11.3::gentoo'`, > * the complete build log and the output of `emerge -pqv > '=3Dsys-libs/glibc-2.11.3::gentoo'`. > * The complete build log is located at > '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.11.3/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.11.3/temp/environment'. > * Working directory: '/usr/lib/portage/pym' > * S: '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.11.3/work/glibc-2.11.= 3' > /usr/lib/portage/bin/isolated-functions.sh: Zeile 109: 27001 > Speicherzugriffsfehler "$PORTAGE_BIN_PATH"/ebuild-ipc exit 1 >=20 > But it seems that this is the consequence of problems with python. > There are various versions installed: >=20 > # eselect python list > Available Python interpreters: > [1] python2.4 > [2] python2.5 > [3] python2.6 > [4] python2.7 * > [5] python3.1 > [6] python3.3 >=20 >=20 > But I get segfaults (german: Speicherzugriffsfehler) for all of them: >=20 > mail ~ # python2.7 > Speicherzugriffsfehler > mail ~ # python3.1 > Speicherzugriffsfehler > mail ~ # python3.3 > Speicherzugriffsfehler >=20 > dmesg shows lines: >=20 > awk[28527]: segfault at 579e ip 0000579e sp bfc3006c error 4 in > gawk[8048000+4c000] > awk[28531]: segfault at 579e ip 0000579e sp bff3c8ec error 4 in > gawk[8048000+4c000] > find[28706]: segfault at 579e ip 0000579e sp bff21c3c error 4 in > find[8048000+21000] > find[28707]: segfault at 579e ip 0000579e sp bff42c9c error 4 in > find[8048000+21000] > find[28708]: segfault at 579e ip 0000579e sp bfe1a4ac error 4 in > find[8048000+21000] > find[28714]: segfault at 579e ip 0000579e sp bf82cb5c error 4 in > find[8048000+21000] > find[28715]: segfault at 579e ip 0000579e sp bfa0ef3c error 4 in > find[8048000+21000] > find[28716]: segfault at 579e ip 0000579e sp bfa4c4cc error 4 in > find[8048000+21000] > find[28720]: segfault at 579e ip 0000579e sp bfa1c83c error 4 in > find[8048000+21000] > find[28721]: segfault at 579e ip 0000579e sp bfcf9fbc error 4 in > find[8048000+21000] > eix[28731]: segfault at 579e ip 0000579e sp bfc028ec error 4 in > eix[8048000+114000] > python2.7[28732]: segfault at 579e ip 0000579e sp bfa1c9fc error 4 in > python2.7[8048000+1000] > python2.7[28733]: segfault at 579e ip 0000579e sp bf8a2c0c error 4 in > python2.7[8048000+1000] > python2.7[28746]: segfault at 579e ip 0000579e sp bfeb392c error 4 in > python2.7[8048000+1000] > python2.7[28747]: segfault at 579e ip 0000579e sp bfbfcd4c error 4 in > python2.7[8048000+1000] > python2.7[28749]: segfault at 579e ip 0000579e sp bfa1b71c error 4 in > python2.7[8048000+1000] > python2.7[28757]: segfault at 579e ip 0000579e sp bfeb8b0c error 4 in > python2.7[8048000+1000] > python2.7[28762]: segfault at 579e ip 0000579e sp bfeb479c error 4 in > python2.7[8048000+1000] >=20 >=20 >=20 > This leads to not being able to emerge something :-( >=20 > What can I do? quickpkg some python-version and copy over? > (sidenote: 32bit box ...) >=20 > I would like to avoid to have to drive there so it would be great to be > able to fix that from here, via ssh. >=20 >=20 > Thanks for any help, Stefan The segfaults look scary and could point to hardware fault. I'd run a back= up=20 of any useful data to start with. Then run 'python-updater' to rebuild any packages that had their links brok= en. =2D-=20 Regards, Mick --nextPart1431192.bTTjx1fQ5Q Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJSzTpxAAoJELAdA+zwE4YeRPEH/jAi9VFULYrs1GWX0024xeKL CWkNh5NfAaaw17b0WuyfUGjI/CiaTtD7WWG8+z4QZaV65PJFDF4DBHex4OhcNvZD Efli88Jh8+dKwK178QMd7gVZq0fBbmOsDuDGRC87VIxQdTh2tnv/49WnBM8nDuoW P0ja6yqj4zKcVYkaQYrfKLTIOXwF4z8p5RK8WpDT9xN9kmxi8uyrT45WGhT4NG1y K1DS3K/cE6fVxfHzr15jT4UEi2Enb3dRGGzJTWniyBpDIgoCFTtNSPGszovWNHSz 6mjTJfqhptBDVAqHi9NkAE4v4USemhysRJpXUI9ETakTj7t20DJbM1XnS1szEjE= =bNTU -----END PGP SIGNATURE----- --nextPart1431192.bTTjx1fQ5Q--