GNU bug report logs - #52560
Profiles don't survive roundtrips via files

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: Paul Pogonyshev <pogonyshev@HIDDEN>; Keywords: moreinfo; dated Thu, 16 Dec 2021 18:12:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 52560) by debbugs.gnu.org; 22 Dec 2021 12:31:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 22 07:31:06 2021
Received: from localhost ([127.0.0.1]:57022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n00lu-00062e-LK
	for submit <at> debbugs.gnu.org; Wed, 22 Dec 2021 07:31:06 -0500
Received: from quimby.gnus.org ([95.216.78.240]:48634)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1n00ls-0005v1-Bt
 for 52560 <at> debbugs.gnu.org; Wed, 22 Dec 2021 07:31:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=AdkyXjXb2twE2WJTn/W8fD5YZK2FSmH47hO1fA0PZvg=; b=umCnIBn0w7wT9ntyoJopCzGyYm
 aJoyHlvei3oqqO2aH0msfjCDdc0+CouV/ZHO71wQAmDLc9e8OuhHrw6wM4M9s07GvFGjrBj2H5aPE
 8hzlBnshDrH0sm6KH7RxlgOK9l2TiLcYDJ6vdSz0hrbZ/b09Ettrbedf/gl365LKR9RI=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1n00lj-0008Nx-Td; Wed, 22 Dec 2021 13:30:58 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Paul Pogonyshev <pogonyshev@HIDDEN>
Subject: Re: bug#52560: Profiles don't survive roundtrips via files
References: <CAG7BpapqyYvdjKO=71bNd0krAtm7o0AtWjh_3gyXnXPk3_ciqQ@HIDDEN>
 <87v8zkvmil.fsf@HIDDEN>
 <CAG7BpapCvb26jEuhPRW7yRDSZs3SnFsNeY=pazqH2jicNs9B6g@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXZUEb9/f3XqaTj
 09BVKyf////XUO5+AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UMFgwEOH+rQS0AAAG4SURBVDjLdZON
 ccMgDIVlzAAWdAB+PIAFHYA67D9Tn3AvIU2iS862PiGJJyDiVwsLM9HyBqwKVm8EHy6zvwNSYAp+
 seT+Q+ny10ARQK3f9lsJ3Z7FAKSD1gs0/A0fljqenjeXaACroP84fSUKuQRRMNxk+2kb3G18VYoI
 7cjQbC+94VWzUdrIXNGt2yxBYzSBCYVEI/QbWzquPJaMkxAV2JO0S2dqQLxtCx85aj8mbkOXxE47
 VrCKAuEBPJQJqEc3PkxEPy2JU1BZ6wA0OWgZ7YmTP/mcdtVMQLvaSLwL7odEANezymMUly6XLXma
 EXLpHrMCkQm0AaAWjc09gOrWsDf4jxlcyduYoJd5xRioGRGzH2NEgR4HiJMfQx1A+F/tWjRXH8X8
 E8ilU9zho8zxCTh7SoKepGN4WCl1N6XcFLg0teV8wsH0XcE2F3GYwH5WzA4nq84r2MUa8o4V3qwz
 EKn8ZcIeiWdt0Qk6Kk0PDsvTRhwSi4O8LzctpSRbxxRfL1rF0YW9AlXyPcB8P4DvAWqqucImsLW3
 xVEEpxErnqPVvN5XLrmk/yvoU6pP7X4EG9n3qXYc01+TTl5+r2VD4gAAACV0RVh0ZGF0ZTpjcmVh
 dGUAMjAyMS0xMi0yMlQxMjowNDo1NiswMDowMIZzRTgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEt
 MTItMjJUMTI6MDQ6NTYrMDA6MDD3Lv2EAAAAAElFTkSuQmCC
X-Now-Playing: Morgan Caney & Kamal Joory's _Magic Radios_: "Flyway"
Date: Wed, 22 Dec 2021 13:30:55 +0100
In-Reply-To: <CAG7BpapCvb26jEuhPRW7yRDSZs3SnFsNeY=pazqH2jicNs9B6g@HIDDEN>
 (Paul Pogonyshev's message of "Mon, 20 Dec 2021 13:31:49 +0100")
Message-ID: <87y24ces8w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Paul Pogonyshev <pogonyshev@HIDDEN> writes: > You need
 any profile that involves unnamed byte-compiled functions, > i.e. lambda in
 code. Also, not as leaves, they must call other > functions, because the
 problem appears when merging profile bac [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52560
Cc: 52560 <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 (---)

Paul Pogonyshev <pogonyshev@HIDDEN> writes:

> You need any profile that involves unnamed byte-compiled functions,
> i.e. lambda in code. Also, not as leaves, they must call other
> functions, because the problem appears when merging profile backtraces
> with this, i.e. there must be several.  Maybe "default" backtrace of
> running Emacs in 28 and up doesn't include those, but I'm pretty sure
> unnamed functions could not just disappear.

When "doing whatever" includes doing a completing-read, I get some
#<compiled> things...  but after following your recipe, I'm still not
sure I understand what the problem is.  Can you include some screenshots
of the good display and the bad display?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52560; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 52560) by debbugs.gnu.org; 19 Dec 2021 11:53:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 19 06:53:55 2021
Received: from localhost ([127.0.0.1]:44969 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1myulG-00032F-Ok
	for submit <at> debbugs.gnu.org; Sun, 19 Dec 2021 06:53:55 -0500
Received: from quimby.gnus.org ([95.216.78.240]:40550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1myulE-000322-Ln
 for 52560 <at> debbugs.gnu.org; Sun, 19 Dec 2021 06:53:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=/oXEnyRJYoXjxlw8oQWlUFyqGzuosLoJaxCX+x3Brg8=; b=j7sGqJKfMU+M6AXgchDJETzpCC
 qiAveLy+4MbB+x2HWjR5sIIv0YHATXhi7myNC8uVD7x0aPLdVfKdWWkwHWAg31p4lIa4k5ybG1wDR
 g1UbzUsQ5XqULcdAp3s/nhj7iqR3YOVlIxq2coWtY3HOPrMiXJV+wv9xquQHeRnjrR7Y=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1myul6-0003KQ-5D; Sun, 19 Dec 2021 12:53:46 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Paul Pogonyshev <pogonyshev@HIDDEN>
Subject: Re: bug#52560: Profiles don't survive roundtrips via files
References: <CAG7BpapqyYvdjKO=71bNd0krAtm7o0AtWjh_3gyXnXPk3_ciqQ@HIDDEN>
X-Now-Playing: John Martyn's _Bless the Weather_: "Walk to the Water (Take 3)"
Date: Sun, 19 Dec 2021 12:53:38 +0100
In-Reply-To: <CAG7BpapqyYvdjKO=71bNd0krAtm7o0AtWjh_3gyXnXPk3_ciqQ@HIDDEN>
 (Paul Pogonyshev's message of "Thu, 16 Dec 2021 19:11:03 +0100")
Message-ID: <87v8zkvmil.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Paul Pogonyshev <pogonyshev@HIDDEN> writes: > Emacs 27.2, 
 pretty sure it has existed since forever and still exists. > > To reproduce:
 > > M-x profiler-start RET RET > <do whatever for a few seconds> > M-x
 profiler-stop RET > M-x profiler-repor [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52560
Cc: 52560 <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 (---)

Paul Pogonyshev <pogonyshev@HIDDEN> writes:

> Emacs 27.2, pretty sure it has existed since forever and still exists.
>
> To reproduce:
>
> M-x profiler-start RET RET
> <do whatever for a few seconds>
> M-x profiler-stop RET
> M-x profiler-report RET
>
> After expanding a few nodes under `command-execute' you should come to
> something like `#<subr call-interactively>'.
>
> Now continue:
>
> M-: (profiler-write-profile (profiler-cpu-profile) "/tmp/buggy-elisp.prof") RET
> M-: (profiler-report-profile (profiler-read-profile "/tmp/buggy-elisp.prof")) RET
>
> Expand the same nodes and observe that nodes with `#<whatever>' under them
> no longer match, after file-roundtrip these `#<...>' multiply like crazy. 

I'm unable to reproduce this in Emacs 29 -- but then again, the profiles
report doesn't say things like #<whatever> in Emacs 29, so I may be
misunderstanding what you mean.

Could you try Emacs 28 (or 29) and see whether this problem still exists
there?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at submit) by debbugs.gnu.org; 16 Dec 2021 18:11:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 16 13:11:20 2021
Received: from localhost ([127.0.0.1]:36752 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxvDs-00078L-FU
	for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 13:11:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:58660)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pogonyshev@HIDDEN>) id 1mxvDr-00078E-1L
 for submit <at> debbugs.gnu.org; Thu, 16 Dec 2021 13:11:20 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58072)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pogonyshev@HIDDEN>)
 id 1mxvDq-0001kT-TJ
 for bug-gnu-emacs@HIDDEN; Thu, 16 Dec 2021 13:11:18 -0500
Received: from [2a00:1450:4864:20::52c] (port=40704
 helo=mail-ed1-x52c.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <pogonyshev@HIDDEN>)
 id 1mxvDp-00022c-D5
 for bug-gnu-emacs@HIDDEN; Thu, 16 Dec 2021 13:11:18 -0500
Received: by mail-ed1-x52c.google.com with SMTP id z29so9864686edl.7
 for <bug-gnu-emacs@HIDDEN>; Thu, 16 Dec 2021 10:11:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=7HN1Ukyia8r4CX90c1WQC+L1v69od5ggA9QKQOU6IoE=;
 b=epWNUexi29DbWqo3nhhRJqHPkWXYZdnsl/j4lWuywIKGx68EcXTx8ggbIq3hsgBbvP
 j2CjJPM+hthlt5FXuUJNi4Lyl/EIveNHBopGWCDqfoUVg/IQIOx9Ps3O3q2ZIWp+V6HC
 AIf3JPSWZmRHt1JuSmOkndI5LRf7HWgzw3Lr5JrGpmluQfmS0n0OsYDawK3M/qruZ17P
 LgOfTUcx8gYy5rGitV07PRgU29q8eDPiz23L4c4A7Hm5J6k1Ljy3W1VXpm2rEG5Tsr+G
 3CLiCHDfsEGtOGlb4NyV+gbdJ7Kzymyk01bqSENjRa54z1HWSd+cIqAARGMb+gPVafOj
 YhZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=7HN1Ukyia8r4CX90c1WQC+L1v69od5ggA9QKQOU6IoE=;
 b=qmC7dlx/zDGwxh6t811UXteg2B4YZ6JNeBa19p4F8AsitVn+VhgkOPCqCQi2cgjWnh
 Op7HusY9KYlbzXVdOsmYACnMatTM2BLnn/mQZx4rKHn9y2g4zPJuOLpiV+X85fOrEFai
 eIfsdxiJbiE8B/Ijqky5hMQKtveLHmOyk6m9kdwVpoz2c8UT2tb8HloX5YkRNMN3B/Hy
 2xlyfO2zFyLtPjL3AUKjs+dnb65tXgkMVtgLi/C9lIjk1ua8FPlWDDBCBzVdrwEl7NfO
 ALaCO/f8aVEt66W8hO5dnAYUQBjyffEXwLcGomf8QGKBcePe+hy6MElVoXWyQrekcn0J
 jX/A==
X-Gm-Message-State: AOAM5313pdr8MHflTUedNsJ53YBm8q7yLizWaYf78U7SuRYkDmUJihXP
 hN3/W1EFNZSca+jUInF/WeptEzNmeAjj4ct7GF+l+phmSg==
X-Google-Smtp-Source: ABdhPJz6Q2nZIATCiEm4NC9DD66Ga8Ib6k1L6/BgyVmBK0n3cj490Hcec36PR6Q4N6ZqGsi6+qMrNShoeym16AW2sas=
X-Received: by 2002:a17:906:4789:: with SMTP id
 cw9mr17608555ejc.518.1639678274950; 
 Thu, 16 Dec 2021 10:11:14 -0800 (PST)
MIME-Version: 1.0
From: Paul Pogonyshev <pogonyshev@HIDDEN>
Date: Thu, 16 Dec 2021 19:11:03 +0100
Message-ID: <CAG7BpapqyYvdjKO=71bNd0krAtm7o0AtWjh_3gyXnXPk3_ciqQ@HIDDEN>
Subject: Profiles don't survive roundtrips via files
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000001fdd0505d34759af"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52c
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::52c;
 envelope-from=pogonyshev@HIDDEN; helo=mail-ed1-x52c.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
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>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000001fdd0505d34759af
Content-Type: text/plain; charset="UTF-8"

Emacs 27.2, pretty sure it has existed since forever and still exists.

To reproduce:

M-x profiler-start RET RET
<do whatever for a few seconds>
M-x profiler-stop RET
M-x profiler-report RET

After expanding a few nodes under `command-execute' you should come to
something like `#<subr call-interactively>'.

Now continue:

M-: (profiler-write-profile (profiler-cpu-profile) "/tmp/buggy-elisp.prof")
RET
M-: (profiler-report-profile (profiler-read-profile
"/tmp/buggy-elisp.prof")) RET

Expand the same nodes and observe that nodes with `#<whatever>' under them
no longer match, after file-roundtrip these `#<...>' multiply like crazy.
It seems what's going on is that these things get stored as strings in the
file, and after rereading them into memory, they no longer compare as equal
by profiler calltree-building code.

Paul

--0000000000001fdd0505d34759af
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Emacs 27.2, pretty sure it has existed since forever =
and still exists.</div><div><br></div>To reproduce:<div><br></div><div>M-x =
profiler-start RET RET</div><div>&lt;do whatever for a few seconds&gt;</div=
><div>M-x profiler-stop RET</div><div>M-x profiler-report RET</div><div><br=
></div><div>After expanding a few nodes under `command-execute&#39; you sho=
uld come to something like `#&lt;subr call-interactively&gt;&#39;.</div><di=
v><br></div><div>Now continue:</div><div><br></div><div>M-: (profiler-write=
-profile (profiler-cpu-profile) &quot;/tmp/buggy-elisp.prof&quot;) RET<br><=
/div><div>M-:=C2=A0(profiler-report-profile (profiler-read-profile &quot;/t=
mp/buggy-elisp.prof&quot;)) RET</div><div><br></div><div>Expand the same no=
des and observe that nodes with `#&lt;whatever&gt;&#39; under them no longe=
r match, after file-roundtrip these `#&lt;...&gt;&#39; multiply like crazy.=
 It seems what&#39;s going on is that=C2=A0these things get stored as strin=
gs in the file, and after rereading them into memory, they no longer compar=
e as equal by profiler calltree-building code.</div><div><br></div><div>Pau=
l<br></div></div>

--0000000000001fdd0505d34759af--




Acknowledgement sent to Paul Pogonyshev <pogonyshev@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#52560; 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: Wed, 22 Dec 2021 12:30:02 UTC

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