GNU bug report logs - #75840
31.0.50; epg

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: rms@HIDDEN; dated Sat, 25 Jan 2025 20:37:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 75840 <at> debbugs.gnu.org:


Received: (at 75840) by debbugs.gnu.org; 26 Jan 2025 12:22:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 26 07:22:26 2025
Received: from localhost ([127.0.0.1]:55045 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tc1ek-0004fO-7X
	for submit <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59948)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tc1eh-0004f5-Sn
 for 75840 <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:24 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tc1ec-0004ZN-Iu
 for 75840 <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:18 -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=+Selk/QVGeWCM+bpIunwbPk1bxD+1uFVTe3Q/lYmm7o=; b=eGV8Z9Qu2Nbz
 MbFgoqZ3F3rwzecsCIgonYp98pqPPJ1KIaUyDOobHzpJ+6iFmRmE+4SoYlpfTMAG/rhEWihHMZJA+
 /JHRNfd46jwTBwT1fSknZjsEMZ0y9YoAsCTljIexbtd3JcA3oqf6FQ1N4+mYYyHjrz7tFBx2/IYAy
 YLgoIlFd/sVFrN5Ooj+qd8cG01B0SlwOUAbvLwRtd+JFpdb42+lp3olXx8gjgIifGaOTCeSnTSk3q
 PVEqg7T9fFgYzXlvnNZZ2gsadZluMjQpOiQV544Jt98dCuwjTHJ/TuIxPereXnajhTaBbP7KdHr0G
 ePpuZe4k4A6w/alwtAccag==;
Date: Sun, 26 Jan 2025 14:22:09 +0200
Message-Id: <86a5bdsr2m.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: rms@HIDDEN
In-Reply-To: <E1tbmsw-0003kt-9E@HIDDEN> (message from Richard
 Stallman on Sat, 25 Jan 2025 15:36:06 -0500)
Subject: Re: bug#75840: 31.0.50; epg
References: <E1tbmsw-0003kt-9E@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75840
Cc: 75840 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Richard Stallman <rms@HIDDEN>
> Date: Sat, 25 Jan 2025 15:36:06 -0500
> 
> 
> I ran an Emacs command that invokes gpg, and it hung.
> It hung long enough that I concluded somehing was wrong.,
> and ytuped C-g.  I tried again and got similar resilt.
> I had no idea why encryption could do this.
> 
> Eentually I tried running gpg from a shell,.
> It thought for a long time and then ouput stuff
> about a trustdb check.  Since then gpg does not hang any more.
> I surmise that there was nothing actually broken, only
> the trustdb check took a long time.
> 
> I suggest changing Emacs to display `GPG is checking trustdb...'
> around that, so users won't get alarmed.

Please tell which command you invoked.  If you happen to know which
function checks the trustdb and hung, that would be even more helpful.
I almost never use epg and am not familiar with its code, and I don't
think we have epg experts on board to ask them to look into this.  So
I need every possible help from you to find the place where such a
message would be useful.

> I expect this would be easly for people who have worked
> a lot on epa and or epg.  It would be useful to add
> comments that explain in one place the way Emacs handles
> communication with the unferior GPG, fo both output and input.
> With that centralized eplanation, others would be able to
> do this too.

I agree, but I'm not aware of anyone around who knows enough about epg
to produce such an explanation.  The code is quite convoluted and
studying it is not something I can afford, sorry.  Patches are
welcome, of course.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75840; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Jan 2025 20:36:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 25 15:36:25 2025
Received: from localhost ([127.0.0.1]:52837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tbmtF-0002au-AJ
	for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 15:36:25 -0500
Received: from lists.gnu.org ([2001:470:142::17]:34320)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rms@HIDDEN>) id 1tbmtC-0002ae-Nh
 for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 15:36:24 -0500
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 <rms@HIDDEN>) id 1tbmt5-0000mq-VI
 for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 15:36:16 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1tbmt2-00011Y-Eq
 for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 15:36:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to:
 references; bh=h/hGc7R/S4V6y+5JMbdYyabd7E+Gqff37pV+OTSdNng=; b=lrljt7N6xwMZPU
 B7eGx4+pMJadwPWdzhnZCCgNnbqJwjQeIJNzcHLKMdAvj3S5yDdZHUKmnxwdH0W4sVMShDD6DfDIq
 tQZSR2TBAmHG72A+tSoizMzZs7rzGakV3TRQaEgUgT92k92nrfjGfbEbdS1P6UgXiw3qFzzmZETtr
 vazf2iATraLIO6Fv04i3VVYqUUEjeAN/wIBe7zHdT4lP7MCs0JloQIACtBldvp4F8C2Q/36DIxtTZ
 KY+7W96wLdTWWPBnnbtowXVtMeWghI/USaAV4FdSDCRvfhc4DA/ysfJiGlZ1TT2Rg35WVl/EWcofz
 c+ZxsWh2XzScJfYSeKxw==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@HIDDEN>)
 id 1tbmsw-0003kt-9E; Sat, 25 Jan 2025 15:36:07 -0500
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; epg
X-Debbugs-Cc: 
Message-Id: <E1tbmsw-0003kt-9E@HIDDEN>
Date: Sat, 25 Jan 2025 15:36:06 -0500
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


I ran an Emacs command that invokes gpg, and it hung.
It hung long enough that I concluded somehing was wrong.,
and ytuped C-g.  I tried again and got similar resilt.
I had no idea why encryption could do this.

Eentually I tried running gpg from a shell,.
It thought for a long time and then ouput stuff
about a trustdb check.  Since then gpg does not hang any more.
I surmise that there was nothing actually broken, only
the trustdb check took a long time.

I suggest changing Emacs to display `GPG is checking trustdb...'
around that, so users won't get alarmed.

I expect this would be easly for people who have worked
a lot on epa and or epg.  It would be useful to add
comments that explain in one place the way Emacs handles
communication with the unferior GPG, fo both output and input.
With that centralized eplanation, others would be able to
do this too.


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 2.24.33, cairo version 1.16.0) of 2024-08-01 built on freetop
Repository revision: a2c439db687774f7b57959c39560993579c5d1bd
Repository branch: master
System Description: Trisquel GNU/Linux Aramo (11.0)

Configured using:
 'configure 'CFLAGS=-O0 -g' --with-gnutls=ifavailable'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GPM GSETTINGS HARFBUZZ JPEG LIBOTF
LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2
XPM GTK2 ZLIB


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Acknowledgement sent to rms@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#75840; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 26 Jan 2025 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.