What valgrind says

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

What valgrind says

digehode
Hi peeps.

I've just been running an app through valgrind and I'm getting a few
of these:

==11955== Syscall param write(buf) points to uninitialised byte(s)
==11955==    at 0x4D51BDB: (within /lib64/libpthread-2.4.so)
==11955==    by 0x4B27CDD: (within /usr/lib64/libjack.so.0.0.23)
==11955==    by 0x4B29434: jack_deactivate (in
/usr/lib64/libjack.so.0.0.23)
==11955==    by 0x4B2945F: jack_client_close (in
/usr/lib64/libjack.so.0.0.23)
==11955==    by 0x40402F: jackpart_close() (jackPart.cc:86)
==11955==    by 0x40235F: mainLoop() (sampleplayer.cpp:438)
==11955==    by 0x40237B: main (sampleplayer.cpp:444)
==11955==  Address 0x7FEFFE934 is on thread 1's stack


I can't see anything wrong on my part, so I thought I'd check with
people who know more than I before I tear my program apart.

I also get them coming from jack_port_register, jack_activate and
jack_connect.

Any ideas?

James


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [linux-audio-dev] What valgrind says

Paul Davis
On Sat, 2006-06-24 at 23:26 +0100, [hidden email] wrote:

> Hi peeps.
>
> I've just been running an app through valgrind and I'm getting a few
> of these:
>
> ==11955== Syscall param write(buf) points to uninitialised byte(s)
> ==11955==    at 0x4D51BDB: (within /lib64/libpthread-2.4.so)
> ==11955==    by 0x4B27CDD: (within /usr/lib64/libjack.so.0.0.23)
> ==11955==    by 0x4B29434: jack_deactivate (in
> /usr/lib64/libjack.so.0.0.23)
> ==11955==    by 0x4B2945F: jack_client_close (in
> /usr/lib64/libjack.so.0.0.23)
> ==11955==    by 0x40402F: jackpart_close() (jackPart.cc:86)
> ==11955==    by 0x40235F: mainLoop() (sampleplayer.cpp:438)
> ==11955==    by 0x40237B: main (sampleplayer.cpp:444)
> ==11955==  Address 0x7FEFFE934 is on thread 1's stack
>
>
> I can't see anything wrong on my part, so I thought I'd check with
> people who know more than I before I tear my program apart.
>
> I also get them coming from jack_port_register, jack_activate and
> jack_connect.

they don't matter. they are the result of writing a byte to a FIFO to
wake up an(other) client. the contents of the byte do not make any
difference at any point.

--p



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [linux-audio-dev] What valgrind says

Erik de Castro Lopo-7
Paul Davis wrote:

> they don't matter. they are the result of writing a byte to a FIFO to
> wake up an(other) client. the contents of the byte do not make any
> difference at any point.


Regardless of whether this is a bug or not it would be really
nice if this could be fixed. Fixing it means that other people
valgrinding their apps which use the Jack libs don't see warnings
about Jack.

Erik
--
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Christianity has a nasty habit of ignoring the major problems of our time,
including overpopulation and exhaustion of resources, because they aren't
mentioned in the Bible."
-- Paula L. Craig

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [linux-audio-dev] What valgrind says

Jesse Chappell
On 6/24/06, Erik de Castro Lopo <[hidden email]> wrote:

> Paul Davis wrote:
>
> > they don't matter. they are the result of writing a byte to a FIFO to
> > wake up an(other) client. the contents of the byte do not make any
> > difference at any point.
>
>
> Regardless of whether this is a bug or not it would be really
> nice if this could be fixed. Fixing it means that other people
> valgrinding their apps which use the Jack libs don't see warnings
> about Jack.

And since said fix will likely be 2 characters, I'm sure it will be done.

jlc

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel