[PD] Error from Valgrind/pd at start-up

m.e.grimm megrimm at gmail.com
Mon Mar 12 17:37:09 CET 2012


hmmmm.... interesting because i was just doing the same thing this
morning on osx 10.7 and had noticed a similar result.....

http://pastebin.com/tvii1zPs



On Mon, Mar 12, 2012 at 11:28 AM, Jack <jack at rybn.org> wrote:
> re-Hello,
>
> I have some errors when I launch Pd with Valgrind.
> I compiled and installed Pd-0.43-2test1 on Ubuntu 11.10.
> Is there someone that can tell me how to fix these problems ?
> Thanx for help.
> Here the output of Valgrind :
>
> ==14226== Memcheck, a memory error detector
> ==14226== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
> ==14226== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for
> copyright info
> ==14226== Command: pd
> ==14226==
> open: /etc/pd/gem.conf: No such file or directory
> open: /home/jack/.config/pure-data/gem.conf: No such file or directory
> open: ./gem.conf: No such file or directory
> load plugins 'film' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_film*.so
> dylib loading file '/home/jack/Gem/gem_filmAVIPLAY.so'!
> <init> : Avifile RELEASE-0.7.48-110904-08:38-../src/configure
> <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep
> mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
> nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc
> <init> : 800.00 MHz Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz processor
> detected
> dylib loading file '/home/jack/Gem/gem_filmMPEG3.so'!
> dylib loading file '/home/jack/Gem/gem_filmQT4L.so'!
> load plugins 'image' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_image*.so
> dylib loading file '/home/jack/Gem/gem_imageJPEG.so'!
> dylib loading file '/home/jack/Gem/gem_imageMAGICK.so'!
> dylib loading file '/home/jack/Gem/gem_imageSGI.so'!
> dylib loading file '/home/jack/Gem/gem_imageTIFF.so'!
> watchdog: signaling pd...
> not reloading 'image' plugins (already 4 loaded)
> load plugins 'image' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_image*.so
> dylib loading file '/home/jack/Gem/gem_imageJPEG.so'!
> dylib loading file '/home/jack/Gem/gem_imageMAGICK.so'!
> dylib loading file '/home/jack/Gem/gem_imageSGI.so'!
> dylib loading file '/home/jack/Gem/gem_imageTIFF.so'!
> load plugins 'model' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_model*.so
> dylib loading file '/home/jack/Gem/gem_modelOBJ.so'!
> load plugins 'record' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_record*.so
> dylib loading file '/home/jack/Gem/gem_recordQT4L.so'!
> dylib loading file '/home/jack/Gem/gem_recordV4L2.so'!
> dylib loading file '/home/jack/Gem/gem_recordV4L.so'!
> ==14226== Invalid read of size 4
> ==14226==    at 0x6CC895F: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CC9480: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CCC76B: lqt_registry_init (in
> /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x7E93EAA: gem::plugins::recordQT4L::recordQT4L()
> (recordQT4L.cpp:61)
> ==14226==    by 0x7E9467B: gem::plugins::record*
> gem::PluginFactoryRegistrar::allocator<gem::plugins::recordQT4L,
> gem::plugins::record>() (PluginFactoryTimple.h:134)
> ==14226==    by 0x49E64BA: gem::plugins::recordMeta::recordMeta()
> (PluginFactoryTimple.h:70)
> ==14226==    by 0x49DED5B: gem::plugins::record::getInstance()
> (record.cpp:289)
> ==14226==    by 0x49B6584: gem::plugins::init() (PluginFactory.cpp:174)
> ==14226==    by 0x4979C59: Gem::setup() (Setup.cpp:225)
> ==14226==    by 0x75746572: ???
> ==14226==  Address 0x4727c80 is 64 bytes inside a block of size 67 alloc'd
> ==14226==    at 0x4028876: malloc (vg_replace_malloc.c:236)
> ==14226==    by 0x6CC8933: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CC9480: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CCC76B: lqt_registry_init (in
> /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x7E93EAA: gem::plugins::recordQT4L::recordQT4L()
> (recordQT4L.cpp:61)
> ==14226==    by 0x7E9467B: gem::plugins::record*
> gem::PluginFactoryRegistrar::allocator<gem::plugins::recordQT4L,
> gem::plugins::record>() (PluginFactoryTimple.h:134)
> ==14226==    by 0x49E64BA: gem::plugins::recordMeta::recordMeta()
> (PluginFactoryTimple.h:70)
> ==14226==    by 0x49DED5B: gem::plugins::record::getInstance()
> (record.cpp:289)
> ==14226==    by 0x49B6584: gem::plugins::init() (PluginFactory.cpp:174)
> ==14226==    by 0x4979C59: Gem::setup() (Setup.cpp:225)
> ==14226==    by 0x75746572: ???
> ==14226==
> ==14226== Invalid read of size 4
> ==14226==    at 0x6CC894B: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CC9480: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CCC76B: lqt_registry_init (in
> /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x7E93EAA: gem::plugins::recordQT4L::recordQT4L()
> (recordQT4L.cpp:61)
> ==14226==    by 0x7E9467B: gem::plugins::record*
> gem::PluginFactoryRegistrar::allocator<gem::plugins::recordQT4L,
> gem::plugins::record>() (PluginFactoryTimple.h:134)
> ==14226==    by 0x49E64BA: gem::plugins::recordMeta::recordMeta()
> (PluginFactoryTimple.h:70)
> ==14226==    by 0x49DED5B: gem::plugins::record::getInstance()
> (record.cpp:289)
> ==14226==    by 0x49B6584: gem::plugins::init() (PluginFactory.cpp:174)
> ==14226==    by 0x4979C59: Gem::setup() (Setup.cpp:225)
> ==14226==    by 0x75746572: ???
> ==14226==  Address 0x4727e04 is 68 bytes inside a block of size 70 alloc'd
> ==14226==    at 0x4028876: malloc (vg_replace_malloc.c:236)
> ==14226==    by 0x6CC8933: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CC9480: ??? (in /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x6CCC76B: lqt_registry_init (in
> /usr/lib/libquicktime.so.2.0.0)
> ==14226==    by 0x7E93EAA: gem::plugins::recordQT4L::recordQT4L()
> (recordQT4L.cpp:61)
> ==14226==    by 0x7E9467B: gem::plugins::record*
> gem::PluginFactoryRegistrar::allocator<gem::plugins::recordQT4L,
> gem::plugins::record>() (PluginFactoryTimple.h:134)
> ==14226==    by 0x49E64BA: gem::plugins::recordMeta::recordMeta()
> (PluginFactoryTimple.h:70)
> ==14226==    by 0x49DED5B: gem::plugins::record::getInstance()
> (record.cpp:289)
> ==14226==    by 0x49B6584: gem::plugins::init() (PluginFactory.cpp:174)
> ==14226==    by 0x4979C59: Gem::setup() (Setup.cpp:225)
> ==14226==    by 0x75746572: ???
> ==14226==
> load plugins 'video' in '/home/jack/Gem/'
> pattern : /home/jack/Gem/gem_video*.so
> dylib loading file '/home/jack/Gem/gem_videoDC1394.so'!
> dylib loading file '/home/jack/Gem/gem_videoV4L2.so'!
> dylib loading file '/home/jack/Gem/gem_videoV4L.so'!
> dylib loading file '/home/jack/Gem/gem_videoVLC.so'!
> ==14235==
> ==14235== HEAP SUMMARY:
> ==14235==     in use at exit: 10,273,600 bytes in 14,751 blocks
> ==14235==   total heap usage: 45,268 allocs, 30,517 frees, 46,649,197 bytes
> allocated
> ==14235==
> ==14235== LEAK SUMMARY:
> ==14235==    definitely lost: 9,444 bytes in 30 blocks
> ==14235==    indirectly lost: 6,176 bytes in 346 blocks
> ==14235==      possibly lost: 8,136 bytes in 198 blocks
> ==14235==    still reachable: 10,249,844 bytes in 14,177 blocks
> ==14235==         suppressed: 0 bytes in 0 blocks
> ==14235== Rerun with --leak-check=full to see details of leaked memory
> ==14235==
> ==14235== For counts of detected and suppressed errors, rerun with: -v
> ==14235== ERROR SUMMARY: 165 errors from 2 contexts (suppressed: 457 from
> 11)
> ==14236==
> ==14236== HEAP SUMMARY:
> ==14236==     in use at exit: 10,273,600 bytes in 14,751 blocks
> ==14236==   total heap usage: 45,268 allocs, 30,517 frees, 46,649,197 bytes
> allocated
> ==14236==
> ==14236== LEAK SUMMARY:
> ==14236==    definitely lost: 9,444 bytes in 30 blocks
> ==14236==    indirectly lost: 6,176 bytes in 346 blocks
> ==14236==      possibly lost: 8,136 bytes in 198 blocks
> ==14236==    still reachable: 10,249,844 bytes in 14,177 blocks
> ==14236==         suppressed: 0 bytes in 0 blocks
> ==14236== Rerun with --leak-check=full to see details of leaked memory
> ==14236==
> ==14236== For counts of detected and suppressed errors, rerun with: -v
> ==14236== ERROR SUMMARY: 165 errors from 2 contexts (suppressed: 457 from
> 11)
> ==14237==
> ==14237== HEAP SUMMARY:
> ==14237==     in use at exit: 10,273,600 bytes in 14,751 blocks
> ==14237==   total heap usage: 45,268 allocs, 30,517 frees, 46,649,197 bytes
> allocated
> ==14237==
> watchdog: signaling pd...
> ==14237== LEAK SUMMARY:
> ==14237==    definitely lost: 9,444 bytes in 30 blocks
> ==14237==    indirectly lost: 6,176 bytes in 346 blocks
> ==14237==      possibly lost: 8,136 bytes in 198 blocks
> ==14237==    still reachable: 10,249,844 bytes in 14,177 blocks
> ==14237==         suppressed: 0 bytes in 0 blocks
> ==14237== Rerun with --leak-check=full to see details of leaked memory
> ==14237==
> ==14237== For counts of detected and suppressed errors, rerun with: -v
> ==14237== ERROR SUMMARY: 165 errors from 2 contexts (suppressed: 457 from
> 11)
> ==14238==
> ==14238== HEAP SUMMARY:
> ==14238==     in use at exit: 10,273,600 bytes in 14,751 blocks
> ==14238==   total heap usage: 45,268 allocs, 30,517 frees, 46,649,197 bytes
> allocated
> ==14238==
> ==14238== LEAK SUMMARY:
> ==14238==    definitely lost: 9,444 bytes in 30 blocks
> ==14238==    indirectly lost: 6,176 bytes in 346 blocks
> ==14238==      possibly lost: 8,136 bytes in 198 blocks
> ==14238==    still reachable: 10,249,844 bytes in 14,177 blocks
> ==14238==         suppressed: 0 bytes in 0 blocks
> ==14238== Rerun with --leak-check=full to see details of leaked memory
> ==14238==
> ==14238== For counts of detected and suppressed errors, rerun with: -v
> ==14238== ERROR SUMMARY: 165 errors from 2 contexts (suppressed: 457 from
> 11)
> watchdog: signaling pd...
> watchdog: signaling pd...
> watchdog: signaling pd...
> ==14226== Warning: invalid file descriptor -1 in syscall close()
> ^CPd: signal 2
> ^C==14226==
> ==14226== HEAP SUMMARY:
> ==14226==     in use at exit: 2,569,468 bytes in 12,941 blocks
> ==14226==   total heap usage: 70,179 allocs, 57,238 frees, 69,714,636 bytes
> allocated
> ==14226==
> ==14226== LEAK SUMMARY:
> ==14226==    definitely lost: 10,816 bytes in 36 blocks
> ==14226==    indirectly lost: 9,506 bytes in 365 blocks
> ==14226==      possibly lost: 7,810 bytes in 181 blocks
> ==14226==    still reachable: 2,541,336 bytes in 12,359 blocks
> ==14226==         suppressed: 0 bytes in 0 blocks
> ==14226== Rerun with --leak-check=full to see details of leaked memory
> ==14226==
> ==14226== For counts of detected and suppressed errors, rerun with: -v
> ==14226== ERROR SUMMARY: 165 errors from 2 contexts (suppressed: 2442 from
> 11)
>
> ++
>
> Jack
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list



-- 
____________________
m.e.grimm | m.f.a | ed.m.
megrimm at gmail.com
_________________________________



More information about the Pd-list mailing list