[SDL] Valgrind testing.

Ryan C. Gordon icculus at clutteredmind.org
Mon Jul 29 15:35:01 PDT 2002


In reference to my Valgrind testing the other night: this one was my bug.
Disregard.

> This is from SDL_sound's playsound app, but I'm posting it because it
> looks like an issue in SDL_OpenAudio()...but take the ioctl warning with a
> grain of salt; Valgrind might just not know how to treat a /dev/dsp ioctl,
> and assumes we're misbehaving with memory:
>
> ==19850== Warning: noted but unhandled ioctl 0x5000 with no size/direction hints
> ==19850==    This could cause spurious value errors to appear.
> ==19850==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
> ==19850==
> ==19850== Conditional jump or move depends on uninitialised value(s)
> ==19850==    at 0x40330BDE: SDL_OpenAudio (SDL_audio.c:448)
> ==19850==    by 0x804AFC4: main (playsound.c:995)
> ==19850==    by 0x40683577: (within /lib/libc-2.1.3.so)
> ==19850==    by 0x80493C1: (within /usr/local/bin/playsound)
> ==19850==
> ==19850== Use of uninitialised value of size 4
> ==19850==    at 0x40330BDE: SDL_OpenAudio (SDL_audio.c:448)
> ==19850==    by 0x804AFC4: main (playsound.c:995)
> ==19850==    by 0x40683577: (within /lib/libc-2.1.3.so)
> ==19850==    by 0x80493C1: (within /usr/local/bin/playsound)


--ryan.







More information about the SDL mailing list