From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sBHFNxbJwGHatwAAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 19:19:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YPOCMxbJwGF7XgAAB5/wlQ (envelope-from ) for ; Mon, 20 Dec 2021 18:19:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 887721394F for ; Mon, 20 Dec 2021 19:19:02 +0100 (CET) Received: from localhost ([::1]:42824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzNFV-0000m8-OS for larch@yhetil.org; Mon, 20 Dec 2021 13:19:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz4SP-0002BK-3l for bug-guix@gnu.org; Sun, 19 Dec 2021 17:15:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz4SM-0006eX-71 for bug-guix@gnu.org; Sun, 19 Dec 2021 17:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mz4SM-0000A6-3E for bug-guix@gnu.org; Sun, 19 Dec 2021 17:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52671: glibc patch causes crash on failure to find path to executable Resent-From: Ivan Kozlov Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 19 Dec 2021 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52671 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52671@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1639952094590 (code B ref -1); Sun, 19 Dec 2021 22:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2021 22:14:54 +0000 Received: from localhost ([127.0.0.1]:48409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz4SE-00009R-6h for submit@debbugs.gnu.org; Sun, 19 Dec 2021 17:14:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:52002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz4SB-00009H-UF for submit@debbugs.gnu.org; Sun, 19 Dec 2021 17:14:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz4SB-00029O-Nv for bug-guix@gnu.org; Sun, 19 Dec 2021 17:14:51 -0500 Received: from forward108j.mail.yandex.net ([5.45.198.253]:42952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz4S8-0006c8-DL for bug-guix@gnu.org; Sun, 19 Dec 2021 17:14:50 -0500 Received: from myt6-43c1316fdabf.qloud-c.yandex.net (myt6-43c1316fdabf.qloud-c.yandex.net [IPv6:2a02:6b8:c12:370d:0:640:43c1:316f]) by forward108j.mail.yandex.net (Yandex) with ESMTP id 4761B3F1FE8C for ; Mon, 20 Dec 2021 01:14:39 +0300 (MSK) Received: from 2a02:6b8:c12:4020:0:640:4215:6e6e (2a02:6b8:c12:4020:0:640:4215:6e6e [2a02:6b8:c12:4020:0:640:4215:6e6e]) by myt6-43c1316fdabf.qloud-c.yandex.net (mxback/Yandex) with HTTP id bEoOvq1eF0U1-EceqIF9T; Mon, 20 Dec 2021 01:14:38 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1639952078; bh=qAvDio20WLDckwfofUHgcT3TMg1pIJVZZomNmHPmIGc=; h=Message-Id:Date:Subject:To:From; b=rJ/D1UByJSlSsyU4QnEjzPgPwFovlIAI9kW5R5QYjS1Oe152D0su0jCRaOSDYDVtk ri7niKBRI0GbptVINFVvkhc0ULCK/F5qdmWdCTRMLI/YDAwWAi4VW/BtYX4OK7BZQ9 reOg0sYbteXH5ssQ+/PN9B301Bba0bTtAy4OpdQ0= Received: by myt6-42156e6ef20a.qloud-c.yandex.net with HTTP; Mon, 20 Dec 2021 01:14:38 +0300 From: Ivan Kozlov MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 20 Dec 2021 01:14:38 +0300 Message-Id: <84771639950622@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Received-SPF: pass client-ip=5.45.198.253; envelope-from=kanichos@yandex.ru; helo=forward108j.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 20 Dec 2021 13:18:29 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640024342; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qAvDio20WLDckwfofUHgcT3TMg1pIJVZZomNmHPmIGc=; b=nHLtKklIIE9RVcaVnUOkl9YuwVDdMmt6p4+gn2E8k4qo83HIgQ0F8sVhfxUG7jOLUL8KYO I53F43AU8/54a1ij3T1hrrdpeNcF3MBenmlrGRE5DYeBaP7By92yZZu6U/uTHXZ5U0Szkf DId8Bf3WFWdKugND++6Guhs8VtR98B+XYtxsruJH9a/q/whE0py8AR/53fjb+lq2Zkl5qX 0Jxtg9kqiNmUnegjM+X5MK2Iw5ZVAIBfmFUAyXpMoom6EigPyi/CGq42vLXtWWbg+Y0Z4w AH9CI8zLQ7qGyI5BBO797Sx/QDCOL3ZHRONyk/ASkvXuVNwsdDH+02JuCo9Wmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640024342; a=rsa-sha256; cv=none; b=FMzHWusLKdDqBvKT/pK/jLEZRKfkNRHNjVIlZBmxuJsPPU9cHgiK0No2D7N4sS6tMwLsIa w0XuXvbuEs8rLH6XE9t7RGV+U44zJL5Sa876aRCNSqZxwRbic4iD04ZfC7XSrnbcRcW5ug XA7fHurJpXHU6rlyc8btiZmFIe3Ufy4ed2c7iq8Zm2QuYvTl9+XhwsRPKLqy7LPCY6BmwO RdsZnRV3FU7ZEIL7k8I2Ec4tsoFzC2cR9QF15cylu2C5oCmecnzEdG59EK5EmcjU2viWWW mf7mI2WbmWM/VpCa9/Ki9xe1w6FrE32zySG/nxa3uULu9qIpK39jwYwRk/FYFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.ru header.s=mail header.b="rJ/D1UBy"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.ru (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.ru header.s=mail header.b="rJ/D1UBy"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.ru (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 887721394F X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: tjQhJiWi4kAC glibc-dl-cache.patch causes segmentation fault when _dl_get_origin fails (which should be harmless unless there is $ORIGIN in RUNPATH). I found this when running a dynamically linked executable as ‘init’, before /proc was mounted. There needs to be an origin != (char *)-1 check.