errors in valgrind

devel <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Organization UANS
Message-ID <[email protected]>
Hay!

Has anyone come across these errors using valgrind for the oggenc tool or the 
encoder_example.c:

==13108== Invalid read of size 4                                                                                                            
==13108==    at 0x4155734: _vp_offset_and_mix (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                        
==13108==    by 0x415F598: mapping0_forward (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                          
==13108==    by 0x4151C8B: vorbis_analysis (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                           
==13108==    by 0x804F3E5: oe_encode (in /usr/local/bin/oggenc)                                                                             
==13108==    by 0x804B9FB: main (in /usr/local/bin/oggenc)                                                                                  
==13108==  Address 0x440d908 is 0 bytes after a block of size 2,048 alloc'd                                                                 
==13108==    at 0x4026132: calloc (vg_replace_malloc.c:397)                                                                                 
==13108==    by 0x414F88D: vorbis_analysis_init (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                      
==13108==    by 0x804ED2A: oe_encode (in /usr/local/bin/oggenc)                                                                             
==13108==    by 0x804B9FB: main (in /usr/local/bin/oggenc)                                                                                  
==13108==                                                                                                                                   
==13108== Invalid read of size 4                                                                                                            
==13108==    at 0x4155734: _vp_offset_and_mix (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                        
==13108==    by 0x415F6D4: mapping0_forward (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                          
==13108==    by 0x4151C8B: vorbis_analysis (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                           
==13108==    by 0x804F3E5: oe_encode (in /usr/local/bin/oggenc)                                                                             
==13108==    by 0x804B9FB: main (in /usr/local/bin/oggenc)                                                                                  
==13108==  Address 0x440d908 is 0 bytes after a block of size 2,048 alloc'd                                                                 
==13108==    at 0x4026132: calloc (vg_replace_malloc.c:397)                                                                                 
==13108==    by 0x414F88D: vorbis_analysis_init (in 
/usr/local/lib/libvorbis.so.0.4.1)                                                      
==13108==    by 0x804ED2A: oe_encode (in /usr/local/bin/oggenc)                                                                             
==13108==    by 0x804B9FB: main (in /usr/local/bin/oggenc) 

==13108== ERROR SUMMARY: 4974 errors from 3 contexts (suppressed: 3 from 
1)
==13108== malloc/free: in use at exit: 0 bytes in 0 blocks.
==13108== malloc/free: 1,968 allocs, 1,968 frees, 3,167,627 bytes allocated.
==13108== For counts of detected errors, rerun with: -v
==13108== All heap blocks were freed -- no leaks are possible.

I was just checking to see if there were errors and this is what I found.
Any clues!

THKS
Radmin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.