Hello,
I have installed Ubuntu 13.04 and Pd-0.44.3. When i start Pd, Pd crash at startup. If someone can help me to sove this problem... Here the output with valgrind :
$ valgrind pd ==18223== Memcheck, a memory error detector ==18223== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==18223== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==18223== Command: pd ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D48AB0: _IO_default_xsputn (genops.c:476) ==18223== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D48AC2: _IO_default_xsputn (genops.c:475) ==18223== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d29a is 42 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6B9: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6D8: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6FD: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== 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_filmGMERLIN.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'! 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_recordV4L.so'! dylib loading file '/home/jack/Gem/gem_recordV4L2.so'! load plugins 'video' in '/home/jack/Gem/' pattern : /home/jack/Gem/gem_video*.so dylib loading file '/home/jack/Gem/gem_videoV4L.so'! dylib loading file '/home/jack/Gem/gem_videoV4L2.so'! dylib loading file '/home/jack/Gem/gem_videoVLC.so'! watchdog: signaling pd... watchdog: signaling pd... ==18223== ==18223== HEAP SUMMARY: ==18223== in use at exit: 4,287,849 bytes in 29,550 blocks ==18223== total heap usage: 64,500 allocs, 34,950 frees, 32,742,051 bytes allocated ==18223== ==18223== LEAK SUMMARY: ==18223== definitely lost: 36,666 bytes in 59 blocks ==18223== indirectly lost: 18,596 bytes in 527 blocks ==18223== possibly lost: 47,402 bytes in 1,383 blocks ==18223== still reachable: 4,185,185 bytes in 27,581 blocks ==18223== suppressed: 0 bytes in 0 blocks ==18223== Rerun with --leak-check=full to see details of leaked memory ==18223== ==18223== For counts of detected and suppressed errors, rerun with: -v ==18223== ERROR SUMMARY: 216 errors from 6 contexts (suppressed: 2 from 2) Erreur de segmentation (core dumped)
++
Jack
Le 29/04/2013 12:26, Jack a écrit :
Hello,
I have installed Ubuntu 13.04 and Pd-0.44.3. When i start Pd, Pd crash at startup. If someone can help me to sove this problem... Here the output with valgrind :
$ valgrind pd ==18223== Memcheck, a memory error detector ==18223== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==18223== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==18223== Command: pd ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D48AB0: _IO_default_xsputn (genops.c:476) ==18223== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D48AC2: _IO_default_xsputn (genops.c:475) ==18223== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC696: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d29a is 42 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6B9: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6D8: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== ==18223== Invalid read of size 1 ==18223== at 0x5D19040: vfprintf (vfprintf.c:1655) ==18223== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==18223== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==18223== by 0x4DC6FD: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== Address 0x698d298 is 40 bytes inside a block of size 376 free'd ==18223== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18223== by 0x4DC677: alsa_getdevs (in /usr/local/bin/pd) ==18223== by 0x48C8B3: sys_set_audio_settings (in /usr/local/bin/pd) ==18223== by 0x485D44: sys_loadpreferences (in /usr/local/bin/pd) ==18223== by 0x482438: sys_main (in /usr/local/bin/pd) ==18223== by 0x5CEDEA4: (below main) (libc-start.c:260) ==18223== 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_filmGMERLIN.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'! 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_recordV4L.so'! dylib loading file '/home/jack/Gem/gem_recordV4L2.so'! load plugins 'video' in '/home/jack/Gem/' pattern : /home/jack/Gem/gem_video*.so dylib loading file '/home/jack/Gem/gem_videoV4L.so'! dylib loading file '/home/jack/Gem/gem_videoV4L2.so'! dylib loading file '/home/jack/Gem/gem_videoVLC.so'! watchdog: signaling pd... watchdog: signaling pd... ==18223== ==18223== HEAP SUMMARY: ==18223== in use at exit: 4,287,849 bytes in 29,550 blocks ==18223== total heap usage: 64,500 allocs, 34,950 frees, 32,742,051 bytes allocated ==18223== ==18223== LEAK SUMMARY: ==18223== definitely lost: 36,666 bytes in 59 blocks ==18223== indirectly lost: 18,596 bytes in 527 blocks ==18223== possibly lost: 47,402 bytes in 1,383 blocks ==18223== still reachable: 4,185,185 bytes in 27,581 blocks ==18223== suppressed: 0 bytes in 0 blocks ==18223== Rerun with --leak-check=full to see details of leaked memory ==18223== ==18223== For counts of detected and suppressed errors, rerun with: -v ==18223== ERROR SUMMARY: 216 errors from 6 contexts (suppressed: 2 from 2) Erreur de segmentation (core dumped)
++
Jack
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
The problem seems to come from the plug-in 'gem_videoVLC.so'. Removing the symbolic link solves this problem if you don't use the VLC plug-in to play media... ++
Jack