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 15:34:44 +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> <86msoi6nij.fsf@gnu.org> 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="19021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70914@debbugs.gnu.org, corwin@bru.st, ssbssa@yahoo.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 15:37:16 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 1s9m9b-0004jr-PA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 15:37:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9m9M-0006co-6R; Wed, 22 May 2024 09:37:00 -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 1s9m9L-0006cX-35 for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:36:59 -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 1s9m9I-0002K7-7z for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:36:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9m9N-0002yp-MK for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:37:01 -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 13:37: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.171638497411432 (code B ref 70914); Wed, 22 May 2024 13:37:01 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 22 May 2024 13:36:14 +0000 Original-Received: from localhost ([127.0.0.1]:56009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9m8c-0002yK-7X for submit@debbugs.gnu.org; Wed, 22 May 2024 09:36:14 -0400 Original-Received: from mail-lf1-f49.google.com ([209.85.167.49]:48348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9m8X-0002yE-1i for 70914@debbugs.gnu.org; Wed, 22 May 2024 09:36:12 -0400 Original-Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5241b49c0daso4512948e87.0 for <70914@debbugs.gnu.org>; Wed, 22 May 2024 06:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716384897; x=1716989697; 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=YPjNs14KKOhR95c68l7sFcmcldk4RuFwVNyA/VHSLJs=; b=Qe8d7ORectuT9vSU1Bp4NLZPC7xr7X9OlGaDTrjTDkoAuMBv91fQpBKFp9NzDp77g7 QN6xvDS1HaEH8VE/lIIR3F1Nzkd/Ztd9VC0CxZjQ8aeOx5M8HvDXCwzE2WH4MEK/Qz5q njRtjhiKl3FR4akJnZwUZ+3lkCVAEmPJZXXVj6grhcAyCs4iR+OtjRNVmWMf/PaTXm9v GDSk3DH/SU53j/H/OZdE0N14TkUbMowevM2/uZPSBpElR40WzRgJ1w9jvST+YWTKu1tx ZkNH5yPm5Nb2hyN3evhX7aMEQB/LgwGqoJacyI69DF/NhekLjCFIlr/cOP7rC2l++ZBs 0Z6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716384897; x=1716989697; 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=YPjNs14KKOhR95c68l7sFcmcldk4RuFwVNyA/VHSLJs=; b=L68x0e1qgUN+1IKxrJfH49Fenf0BPoVA5fPIVY22KS1e8Jw4YmCVHeBDE/6puor9kq L9P0vID5y9czQLKC7z8Gm4+gDafIH2KAywqRn+TUVeTKad2f1PKDvPQPvrwvuCGIzkoY lyw9Na91qOO019BytOprKmtEV/YzBFewoTuCqgrjTqWn43b9u/qCIDMBZNA20GWc3hcf uuC0V9X1XiwaXfT44bGfMXxTusbemMvDrRSNcB763nR9/5cE8RGWq9Ec2UdcjuoVoqfE FpElemQqJIyY46IYEkeVkq+9sjPgelcUbBpmfp0csBh+wZlgl3nTMrC+I/Ta7OIcrfRI 3VQA== X-Forwarded-Encrypted: i=1; AJvYcCWDnHhKqOMYBHRivAW6aGiqHWpD7NUdOkhuidpUN4Te2GOX3mTzlJHJEuLRmb4ObFI6qOtO1ehVwvaN2BodCkTbEt+Vedk= X-Gm-Message-State: AOJu0YyO/rexy1mZkN4Ho3MTtt1Uk8I2ERurwq9YuDwrOhE8sa6EqKRt M0f3AQ6Ck+F4/TvdXhBlPA9qHI6xwbIkFtk/UJLdk1undmR7dKzpdAbfJ/qgVQRYlyyzUhAu8mx /6HC6426Zxob9as8gtUcOT5SHKvY= X-Google-Smtp-Source: AGHT+IEuFdisSAsozW3f+TFUuWVCK1oUloc9IVm04fuHhOqv0XtVbwFPeZfrXXuqZUJmw3HEPQH8Ssz8M2coe1tcSRI= X-Received: by 2002:ac2:5deb:0:b0:527:a952:44c with SMTP id 2adb3069b0e04-527a9520961mr47720e87.55.1716384897162; Wed, 22 May 2024 06:34:57 -0700 (PDT) In-Reply-To: <86msoi6nij.fsf@gnu.org> 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:285619 Archived-At: >> I have some symlinked folders further down the tree too. And Developer M= ode >> enabled which allows me to register symlinks without admin rights. >> >> I have LongPathsEnabled, ref >> https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path= -limitation?tabs=3Dregistry > > My reading of the MS docs is that enabling that capability in the > Registry is not enough, you also need to have the longPathAware > element in the application manifest. And Emacs doesn't have that > (because we don't support it). So Emacs should not get file names > longer than 260 characters, AFAIU. Maybe you could try this and see, > for example Dired on some directory with a file with a longer name and > see what happens. Hmm, doesn't look my setting is working. Pretty sure it worked by just twea= king this registry value on our servers, but if I check the group policy, it's s= tates as "enabled: no", and if I try to create a long path in PowerShell or Explo= rer, it fails. So it doesn't seem like I have long paths enabled after all even though the registry value is set. And as you state, the documentation also = says the application needs to register it. >> Reading symbols from >> D:\tmp\emacs-bug-70914\emacs-extra-checks-no-ucrt\simendsjo-build\bin\em= acs.exe... >> (gdb) start --init-directory=3Dd:/.emacs.d >> warning: could not convert 'main' from the host encoding (CP65001) >> to UTF-32. >> This normally should not happen, please file a bug report. > > That message comes from GDB, and AFAIU is a GDB bug. It should be > reported, I think. I have only seen this on Hannes' gdb, not the one from mingw. On Wed, May 22, 2024 at 2:26=E2=80=AFPM Eli Zaretskii wrote: > > > From: Simen Endsj=C3=B8 > > Date: Tue, 21 May 2024 22:31:52 +0200 > > Cc: Eli Zaretskii , "70914@debbugs.gnu.org" <70914@debbug= s.gnu.org>, "corwin@bru.st" > > > > I have some symlinked folders further down the tree too. And Developer = Mode > > enabled which allows me to register symlinks without admin rights. > > > > I have LongPathsEnabled, ref > > https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-pat= h-limitation?tabs=3Dregistry > > My reading of the MS docs is that enabling that capability in the > Registry is not enough, you also need to have the longPathAware > element in the application manifest. And Emacs doesn't have that > (because we don't support it). So Emacs should not get file names > longer than 260 characters, AFAIU. Maybe you could try this and see, > for example Dired on some directory with a file with a longer name and > see what happens. > > > Reading symbols from > > D:\tmp\emacs-bug-70914\emacs-extra-checks-no-ucrt\simendsjo-build\bin\e= macs.exe... > > (gdb) start --init-directory=3Dd:/.emacs.d > > warning: could not convert 'main' from the host encoding (CP65001) > > to UTF-32. > > This normally should not happen, please file a bug report. > > That message comes from GDB, and AFAIU is a GDB bug. It should be > reported, I think.