From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#53136: 28.0.90; segfault in lock_file Date: Sun, 09 Jan 2022 15:10:38 +0200 Message-ID: <83v8yt9hrl.fsf@gnu.org> References: <871r1hv40o.fsf.ref@yahoo.com> <871r1hv40o.fsf@yahoo.com> <83bl0l2we3.fsf@gnu.org> <87r19htjlp.fsf@yahoo.com> <838rvp2tcw.fsf@gnu.org> <875yqtt9qk.fsf@yahoo.com> <83wnj99ieh.fsf@gnu.org> <87mtk5rrlm.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53136@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 09 14:11:40 2022 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 1n6Xz0-00038Y-I0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 14:11:38 +0100 Original-Received: from localhost ([::1]:45118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Xyy-0007nb-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 08:11:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6XyQ-0007nL-Kt for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 08:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6XyQ-0005Qn-Bg for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 08:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6XyQ-0002nN-2l for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jan 2022 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53136 X-GNU-PR-Package: emacs Original-Received: via spool by 53136-submit@debbugs.gnu.org id=B53136.164173386010737 (code B ref 53136); Sun, 09 Jan 2022 13:11:02 +0000 Original-Received: (at 53136) by debbugs.gnu.org; 9 Jan 2022 13:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:49363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6XyO-0002n7-48 for submit@debbugs.gnu.org; Sun, 09 Jan 2022 08:11:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6XyK-0002ms-C8 for 53136@debbugs.gnu.org; Sun, 09 Jan 2022 08:10:58 -0500 Original-Received: from [2001:470:142:3::e] (port=54066 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6XyF-0005Ox-5V; Sun, 09 Jan 2022 08:10:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UhwrZAkZ4A7RZDYejUxSeY2PnQEGfjJt2I8Yl0y/0js=; b=RTKRDUufVnKc frUAxribORepNDMACTmpLaM1f4STS5XebU4nbS6sEUGeIjewNuace04usBvjQ21F4b3ZmnZ9iv2dG XkteU4l3d0Ad0z1JSTAiMIGcJdNxUsedqPDKzaTx66GAhVtEfKX3y87IHfM3edXz+aUOEnlsKmpAu AATCuDhoWz/Cn78gtk8jIDJMwPBH9Q3jkLls15G/ar6HJCgNeAwZxq5g9tYsaPW1jYrcsiL9871+p dK86zDCpu7R/UW/lLdFJdVKvv3Bszd9muHvfdTAOxeOrzlAvsB6OgXNrbTXSYIGv4Qe0wDeS6DwUe dV5BrvZvxSFcGZ2+/uSgRw==; Original-Received: from [87.69.77.57] (port=1668 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6XyF-00069G-67; Sun, 09 Jan 2022 08:10:51 -0500 In-Reply-To: <87mtk5rrlm.fsf@yahoo.com> (message from Po Lu on Sun, 09 Jan 2022 21:00:53 +0800) 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" Xref: news.gmane.io gmane.emacs.bugs:223846 Archived-At: > From: Po Lu > Cc: 53136@debbugs.gnu.org > Date: Sun, 09 Jan 2022 21:00:53 +0800 > > Eli Zaretskii writes: > > > What is the contents of lock_info.user upto the first null byte? > > It's "oldosfan" (which is correct). No, it's not: it should be of the form USER@HOST.PID[:BOOT-TIME]. See the commentary around line 288 in filelock.c. The string is generated in lock_file_1. maybe you can step into it and see what happens there. What is "oldosfan"? is it the user or the host name?