emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valgrind warnings [Re: Emacs bzr memory footprint]


From: Paul Eggert
Subject: Re: valgrind warnings [Re: Emacs bzr memory footprint]
Date: Fri, 04 Nov 2011 13:56:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

I like the idea of creating a src/valgrind.supp file.
I looked at Dan's proposal and merged it with mine,
adding some comments to try to explain things
(merged version attached).

One question/problem that I had with Dan's is this rule:

  {
    survives_gc_p_cond
    Memcheck:Cond
    fun:survives_gc_p
    fun:sweep_weak_table
    fun:sweep_weak_hash_tables
    fun:Fgarbage_collect
    fun:*
  }

As near as I can make out, if survives_gc_p is accessing
uninitialized storage, it's buggy, no?  Shouldn't we omit
this rule and fix the bug instead?

Attachment: valgrind.supp
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]