GNU bug report logs - #78762
[PATCH] Fix segfault in profiler-cpu-log and profiler-memory-log

Previous Next

Package: emacs;

Reported by: Zach Shaftel <zach <at> shaf.tel>

Date: Wed, 11 Jun 2025 20:04:01 UTC

Severity: normal

Tags: patch

Merged with 78763

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: zach <at> shaf.tel, 78762 <at> debbugs.gnu.org
Subject: bug#78762: closed (Re: bug#78762: [PATCH] Fix segfault in profiler-cpu-log and profiler-memory-log), Re: bug#78762: [PATCH] Fix segfault in profiler-cpu-log and profiler-memory-log, [PATCH] Fix segfault in profiler-cpu-log and profiler-memory-log
Date: Tue, 17 Jun 2025 14:17:34 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: Zach Shaftel <zach <at> shaf.tel>,  78762 <at> debbugs.gnu.org, Eli Zaretskii
>   <eliz <at> gnu.org>
> Date: Mon, 16 Jun 2025 14:57:26 -0400
> 
> 
> This segfault affects Emacs 30 too, so it should be backported to
> emacs-30.

It changes behavior (because it returns nil in some case).  Emacs 29
indeed didn't crash when the bug's scenario was run, but it signaled
an error, so this scenario never worked in Emacs.

So on balance I'd prefer not to backport it, sorry.




This bug report was last modified 27 days ago.

Previous Next


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