From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72559: 31.0.50; profiler-report-write-profile produced unreadable data Date: Sat, 10 Aug 2024 13:56:49 +0000 Message-ID: <877ccomqg3.fsf@protonmail.com> References: <87wmko35yn.fsf@localhost> Reply-To: Pip Cet 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="21119"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72559@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 10 15:57:45 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 1scmbJ-0005KT-8D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Aug 2024 15:57:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scmb9-0004Db-0c; Sat, 10 Aug 2024 09:57:35 -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 1scmb7-0004DS-B1 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2024 09:57:33 -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 1scmb7-0008L6-0f for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2024 09:57:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=ZQmp05/lBSeVOYIKw20dPzbFATVIxoyqi9Wf5i41AeM=; b=vvmaRtaGrTvzlQmG6teaflZGKdMJmcvCkVfcmZZZptdERwzyXuIVoDKG88topQ/6Db0yXeNOvxd/AkXZ7P3LKKVfavAUcVwz7sZ37wsGjmUwa2OZAJigOKScJie5M/+V0veM4+d2tu8a1mpVhQxZeWM2ckWqKbLsRvenHIZpRDxIFIgD2NVRNLiNL3wZ9qEU2V2H4U4WcdsBqUDuUb4hLnj8biyQqTK9j7pTVj81TId9HJKA5PKEXO6O2R6GRg+ul/rRuDjpD7EHHtPzyhRXRN1O6C0DH/DJMS12L6Fb7+xJZMXKFkO1c1HyhwKEMEHajZGW5SJPaie7fSSPEYuFHg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1scmbZ-0007cd-NN for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2024 09:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Aug 2024 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72559 X-GNU-PR-Package: emacs Original-Received: via spool by 72559-submit@debbugs.gnu.org id=B72559.172329825429265 (code B ref 72559); Sat, 10 Aug 2024 13:58:01 +0000 Original-Received: (at 72559) by debbugs.gnu.org; 10 Aug 2024 13:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:40236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scmb7-0007bw-J6 for submit@debbugs.gnu.org; Sat, 10 Aug 2024 09:57:33 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]:18679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scmb4-0007be-3K for 72559@debbugs.gnu.org; Sat, 10 Aug 2024 09:57:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1723298214; x=1723557414; bh=ZQmp05/lBSeVOYIKw20dPzbFATVIxoyqi9Wf5i41AeM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=FOjM95D5K4xqPiOtNwGjAZGCSrBNIaA3mnXsAwqWAe8NtOmEH9DToXLPV1k5NbWWk 432j0j6CyJILWjixQk2+9oj6c20Ttj9mTuGdwFIgcEl3LrOYgmlJ6vY0POzjzqr2pC sF/VKBPUhWcr+ipoIrVz9IE02LkipvZRfTx7aavJyErGbLcS9bYrPgh+Rpu2yuaNtK eT7x+H1//61SHmCggwyOmUhaYB7Xo/XXNhwCh405xjMC0VFnxUmH8RjM5K/ZOHraRJ jJGDiz1noDMVGuaEtp1ar8XUY7snn9EoKygNaZSqo4fyRJvDcaFd9vy2vw4nnCvtQZ 5lydZeiSxUQtQ== In-Reply-To: <87wmko35yn.fsf@localhost> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 9abdb0b40b5f383508d29cdd23eef086e62cf932 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:290004 Archived-At: "Ihor Radchenko" writes: > Since ~few months ago, I started having issues with profiler dumps > shared by users. The latest example is in > https://list.orgmode.org/87r0axvu7y.fsf@gmail.com/T/#u > > When trying to open the profiler data with M-x profiler-find-profile, I > keep getting > profiler-find-profile: Invalid read syntax: "#<", 2, 64028 > or similar errors. (Just trying to save others the work of going to character 64028 in that dump). In that example, the relevant section of the dump looks like this: #[0 "..." [# buffer-name kill-buffer] 2] Which looks like a byte code closure produced by make-closure, probably by with-temp-buffer: (defmacro with-temp-buffer (&rest body) "Create a temporary buffer, and evaluate BODY there like `progn'. The buffer does not run the hooks `kill-buffer-hook', `kill-buffer-query-functions', and `buffer-list-update-hook'. See also `with-temp-file' and `with-output-to-string'." (declare (indent 0) (debug t)) (let ((temp-buffer (make-symbol "temp-buffer"))) `(let ((,temp-buffer (generate-new-buffer " *temp*" t))) ;; `kill-buffer' can change current-buffer in some odd cases. (with-current-buffer ,temp-buffer (unwind-protect =09 (progn ,@body) (and (buffer-name ,temp-buffer) (kill-buffer ,temp-buffer))))))) No idea what a good fix would be, though. Pip