From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Endsj=C3=B8?= Newsgroups: gmane.emacs.bugs Subject: bug#70914: 29.3; Crashes often on Windows Date: Wed, 22 May 2024 13:24:19 +0200 Message-ID: References: <86msouxamh.fsf@gnu.org> <86h6f0wsbv.fsf@gnu.org> <86seyjtgvd.fsf@gnu.org> <86ttizjdwm.fsf@gnu.org> <86h6eykiuk.fsf@gnu.org> <86cypmji2l.fsf@gnu.org> <865xvadhsg.fsf@gnu.org> <861q5ycpv1.fsf@gnu.org> <86ed9yb2cg.fsf@gnu.org> <86y185ac0w.fsf@gnu.org> <86bk50a938.fsf@gnu.org> <861q5w9wgv.fsf@gnu.org> <86v8388g1w.fsf@gnu.org> <86seyc8f1c.fsf@gnu.org> <86h6er8dkd.fsf@gnu.org> <86bk4z81cu.fsf@gnu.org> <554078779.3957737.1716318331280@mail.yahoo.com> <984937837.4078826.1716352322860@mail.yahoo.com> <829659206.4083070.1716354489264@mail.yahoo.com> <582535681.1158538.1716358337102@mail.yahoo.com> <433213011.4171485.1716366220719@mail.yahoo.com> <504687570.4208226.1716367848968@mail.yahoo.com> 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="2729"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Corwin Brust , "70914@debbugs.gnu.org" <70914@debbugs.gnu.org> To: Hannes Domani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 13:26:06 2024 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 1s9k6g-0000RD-75 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 13:26:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9k6Y-0001Zt-3t; Wed, 22 May 2024 07:25:58 -0400 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 1s9k6W-0001Yz-Jk for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 07:25:56 -0400 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 1s9k6W-0001JL-BL for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 07:25:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9k6c-00078w-1I for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 May 2024 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70914 X-GNU-PR-Package: emacs Original-Received: via spool by 70914-submit@debbugs.gnu.org id=B70914.171637714627452 (code B ref 70914); Wed, 22 May 2024 11:26:01 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 22 May 2024 11:25:46 +0000 Original-Received: from localhost ([127.0.0.1]:55348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9k6M-00078i-8X for submit@debbugs.gnu.org; Wed, 22 May 2024 07:25:46 -0400 Original-Received: from mail-lf1-f51.google.com ([209.85.167.51]:56791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9k6I-00078a-SL for 70914@debbugs.gnu.org; Wed, 22 May 2024 07:25:44 -0400 Original-Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51f12ccff5eso8105552e87.1 for <70914@debbugs.gnu.org>; Wed, 22 May 2024 04:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716377071; x=1716981871; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rNwTfPskFCb3daoAx2ZliBmYv2Fg3iupxLnuEC1IPUA=; b=nDNWkkB7XXvyQADXOf12tL7ERqjYZaPFzDMk5ITUXEVJIRDqrjIIMpbqNoDqz7DFQE oogJWY+ngHN50PXmDJTbo+REeuVVQDU+GUBIqvFzRMEK5Z9aNVNGfRyIGOk8RtC8CcfY pMMmUUfOmCG7XEPqbd0gmTCfiaCT0D1rUnUzzu2m8oAdGhyR0BaVT+TzrKpbmTB2Q1lR UBbHpWaqt+JG1J06UZNz2P6evUPJW/VBRoctd/B3Qo9jmYUnQCYLc0T6he9PReWy0Ga9 dXW64eWg5/iImQti1ApQ1lgsXBmQ7o6sb81k3cduh1oSqrqcLKMIsAbltZwjPSuHITbf s1Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716377071; x=1716981871; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rNwTfPskFCb3daoAx2ZliBmYv2Fg3iupxLnuEC1IPUA=; b=Qlqd+G4/2sAKoOac4C38TARdR/w4fJ0Wpa/v259+Y6pQWFgxvagzviiGLleepzR0h/ TRf8sIQnGpfRuk5AxnZvcbTcOwpowoQ2nALbkYyElhNAEh9S5i0bGZ7wOgogRR+GVpvG hh31mEvYwnDdH+ePYREkk1Lw/Sb31YY65e3M81JLVeoKUEsGVU2HEBiwIAEotfdtrfQn xkk4o8Kvb4nbxhVupGYIGfJruvTewRxFlUfWViMCWbod69hGLkmIpcTzuZp7fHqJJNdl zy5LxG8RIbPqYJeTRQ3CdhFcVe5ASOeg82S5BjACZ2XrTkhV5MAwrchR4E7PTRO2Ln17 PCWw== X-Forwarded-Encrypted: i=1; AJvYcCU0vecBjrDSU2OtteZ2XC0HbTpCHYO5O7uA7FB5hqCmaSs4J0PG9nS3GaGVU4vyAaCdMhyP3WdJ7pFUzViPMGRp7SLJTBw= X-Gm-Message-State: AOJu0Yz6eDSHkWIgdCmarmzZoXntBK0tW/L1Q+R9shMqYZKshZV//lDY vgpbApY7bye6TAeLWIJuTLUY+G/rhQO8ubwO30KUYKiJt4GzqBwoDJc7/T5C11Kcsu2oloQVOJH UHejiM3d9MahanLvl9oNQ3L4YKzY= X-Google-Smtp-Source: AGHT+IFIh4PDb99GmejeE+X0EIscol4kJAzuGG/8suyExKy77MAwPm+peqlXjL1l/1FbXSKx6+3bat2Qx1jOFwfV/T4= X-Received: by 2002:ac2:5484:0:b0:51c:a0e1:2a44 with SMTP id 2adb3069b0e04-526bd693d11mr1151643e87.26.1716377070989; Wed, 22 May 2024 04:24:30 -0700 (PDT) In-Reply-To: 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:285597 Archived-At: These errors are transient. I can try again, and it succeeds. On Wed, May 22, 2024 at 1:21=E2=80=AFPM Simen Endsj=C3=B8 wrote: > > Tried building native-compilation with this patch, but that still fails: > > make[3]: Entering directory > '/d/tmp/emacs-bug-70914/emacs-empty-path-bug-workaround-regular-build/lis= p' > ELC+ELN international/titdic-cnv.elc > ELC+ELN ../lisp/abbrev.elc > ELC+ELN ../lisp/bindings.elc > ELC+ELN ../lisp/buff-menu.elc > ELC+ELN ../lisp/button.elc > ELC+ELN ../lisp/composite.elc > ELC+ELN ../lisp/case-table.elc > ELC+ELN ../lisp/cus-face.elc > ELC+ELN ../lisp/cus-start.elc > ELC+ELN ../lisp/custom.elc > ELC+ELN ../lisp/disp-table.elc > ELC+ELN ../lisp/dnd.elc > > Backtrace: > 00007ff7a5f20f4e > 00007ff7a5dea381 > 00007ff7a5e0b241 > 00007ff7a5f8666a > 00007fffedd7b240 > 00007fffef7d49f7 > 00007fffef74e45e > 00007fffef7d39e6 > 00007ff7a5e874b8 > 00007ff7a5e8747f > 00007ff7a5e87563 > 00007ff7a5e8747f > 00007ff7a5e87813 > 00007ff7a5e8f866 > 00007ff7a5e91a1b > 00007fff6f15cf3d > 00007ff7a5e8002a > 00007ff7a5e802d0 > 00007fff6f1652b8 > 00007ff7a5e8002a > 00007ff7a5e802d0 > 00007fff554212d5 > 00007ff7a5eca388 > 00007ff7a5e8002a > 00007ff7a5e88294 > 00007ff7a5e8002a > 00007fff55422f6e > 00007ff7a5e8002a > 00007fff55423334 > 00007ff7a5e8002a > 00007ff7a5e88294 > 00007fff554235d5 > 00007ff7a5e8002a > 00007fff5542ce33 > 00007ff7a5e8002a > 00007fff5542e2d7 > 00007ff7a5e8002a > 00007fff5542e6a4 > 00007ff7a5e8002a > 00007ff7a5e7ea3b > 00007ff7a5e7f4f5 > 00007ff7a5e7eb4e > 00007ff7a5e7f585 > 00007ff7a5e7eb4e > 00007ff7a5e825b5 > 00007ff7a5e7eb4e > 00007ff7a5e7f3a5 > 00007ff7a5e7eb4e > 00007ff7a5e825b5 > 00007ff7a5e7eb4e > 00007ff7a5e7ee25 > 00007ff7a5e7eb4e > 00007ff7a5e7eb4e > 00007ff7a5e820cd > 00007ff7a5e7eb4e > 00007ff7a5e820cd > 00007ff7a5e7eb4e > 00007ff7a5e7fa75 > 00007ff7a5e817c6 > 00007ff7a5e7e543 > 00007ff7a5e820cd > 00007ff7a5e7eb4e > ... > > On Wed, May 22, 2024 at 1:09=E2=80=AFPM Simen Endsj=C3=B8 wrote: > > > > > I tend to avoid inferior function calls as much as possible, even mor= e > > > so in optimized code, exactly for this kind of problem. > > > > > > Instead I use something like: > > > > > > (gdb) condition 1 name && $_streq(name,"//") > > > > > > It needs the python build of gdb, in case you used the non-python one= . > > > > This resulted in the exact same problem. > > > > > > > And did you try my suggested quick fix, just to see if it fixes the = crash? > > > > Thanks! That workaround fixed this crashbug at least! > > > > Unsure about the way forward: > > - Add a new issue to fix this bug? Is it a correct fix or should the v= alue > > never be able to exist at all? > > - Find out where value originates from. I see it is extracted from a l= isp > > object. > > - Why is the stack garbled? > > - Why does gdc crash with 0202 when using a conditional format? > > > > On Wed, May 22, 2024 at 10:50=E2=80=AFAM Hannes Domani wrote: > > > > > > Am Mittwoch, 22. Mai 2024 um 10:41:28 MESZ hat Simen Endsj=C3=B8 Folgendes geschrieben: > > > > > > > > That doesn't sound good. > > > > > Maybe you could show me how you set the conditional breakpoint, a= nd > > > > > how it crashed, so I can take a look at this on gdb side. > > > > > > > > I do a C-c in gdb to add a breakpoint, and when continuing, the pro= cess exists > > > > with code 0202. If I add the conditional breakpoint at start, this = doesn't > > > > happen though, but it seems like it gets stuck without progressing = further. > > > > `print name !=3D NULL` and `print (int)strcmp(name, "//") =3D=3D 0`= doesn't trigger an > > > > error. > > > > > > I tend to avoid inferior function calls as much as possible, even mor= e > > > so in optimized code, exactly for this kind of problem. > > > > > > Instead I use something like: > > > > > > (gdb) condition 1 name && $_streq(name,"//") > > > > > > It needs the python build of gdb, in case you used the non-python one= . > > > > > > > > > > > And did you try my suggested quick fix, just to see if it fixes t= he crash? > > > > > > > > No, not yet. I'm afraid this isn't the root cause of my problems th= ough. I > > > > experienced a crash yesterday running `evil-fill-and-move` (format = paragraph), > > > > which probably shouldn't use any disk operations like this. > > > > > > From what I saw while I had the dprintf command from earlier active, = emacs > > > calls this function even if you maybe don't expect it, so I wouldn't = rule > > > it out. > > > > > > > > > Hannes