Hello,
I have a problem to use iem_tab library (tab_copy). I know about array get/set but my old patch use tab_copy. iem_tab compile fine.
When i open externals/iem/iem_tab/tab_copy-help.pd, i get in pd console : tab_copy src dst ... couldn't create tab_copy src dst ... couldn't create
In my directory externals/iem/iem_tab/, i have iem_tab.pd_linux
My configuration : Pd 0.45.0test 2 ++
Jack
On 10/06/13 18:37, Jack wrote:
Hello,
I have a problem to use iem_tab library (tab_copy). I know about array get/set but my old patch use tab_copy. iem_tab compile fine.
When i open externals/iem/iem_tab/tab_copy-help.pd, i get in pd console : tab_copy src dst ... couldn't create tab_copy src dst ... couldn't create
In my directory externals/iem/iem_tab/, i have iem_tab.pd_linux
you have to load the "iem_tab" library first. e.g. by creating [iem/iem_tab/iem_tab] or adding it to the startup libs.
obviously, the help-patches assume that the library is already loaded, so they don't bother with loading it.
fg,sdr IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 06/10/2013 19:42, IOhannes m zmölnig a écrit :
On 10/06/13 18:37, Jack wrote:
Hello,
I have a problem to use iem_tab library (tab_copy). I know about array get/set but my old patch use tab_copy. iem_tab compile fine.
When i open externals/iem/iem_tab/tab_copy-help.pd, i get in pd console : tab_copy src dst ... couldn't create tab_copy src dst ... couldn't create
In my directory externals/iem/iem_tab/, i have iem_tab.pd_linux
you have to load the "iem_tab" library first. e.g. by creating [iem/iem_tab/iem_tab] or adding it to the startup libs.
obviously, the help-patches assume that the library is already loaded, so they don't bother with loading it.
fg,sdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list Hello,
I still get pd crash, even with "iem_tab" load first : $ cat .pdsettings ... loadlib1: iem_tab loadlib2: Gem loadlib3: pdstring loadlib4: zexy loadlib5: tcpserver loadlib6: tcpclient loadlib7: pdlua loadlib8: boids3d loadlib9: boids2d loadlib10: pdgst loadlib11: pix_gst2pix nloadlib: 11
Here the output with valgrind (with gdb bellow) : $ valgrind pd ==5401== Memcheck, a memory error detector ==5401== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==5401== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==5401== Command: pd ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D19040: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECC86: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec08 is 40 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D48AB0: _IO_default_xsputn (genops.c:476) ==5401== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECC86: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec08 is 40 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D48AC2: _IO_default_xsputn (genops.c:475) ==5401== by 0x5D18FFE: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECC86: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec0a is 42 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D19040: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECCA9: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec08 is 40 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D19040: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECCC8: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec08 is 40 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x5D19040: vfprintf (vfprintf.c:1655) ==5401== by 0x5DDBA83: __vsprintf_chk (vsprintf_chk.c:84) ==5401== by 0x5DDB9CC: __sprintf_chk (sprintf_chk.c:32) ==5401== by 0x4ECCED: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x69bec08 is 40 bytes inside a block of size 376 free'd ==5401== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5401== by 0x4ECC67: alsa_getdevs (in /usr/local/bin/pd) ==5401== by 0x4907A3: sys_set_audio_settings (in /usr/local/bin/pd) ==5401== by 0x489C54: sys_loadpreferences (in /usr/local/bin/pd) ==5401== by 0x486370: sys_main (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== ==5401== Invalid read of size 1 ==5401== at 0x47279D: gensym (in /usr/local/bin/pd) ==5401== by 0x48CA41: sys_do_load_lib (in /usr/local/bin/pd) ==5401== by 0x48CDA7: sys_load_lib (in /usr/local/bin/pd) ==5401== by 0x484BE2: glob_initfromgui (in /usr/local/bin/pd) ==5401== by 0x472F28: pd_typedmess (in /usr/local/bin/pd) ==5401== by 0x47D47A: binbuf_eval (in /usr/local/bin/pd) ==5401== by 0x487D52: socketreceiver_read (in /usr/local/bin/pd) ==5401== by 0x4867EB: sys_domicrosleep.constprop.3 (in /usr/local/bin/pd) ==5401== by 0x48181C: m_mainloop (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5401== ==5401== ==5401== Process terminating with default action of signal 11 (SIGSEGV) ==5401== Access not within mapped region at address 0x0 ==5401== at 0x47279D: gensym (in /usr/local/bin/pd) ==5401== by 0x48CA41: sys_do_load_lib (in /usr/local/bin/pd) ==5401== by 0x48CDA7: sys_load_lib (in /usr/local/bin/pd) ==5401== by 0x484BE2: glob_initfromgui (in /usr/local/bin/pd) ==5401== by 0x472F28: pd_typedmess (in /usr/local/bin/pd) ==5401== by 0x47D47A: binbuf_eval (in /usr/local/bin/pd) ==5401== by 0x487D52: socketreceiver_read (in /usr/local/bin/pd) ==5401== by 0x4867EB: sys_domicrosleep.constprop.3 (in /usr/local/bin/pd) ==5401== by 0x48181C: m_mainloop (in /usr/local/bin/pd) ==5401== by 0x5CEDEA4: (below main) (libc-start.c:260) ==5401== If you believe this happened as a result of a stack ==5401== overflow in your program's main thread (unlikely but ==5401== possible), you can try to increase the size of the ==5401== main thread stack using the --main-stacksize= flag. ==5401== The main thread stack size used in this run was 8388608. ==5401== ==5401== HEAP SUMMARY: ==5401== in use at exit: 208,277 bytes in 3,200 blocks ==5401== total heap usage: 4,894 allocs, 1,694 frees, 2,376,967 bytes allocated ==5401== ==5401== LEAK SUMMARY: ==5401== definitely lost: 162 bytes in 5 blocks ==5401== indirectly lost: 34 bytes in 4 blocks ==5401== possibly lost: 42,925 bytes in 1,312 blocks ==5401== still reachable: 165,156 bytes in 1,879 blocks ==5401== suppressed: 0 bytes in 0 blocks ==5401== Rerun with --leak-check=full to see details of leaked memory ==5401== ==5401== For counts of detected and suppressed errors, rerun with: -v ==5401== ERROR SUMMARY: 217 errors from 7 contexts (suppressed: 2 from 2) watchdog: signaling pd... watchdog: signaling pd... Erreur de segmentation (core dumped)
Here the output with gdb : $ gdb pd GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/local/bin/pd...(no debugging symbols found)...done. (gdb) run Starting program: /usr/local/bin/pd warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x000000000047279d in gensym ()
#0 0x000000000047279d in gensym () #1 0x000000000048ca42 in sys_do_load_lib () #2 0x000000000048cda8 in sys_load_lib () #3 0x0000000000484be3 in glob_initfromgui () #4 0x0000000000472f29 in pd_typedmess () #5 0x000000000047d47b in binbuf_eval () #6 0x0000000000487d53 in socketreceiver_read () #7 0x00000000004867ec in sys_domicrosleep.constprop.3 () #8 0x000000000048181d in m_mainloop () #9 0x00007ffff6b9bea5 in __libc_start_main (main=0x4120b0 <main>, argc=1, ubp_av=0x7fffffffe1d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe1c8) at libc-start.c:260 #10 0x00000000004120e1 in _start ()
Someone can help me to solve this problem ? ++
Jack
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-10-07 13:53, Jack wrote:
I still get pd crash, even with "iem_tab" load first :
since when does your Pd crash? your original post only claimed that the objects could not be created.
what is your system (OS,arch,...)?
gfamd IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 07/10/2013 14:14, IOhannes m zmoelnig a écrit :
On 2013-10-07 13:53, Jack wrote:
I still get pd crash, even with "iem_tab" load first :
since when does your Pd crash? your original post only claimed that the objects could not be created.
Since i add "iem_tab" in startup (in preference/startup). If i remove it, Pd doesn't crash.
what is your system (OS,arch,...)?
Ubuntu 13.04 Pd 0.45.0test 2 ++
Jack
gfamd IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Le 07/10/2013 14:33, Jack a écrit :
Le 07/10/2013 14:14, IOhannes m zmoelnig a écrit :
On 2013-10-07 13:53, Jack wrote:
I still get pd crash, even with "iem_tab" load first :
since when does your Pd crash? your original post only claimed that the objects could not be created.
Yes, I was trying to use an "old" iem_tab.pd_linux (in the same directory where there is my patch).
Since i add "iem_tab" in startup (in preference/startup). If i remove it, Pd doesn't crash.
what is your system (OS,arch,...)?
Ubuntu 13.04 Pd 0.45.0test 2
I forgot : Linux jack-GE60-0NC-0ND 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux ++
Jack
++
Jack
gfamd IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->