Jesús Leganés | 24 Jul 2012 13:08

Unitialized value

I'm having some problems and debugging with Valgrin, it's raising a
"Conditional jump or move depends on uninitialised value(s)" error.
Looking at the code i have got that
ProxyServerMediaSession::fClientMediaSession is not being initialized,
waiting until the ProxyServerMediaSession::afterDescribe is being
called, so for example at destructor would be able to cause problems.
Just setting it to NULL on the constructor would be enought.

--

-- 
Jesús Leganés Combarro
Software developer at Vaelsys
Ross Finlayson | 24 Jul 2012 15:18
Favicon

Re: Unitialized value

Thanks.  This will be fixed in the next release of the software.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Jesús Leganés | 25 Jul 2012 08:37

Re: Unitialized value

Welcome :-) In fact, i have done it on my copy of the code and some
SEGFAULTs where fixed just doing this... :-D

It would be good (if you have time) to pass Valgrind on the library to
catch more things like this, since i'm getting some other messages
suspect to have the same problem... :-/

2012/7/24 Ross Finlayson <finlayson@...>:
> Thanks.  This will be fixed in the next release of the software.
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel@...
> http://lists.live555.com/mailman/listinfo/live-devel
>

--

-- 
Jesús Leganés Combarro
Software developer at Vaelsys
Ross Finlayson | 26 Jul 2012 03:13
Favicon

Re: Unitialized value

It would be good (if you have time) to pass Valgrind on the library to
catch more things like this, since i'm getting some other messages
suspect to have the same problem... :-/

"valgrind" can be a useful tool, but unfortunately (at least, whenever I've run it) produces *many* 'false positives'.  I.e., it complains about a lot of things that aren't really errors.

Nonetheless, if anyone finds any more real errors using "valgrind" (or other such tools), then please let us know.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 26 Jul 2012 03:13
Favicon

Re: Unitialized value

It would be good (if you have time) to pass Valgrind on the library to
catch more things like this, since i'm getting some other messages
suspect to have the same problem... :-/

"valgrind" can be a useful tool, but unfortunately (at least, whenever I've run it) produces *many* 'false positives'.  I.e., it complains about a lot of things that aren't really errors.

Nonetheless, if anyone finds any more real errors using "valgrind" (or other such tools), then please let us know.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
Jesús Leganés | 25 Jul 2012 08:37

Re: Unitialized value

Welcome :-) In fact, i have done it on my copy of the code and some
SEGFAULTs where fixed just doing this... :-D

It would be good (if you have time) to pass Valgrind on the library to
catch more things like this, since i'm getting some other messages
suspect to have the same problem... :-/

2012/7/24 Ross Finlayson <finlayson <at> live555.com>:
> Thanks.  This will be fixed in the next release of the software.
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel <at> lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>

--

-- 
Jesús Leganés Combarro
Software developer at Vaelsys
Ross Finlayson | 24 Jul 2012 15:18
Favicon

Re: Unitialized value

Thanks.  This will be fixed in the next release of the software.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Gmane