* Memory leak?
@ 2008-08-02 13:20 Alan Mackenzie
2008-08-02 16:09 ` David Kastrup
2008-08-03 1:44 ` Gilaras Drakeson
0 siblings, 2 replies; 3+ messages in thread
From: Alan Mackenzie @ 2008-08-02 13:20 UTC (permalink / raw)
To: emacs-devel
Hi, Emacs,
in my recent attempts to build Emacs-23, I have encountered Seg-faults
continually. These occur when the (prototype) Emacs is byte-compiling
the mass of Emacs lisp files.
However, if I just type 'make', the build continues.
My system is Debian-Sarge GNU/Linux.
My first suspicion was that my swap partition was too small. So I
terminated all competing applications, but that didn't prevent the
problem.
So I suspect there is a store leak somewhere. Would somebody please
suggest some appropriate tool(s) for me to look at this with. A graphic
X-Window program continuously displaying allocated/free store is the
sort of thing I'm thinking of.
Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Memory leak?
2008-08-02 13:20 Memory leak? Alan Mackenzie
@ 2008-08-02 16:09 ` David Kastrup
2008-08-03 1:44 ` Gilaras Drakeson
1 sibling, 0 replies; 3+ messages in thread
From: David Kastrup @ 2008-08-02 16:09 UTC (permalink / raw)
To: emacs-devel
Alan Mackenzie <acm@muc.de> writes:
> Hi, Emacs,
>
> in my recent attempts to build Emacs-23, I have encountered Seg-faults
> continually. These occur when the (prototype) Emacs is byte-compiling
> the mass of Emacs lisp files.
>
> However, if I just type 'make', the build continues.
>
> My system is Debian-Sarge GNU/Linux.
>
> My first suspicion was that my swap partition was too small. So I
> terminated all competing applications, but that didn't prevent the
> problem.
>
> So I suspect there is a store leak somewhere.
A normal leak would not likely bring a byte compile session to a
standstill. It is more likely that you have run out of pure space when
dumping Emacs. When that happens, garbage collection is no longer done
at all. If you write
M-: (garbage-collect) RET
and get nil, this has happened.
Try recompiling Emacs and watch for "pure space overflow".
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Memory leak?
2008-08-02 13:20 Memory leak? Alan Mackenzie
2008-08-02 16:09 ` David Kastrup
@ 2008-08-03 1:44 ` Gilaras Drakeson
1 sibling, 0 replies; 3+ messages in thread
From: Gilaras Drakeson @ 2008-08-03 1:44 UTC (permalink / raw)
To: emacs-devel
Hi,
> in my recent attempts to build Emacs-23, I have encountered Seg-faults
> continually. These occur when the (prototype) Emacs is byte-compiling
> the mass of Emacs lisp files.
>
> However, if I just type 'make', the build continues.
>
> My system is Debian-Sarge GNU/Linux.
Does cat /proc/sys/kernel/randomize_va_space return 2, by any chance? I
get a segfault in that case on Debian sid GNU/Linux, whenever I try to
dump-emacs.
Gilaras Drakeson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-03 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02 13:20 Memory leak? Alan Mackenzie
2008-08-02 16:09 ` David Kastrup
2008-08-03 1:44 ` Gilaras Drakeson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).