From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hannes Domani via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70914: 29.3; Crashes often on Windows Date: Wed, 22 May 2024 04:32:02 +0000 (UTC) Message-ID: <984937837.4078826.1716352322860@mail.yahoo.com> 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> Reply-To: Hannes Domani 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="6640"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "corwin@bru.st" , "70914@debbugs.gnu.org" <70914@debbugs.gnu.org> To: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 06:33:08 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 1s9df1-0001TD-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 06:33:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9deu-0007QM-Db; Wed, 22 May 2024 00:33: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 1s9der-0007MA-QT for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:32:57 -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 1s9deq-0004Qb-GW for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:32:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9dev-0005Jw-Vi for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 00:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hannes Domani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 May 2024 04:33: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.171635234120442 (code B ref 70914); Wed, 22 May 2024 04:33:01 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 22 May 2024 04:32:21 +0000 Original-Received: from localhost ([127.0.0.1]:53198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9deG-0005Je-SP for submit@debbugs.gnu.org; Wed, 22 May 2024 00:32:21 -0400 Original-Received: from sonic302-19.consmr.mail.ir2.yahoo.com ([87.248.110.82]:43146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9deE-0005JY-JV for 70914@debbugs.gnu.org; Wed, 22 May 2024 00:32:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1716352327; bh=h8U7zVKIsShRsoUJER8DzKf2FFmnvsLERUg/iDdv3W8=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=Im+6Y8kXKR6eLWTG5zA0cuFOKPqDRA9UZmFVDeTNF7sPDfPPqrNfEaT/cfrxCO3+o44KmH5PbVrW2REPcuWeCuLTqPZeozF4nPxVPLkTvcEh1hD4CZgcitNx6ZdNkky1Gh5Q45sSwV0y+HCZO60ZYqQk8YIFQIF252Moa2h/gRhtcc62xLWIk1KWF6RbeoaGF2ZU2XE9TxjxDQQzjBvTiJ7n8teO6UXDRh72TC9vTIu3KzlOL7KVbefRUaM3BiMP7glrea7vWc2AhdYrV9igsIPyeaxGSXEEIuoOpqiaGB8unqtQDkGjrbgcCi7YMuiLR5HJzb8xOUcx8saw+Mdd0Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716352327; bh=dcg0a7+vu6TEwQZ5vUy+gAhWt7NK3hZzzmDuRCxNnTO=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Nlxsy7Wy2YAhJYWlcwZCyoMgSLTejsYa//V6Z3PlzUxpVe/uGHIj4oZk8GV6pT/QqR4WvhyGSHr6VGmPFZIopTu60OgAiFGGCT+QU0EhoDIQ7tRtnXbxD0gT9EGDaVFMhFzK+bS1Wv3vvPFIHIGH5QM6npGBDAO/LDMdiV7Yc7XSHm6HwuSrtOsmxv74sjOxXVeYQjElbqwLi5hpRk1A390L8QMEjzcEMucC07UrIlZGHzdcT87/uqVhsG01Vxyl7ggXpHkiP/RqV0eLR3O3yt1qU1BK7j9UnB/fFaVfAFnGOJR7o/r8J4EoMWOc5f/Eo5tiHC0VGNknXD8AuKp4FA== X-YMail-OSG: WN4UP4AVM1mdHFDeI8syLu2.tLYreY8NNQzas_fDpR7rA01r3116qzxtnwxHnii .4rGoZd4DqBQq_UTNhLpZGhFLIzEHz66OXK8tamdlb4JmFHAwRqpit_a5NXPVaZpnfVDAEdqATjR 0FtUB7LX4HSCiXal7mq64a0DpQuvA_7Kde7fpL.hqJKtxuiQA2.l.F_nwn.qcE4q3g9yqN6kSu9f u6qRb8wSXKTF7L.B31A_jC8pqOcEO3CWGJLnRMrN4gyWQ5.MFVnqibHbjJZGTWTwuOiI7a8Rbssr 0bF98Wej3RbfCU0Y.3.dzgLfdyP3qy1P52FFHfga8NuRSYaALN563viqKIJDwH.7DWJc0fsWr7Cx iM6c_B7OjxQCVAimDOQiwfaEKSEyCv3OAIZ3FSeC._S33hVe6KehYvyxeG3Ll1o0hnPSDft2JCGI SbKcd_xKCnbVsfWhhIXg1B9H_GmVTPR1h1G2x0eFPNtpfoB99dq14mRoNjlKsWeime0lKHa0b_AZ JSTbyL7iBfZW.ZbHLYdO7LowB9851E_Od9_CQJNzOJADtfRZm3sZVYEduGdfT2KtKmSVXgrldiY3 MqDheyPKlnNgB2nFhffXexJfrs7b58EZftUTRsfCnQLo3JUojkeLgV1.IUVRclpBact1mXEscuE5 mrkdKa3GSCdoAPsf_7esmYMlepAhUAMiurRtr93HbD0j6q7zAjADDlj6PW4HFSifn_HiEyLT6Yvd mwQQfDhVpx_Lg.kHI6wB3oHLjUsOQiw8qNJaiOQqmhrxzfolb_aSIzlXXWFVABNYFaXCywF9ghHT IfkF31YE4yUgDO7x9t67a1vUACoewImD_0ipDPCUBa X-Sonic-MF: X-Sonic-ID: 57055d51-3401-4a6f-8239-e19fa810dddb Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Wed, 22 May 2024 04:32:07 +0000 In-Reply-To: X-Mailer: WebService/1.1.22356 YMailNorrin 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:285570 Archived-At: Am Dienstag, 21. Mai 2024 um 22:32:04 MESZ hat Simen Endsj=C3=B8 Folgendes geschrieben: > Look at that! I tried running it twice, and it reported the same location= both > times. > > This is when opening my "system.org" file. My D: is a VHD DevDrive > (ReFs), but I have experiencing crashes since way before I migrated to a > DevDrive. > > I have some symlinked folders further down the tree too. And Developer Mo= de > 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 >=C2=A0=C2=A0=C2=A0=C2=A0 Thread 1 received signal SIGSEGV, Segmentation fa= ult. >=C2=A0=C2=A0=C2=A0=C2=A0 0x0000000000000000 in ?? () >=C2=A0=C2=A0=C2=A0=C2=A0 (gdb) bt >=C2=A0=C2=A0=C2=A0=C2=A0 #0=C2=A0 0x0000000000000000 in ?? () >=C2=A0=C2=A0=C2=A0=C2=A0 #1=C2=A0 0x0000000000000000 in ?? () >=C2=A0=C2=A0=C2=A0=C2=A0 (gdb) reverse-stepi >=C2=A0=C2=A0=C2=A0=C2=A0 0x00007ff7beeabe9d in get_volume_info (name=3D, > pPath=3D) at w32.c:3502 >=C2=A0=C2=A0=C2=A0=C2=A0 3502=C2=A0=C2=A0=C2=A0 } >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >=C2=A0=C2=A0=C2=A0=C2=A0 (gdb) bt >=C2=A0=C2=A0=C2=A0=C2=A0 #0=C2=A0 0x00007ff7beeabe9d in get_volume_info (n= ame=3D, > pPath=3D) at w32.c:3502 >=C2=A0=C2=A0=C2=A0=C2=A0 #1=C2=A0 0x0000000000000000 in ?? () >=C2=A0=C2=A0=C2=A0=C2=A0 Backtrace stopped: not enough registers or memory= available to > unwind further >From reading just this source file I'm not sure emacs supports long paths. How long is your path? Maybe you can show what it looks like? There might be a buffer overflow happening in get_volume_info(), this line looks suspicious to me: 3488=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strncpy (temp, name, root_len); If it turns out the problem is not in get_volume_info(), you might have to step further back with 'reverse-next' to see where it was called from. Hannes