From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75292: 31.0.50; igc: (file-error "Doing vfork" "Bad address") Date: Thu, 02 Jan 2025 20:45:40 +0000 Message-ID: <87cyh5kksp.fsf@protonmail.com> References: <87pll5qexm.fsf@localhost> Reply-To: Pip Cet Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25749"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75292@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 21:46:10 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tTS54-0006Zm-7r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 21:46:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTS4y-0005jC-U6; Thu, 02 Jan 2025 15:46:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTS4w-0005in-Au for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:46:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTS4v-0006Bx-TW for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:46:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=NujPu4kPhjYheBj3B8M+NYEDenI4wzkjSbwcgKLD68M=; b=g4AiVyiY/uukDA02UE6R6xshPuanqnHQRpC/qly74H5dNiWKO82MqqjQk5oEJVdVVtQZhqqcb/bD3DKFyILfQy9onJ5E3vn8zFPLnCF+uvXt4UtkpqH7aYRieFwUMFFsQPR0VoJEPAs0oYm5xT6O2QcPzaWPkHKow5VUvkiMjHjG69updVSR3QSetsSjg3dtodO6SFDZao/JDMg3fAbcwY/jz8ji0yWsjYopAUCBQf3/mYUbfTFdm3rqaOnB3e92eG5nskppRdLI1Bz8fpJzf3JKd7Lge4bKoNQxDX1cnaph1Tm6zb0RrV9Z3R9xXWBpRfhSpxh+QEbZb9vBvgEMNg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTS4v-0007he-Np for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 20:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75292 X-GNU-PR-Package: emacs Original-Received: via spool by 75292-submit@debbugs.gnu.org id=B75292.173585075629597 (code B ref 75292); Thu, 02 Jan 2025 20:46:01 +0000 Original-Received: (at 75292) by debbugs.gnu.org; 2 Jan 2025 20:45:56 +0000 Original-Received: from localhost ([127.0.0.1]:46909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTS4q-0007hI-D2 for submit@debbugs.gnu.org; Thu, 02 Jan 2025 15:45:56 -0500 Original-Received: from mail-10630.protonmail.ch ([79.135.106.30]:20245) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTS4n-0007gv-SO for 75292@debbugs.gnu.org; Thu, 02 Jan 2025 15:45:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1735850745; x=1736109945; bh=NujPu4kPhjYheBj3B8M+NYEDenI4wzkjSbwcgKLD68M=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=KOrnPN9Rbjx1JWCNITaERnfd7hdt6lZ5sRNdsWa4EQbVYCF1mmKSab+BBdW7l1bx9 Od+ZDOcr2cAlYrz1aHSJ55HkMD5LRbSxY5/tUpzxajOJAFbVI4m5CbQx+iRQzmb/0I U/KlbdkiTQePrdoZXkW2xzI3/FYbA3XJl97t12WJDL3NZjE4eoJA2efu3uiWSmrf53 cwoxmbo7F1iJu0YoQikIR27kah36e+Isj6/fy1nK8Wn6AtfYtM028VlVHSwMeZLoZ/ Ifm+hcFxitUgeQVI69xdlNnAJ8k8VhdnRPGc+/xx7r6ikftdrMOzivoNMTUzHLSgOt a6kvasMV1zgcw== In-Reply-To: <87pll5qexm.fsf@localhost> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: faa1852ae67c8f2abcc96b5c1f39292f20f68c42 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298237 Archived-At: "Ihor Radchenko" writes: > I am getting the belo error regularly, when Emacs is spawning external > process. Not every time though. Sounds like something's moved by GC and shouldn't be. Since you're running without optimization, it's unlikely that GCC (we don't indicate the compiler used in report-emacs-bug? we should) mangled a reference badly. The code does assume that SAFE_ALLOCA'd string pointers keep the string data alive. That is a bug, and it might cause the behavior you see if, for some weird reason, we wouldn't be using alloca directly. But I think we would be, unless there is something odd about your system. > See the full backtrace below. > Please advice what I can do to debug further. After checking Eli's suggestion, an strace would be nice to find out which of the pointers has gone bad. FWIW, I'll try reproducing this now, using your build flags... Pip