alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Sebastian H." <vand2@gmx.de>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: alsa-lib TLVs and valgrind
Date: Wed, 02 Feb 2011 12:54:34 +0100	[thread overview]
Message-ID: <4D4945FA.4030506@gmx.de> (raw)


Hello list

I'm about to release a new version of alsamixer-qt4
(now named qasmixer) and ran the program through valgrind.

valgrind --track-origins=yes src/qasmixer &> valgrind.log


The log file contains tons of warnings like this

==3432== Conditional jump or move depends on uninitialised value(s)
...
... (qasmixer function calls)
...
==3432==  Uninitialised value was created by a heap allocation
... malloc (vg_replace_malloc.c:236)
... init_db_range (simple_none.c:1111)
... get_dB_range (simple_none.c:1156)
... get_dB_range_ops (simple_none.c:1173)
... snd_mixer_selem_get_playback_dB_range (simple.c:298)
...
... (qasmixer function calls)
...

The fresh alsa-lib-10-24.1 was used for this, compiled with debug
symbols enabled. Drivers are from Debian/squeeze.

This issue doesn't seem critical for the application but it totally
floods the valgrind.log file.

Best,
Sebastian Holtermann

             reply	other threads:[~2011-02-02 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 11:54 Sebastian H. [this message]
2011-02-02 13:12 ` alsa-lib TLVs and valgrind Clemens Ladisch
2011-02-02 13:18   ` Sebastian H.
2011-02-02 15:12     ` Clemens Ladisch
2011-02-02 15:16       ` Sebastian H.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D4945FA.4030506@gmx.de \
    --to=vand2@gmx.de \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).