From unknown Sun Jun 15 13:02:13 2025
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
From: bug#42671 <42671@debbugs.gnu.org>
To: bug#42671 <42671@debbugs.gnu.org>
Subject: Status: 28.0.50; Edebugging secondary CL methods generates
duplicate symbols
Reply-To: bug#42671 <42671@debbugs.gnu.org>
Date: Sun, 15 Jun 2025 20:02:13 +0000
retitle 42671 28.0.50; Edebugging secondary CL methods generates duplicate =
symbols
reassign 42671 emacs
submitter 42671 Philipp Stephani
severity 42671 normal
thanks
From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 07:05:07 2020
Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 11:05:07 +0000
Received: from localhost ([127.0.0.1]:41821 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1k2Bne-0006RB-LH
for submit@debbugs.gnu.org; Sun, 02 Aug 2020 07:05:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:41658)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1k2Bna-0006Qx-8c
for submit@debbugs.gnu.org; Sun, 02 Aug 2020 07:05:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52038)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1k2Bna-0006Uc-4O
for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 07:05:02 -0400
Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:37213)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1k2BnY-0008F8-3q
for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 07:05:01 -0400
Received: by mail-ej1-x62a.google.com with SMTP id qc22so20940018ejb.4
for ; Sun, 02 Aug 2020 04:04:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=Obzu1hJujun2VLiyPlEkFxhGvlI4sJQ+WFxasZ48EYE=;
b=KVx6SbWC0kIcJgSVqWQJxpKAzI79DXWV3KQ3eykmtWTfRSRzSgoEgRIA64LWqAvLSj
jol5FbXCvVoaYIqAG+KUE+RSxkH4hsQk2p0CvwqiVIL1/h3KAx5MMDEBOSFsxl+T6T2s
zgrOAl51mV8K807ZfsBBeb+LTikgeyRE6ZrRpVhm3fottkUWW/BXBHnTUZARKf5hvIN7
DsoHkfH10W+gnCmEcoXW0K1voyf/sgdvDi3VF6z9dDJBKvRPTg1kKUNjl4coQZg54jjL
yTSl1IuGiYrNSwhoUayRIoco+N9f7zY+9cf197ewsCLzXdzzdP6vHlocMXujKPEJ1H1M
n5Ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=Obzu1hJujun2VLiyPlEkFxhGvlI4sJQ+WFxasZ48EYE=;
b=tHvf9fDvF7i+h3qES9xR1jxIq2OWRFFWerMX/kvrVwiHDHaxhSaa0e/CnZpaFO4xIK
9wZAA4dC9bu8hzFI+keq/yuU4TF/zJaSZ+a1PP3NRQt1AeMKSDfqH6KaroXtlrsBQhdh
EXgA6eYKkKyfTzp+WlIOP6UlVmgNXiN+VZC9loJaSGq3XEdxKIc8NoUDdLqs4gOZ1bQv
OUCohsQ33Ljwy+hd80L9QzN0D2xVBNrhBigVBYUKQ7Q4c7uqa8lobQASQyh+D6owGu+x
32qA6b9/J/i5Wh8QK0xivAuhP2RqZDPG1C6Nb6qOt4Pk1GwaKo3LCr9B1K0XgeGfMsj0
05LA==
X-Gm-Message-State: AOAM533cp7Cfnsr5cA0RUKsNKm6poyZ0+y6+nL5QniELSVb0G7Ua289I
8YtXDHSimvCS8VIU8Z3sXG+FQs9c
X-Google-Smtp-Source: ABdhPJzF7ctSvjm/lcuiD7lmpz3GcPi1gnAZagZ/bajDBPr1gcwjRPb+cPKUmSFl1STs8V/PmvcwqQ==
X-Received: by 2002:a17:907:208e:: with SMTP id
pv14mr12671131ejb.438.1596366298034;
Sun, 02 Aug 2020 04:04:58 -0700 (PDT)
Received: from phst1 (p57997836.dip0.t-ipconnect.de. [87.153.120.54])
by smtp.gmail.com with ESMTPSA id p3sm8684820edb.92.2020.08.02.04.04.57
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 02 Aug 2020 04:04:57 -0700 (PDT)
From: Philipp Stephani
To: bug-gnu-emacs@gnu.org
Subject: 28.0.50; Edebugging secondary CL methods generates duplicate symbols
Date: Sun, 02 Aug 2020 13:04:56 +0200
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::62a;
envelope-from=p.stephani2@gmail.com; helo=mail-ej1-x62a.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
That's all we know.
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -2.1 (--)
Create a file /tmp/defmethod.el:
$ cat /tmp/defmethod.el=20
(cl-defmethod foo ((_ number)))
(cl-defmethod foo :around ((_ number)))
These two methods have identical signatures and names, yet they are
different because the second one is a secondary method. If you then
instrument (C-u C-M-x) both of them, Edebug will generate the duplicate
symbol `foo ((_ number))'. A symptom is the message
Edebug: foo ((_ number)) [2 times]
appearing twice in the *Messages* buffer. This is a problem when using
Edebug for code coverage, as the coverage reporting for one of them will
be wrong. Edebug already attempts to include the signature in the
generated symbol; it should also include all qualifiers.
In GNU Emacs 28.0.50 (build 60, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, =
cairo version 1.16.0)
of 2020-08-02
Repository revision: 929e7e141c5780e51173fda7d7fc5b73411e4465
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux rodete
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --enable-gcc-warnings=3Dwarn-only
--enable-gtk-deprecation-warnings --without-pop --with-mailutils
--enable-checking=3Dall --enable-check-lisp-object-type --with-modules
'CFLAGS=3D-O1 -ggdb3 -fno-omit-frame-pointer -fsanitize=3Daddress
-fsanitize=3Dundefined -fsanitize=3Dpointer-compare
-fsanitize=3Dpointer-subtract''
Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER
Important settings:
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=3Dibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822
mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro
kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars mailcap subr-x rx gnutls puny seq
byte-opt gv bytecomp byte-compile cconv dbus xml compile comint
ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 68773 7900)
(symbols 48 8629 1)
(strings 32 23738 1713)
(string-bytes 1 764236)
(vectors 16 13111)
(vector-slots 8 166364 5896)
(floats 8 25 30)
(intervals 56 221 0)
(buffers 992 11))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese f=C3=A4lschlicherweise erhal=
ten haben
sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6sche=
n Sie
alle Kopien und Anh=C3=A4nge davon und lassen Sie mich bitte wissen, dass d=
ie E-Mail
an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake,
please don=E2=80=99t forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.
From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 10:27:02 2020
Received: (at 42671-done) by debbugs.gnu.org; 2 Aug 2020 14:27:02 +0000
Received: from localhost ([127.0.0.1]:43094 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1k2Ex4-0007f9-2F
for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:27:02 -0400
Received: from mail-ot1-f54.google.com ([209.85.210.54]:37528)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1k2Ex2-0007en-UH
for 42671-done@debbugs.gnu.org; Sun, 02 Aug 2020 10:27:01 -0400
Received: by mail-ot1-f54.google.com with SMTP id e11so1904173otk.4
for <42671-done@debbugs.gnu.org>; Sun, 02 Aug 2020 07:27:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=1jPXkTgQXrxW4DH8UdVFKqdtD2+2MKI+tfECdPuF2oY=;
b=k9vRDmTVWM7Eug016jutNEF2hGZ2DQnHrQmWx/T+zryBVzghNIyu5HohD8Dk5Xrmds
Ggyw0ow4JwgS+7OdX6QrAxxOVUhIGwzzQGvIX4jc6VBQ/RARXyZd35SUeRe7ejhgzAyo
vQDUP0p6BuQWRX/6gR8c4xqqTRzW+KYNuknLt/nEz3m5FbzMHcMrACLMKjci/vmke9ai
ShNMbQ/eV6myVN4TeaYFNfpMwAq32kt2WXnjDekXJQyVSDFeeYzJq1HGoHbBLTX3v+HP
yb9UwQbnvzJhBdKz+UvG9yjbKyyxwCiRYj1M+xe5AIjrQfpbhkZ+DXhtmOEQF7uvrMOp
jxSQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=1jPXkTgQXrxW4DH8UdVFKqdtD2+2MKI+tfECdPuF2oY=;
b=HSse8hYZKrVjy5juJczD4eb13iB7EEiVEtjtGR+1fcKYVGDvgA5qqXNsvOUlcGNbmZ
GjX751m1BqMWKOzItDLlKlD/R+HYd+Q2DeeEnYJzOpm03UTwf5+7Kf2QtOKYNy+OIp8U
bNotDk2b8+/M0oTUoU9iEFbj2hH0pGMU0h8N+J1C149frxutvYfPrzmM8FpJM+9ul+f0
nrzbNj5ZO1u6fNP8PH99pUPZxV80kX1nJvyzSAndWoZqtbXuaVNbcTSl7/Z73m9Yf6ne
doczUr7/ZvLBiFmHLWpALESOdcJsdKC9taL9PXKgq8k9jGQcYe3pJjr6vboLHC5vNGTX
j+OQ==
X-Gm-Message-State: AOAM533AqgEsqLHXdQHa6suhMDDjvlTb4ZLrHzFD3nqarbeTG7G2hrFR
CQ5+ekWtsrR1mSdc1bFPFvH6MEgr+3Y/Zb6WWmm/TOGK
X-Google-Smtp-Source: ABdhPJwApSUwJpyZklZzr6hoQAReoJwn56MiK8Iw0OGATgNN0zryYrKwfmmB+O3ZKGlzjSskyFmzIGi1aGExzyJfn1k=
X-Received: by 2002:a9d:2203:: with SMTP id o3mr9620654ota.149.1596378414887;
Sun, 02 Aug 2020 07:26:54 -0700 (PDT)
MIME-Version: 1.0
References:
In-Reply-To:
From: Philipp Stephani
Date: Sun, 2 Aug 2020 16:26:43 +0200
Message-ID:
Subject: Re: bug#42671: 28.0.50; Edebugging secondary CL methods generates
duplicate symbols
To: 42671-done@debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 42671-done
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.8 (/)
Am So., 2. Aug. 2020 um 13:06 Uhr schrieb Philipp Stephani
:
>
>
> Create a file /tmp/defmethod.el:
>
> $ cat /tmp/defmethod.el
> (cl-defmethod foo ((_ number)))
> (cl-defmethod foo :around ((_ number)))
>
> These two methods have identical signatures and names, yet they are
> different because the second one is a secondary method. If you then
> instrument (C-u C-M-x) both of them, Edebug will generate the duplicate
> symbol `foo ((_ number))'. A symptom is the message
>
> Edebug: foo ((_ number)) [2 times]
>
> appearing twice in the *Messages* buffer. This is a problem when using
> Edebug for code coverage, as the coverage reporting for one of them will
> be wrong. Edebug already attempts to include the signature in the
> generated symbol; it should also include all qualifiers.
Fixed with commit e6eb554b95.
From unknown Sun Jun 15 13:02:13 2025
Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control@debbugs.gnu.org
From: Debbugs Internal Request
Subject: Internal Control
Message-Id: bug archived.
Date: Mon, 31 Aug 2020 11:24:07 +0000
User-Agent: Fakemail v42.6.9
# This is a fake control message.
#
# The action:
# bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator