[SDL] SDL Audio Memory Errors
Bob Pendleton
bob at pendleton.com
Tue Jun 2 06:26:19 PDT 2009
The first thing I noticed is that the error occurs in libasound, not
in code that is part of the SDL code base. Have you verified that the
error is the result of a parameter created in SDL? That is, is there
anything the maintainers of SDL could possibly do the correct the
error?
Bob Pendleton
On Tue, Jun 2, 2009 at 3:17 AM, shree 0987 <shr0987 at gmail.com> wrote:
> Pierre,
>
> I understand that Valgrind will show me a bunch of stuff that I could
> investigate later. But with such a simple program, I would expect zero
> errors. When I run as you suggest (without leak checking), I get:
>
> ==26419== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 69 from 2)
> ==26419==
> ==26419== 2 errors in context 1 of 1:
> ==26419== Syscall param semctl(IPC_SET, arg.buf) points to uninitialised
> byte(s)
> ==26419== at 0x40007D2: (within /lib/ld-2.8.90.so)
> ==26419== by 0x4430183: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x4428782: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x44291CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3351: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3AAC: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3BAF: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x4433C7D: _snd_pcm_softvol_open (in
> /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3351: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3BE5: (within /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x441090C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
> ==26419== by 0x43F3351: (within /usr/lib/libasound.so.2.0.0)
> ==26419== Address 0xbec28bac is on thread 1's stack
> --26419--
> --26419-- supp: 4 dl-hack5-32bit-addr-1
> --26419-- supp: 65 dl-hack3-cond-1
> ==26419==
> ==26419== IN SUMMARY: 2 errors from 1 contexts (suppressed: 69 from 2)
>
> --Shree
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
--
+-----------------------------------------------------------
+ Bob Pendleton: writer and programmer
+ email: Bob at Pendleton.com
+ web: www.TheGrumpyProgrammer.com
More information about the SDL
mailing list