GNU bug report logs - #45651
28.0.50; emacs native-comp crashes with pidigits bench

Previous Next

Package: emacs;

Reported by: Michael Schmidt <michael.a.schmidt <at> email.de>

Date: Mon, 4 Jan 2021 11:38:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 45651 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Michael Schmidt <michael.a.schmidt <at> email.de>
Cc: 45651 <at> debbugs.gnu.org
Subject: Re: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with
 pidigits bench
Date: Wed, 06 Jan 2021 20:44:51 +0000
Michael Schmidt <michael.a.schmidt <at> email.de> writes:

> Hi Andrea,
>  
> [here an extended version with cc to 45651 <at> debbugs.gnu.org]
>  
> Clean build with
>
>     emacs-8ad983c4acef60a80e8d6b6ba891b1ef957f2d7c.tar.gz  
>  
> Fedorea 33 VirtualBox 24GB+10GB swap: pidigits passed with ~61% peak memory consumption.
> Fedorea 33 VirtualBox 16GB+10GB swap: pidigits passed with ~98% peak memory consumption.
> Fedorea 33 VirtualBox 8GB  +10GB swap: pidigits crashed as described before. Please no "Eight gigabytes of memory and
> constantly swaping" ;-)
> dmesg unchaged after boot, no further info.
>  
> A build without nativecomp passed pidigits with ~1.5% memory consumption.
> Really looks like a memory leak.

Yeah I think this is a bug in the benchmark.  This is compiled at speed
3 and the programmer should be responsible to "garbage-collect-maybe" in
hot loops if this is required.

If this theory is correct you should see the issue disappearing adding
~(declare (speed 2))~ to `elb-pidigits'.

  Andrea




This bug report was last modified 4 years and 64 days ago.

Previous Next


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