Hi Yves,
I would really like to use your sonogram object. Installation went fine, I can open a help patch, load a file, then I click on the bang in step 2 (recording), the soundfile (2s length) is played and then pd freezes (crashes). I have attached the gdb report.
Best regards, Gerda
gerda:sonogram~ gdb /usr/local/lib/pd/pd-0.40-1/bin/pd GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run Starting program: /usr/local/lib/pd/pd-0.40-1/bin/pd [Thread debugging using libthread_db enabled] [New Thread -1210992416 (LWP 4666)] [New Thread -1214047312 (LWP 4671)] [New Thread -1229980752 (LWP 4672)] invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" image "SONIMAGE8134da0" doesn't exist invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" image "FAZIMAGE8134da0" doesn't exist invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" [Thread -1229980752 (LWP 4672) exited] invalid command name ".x813d0a8.c" invalid command name ".x813d0a8.c" [New Thread -1229980752 (LWP 4673)] [Thread -1229980752 (LWP 4673) exited] [New Thread -1229980752 (LWP 4674)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1229980752 (LWP 4674)] 0x00000248 in ?? () (gdb) qhere Undefined command: "qhere". Try "help". (gdb) where #0 0x00000248 in ?? () #1 0xb7e530d0 in start_thread () from /lib/tls/libpthread.so.0 #2 0xb7de78fe in clone () from /lib/tls/libc.so.6 (gdb) quit The program is running. Exit anyway? (y or n) y
hola,
ouye, seems you have a problem with threading ( which system? which libpthread? ), you can confirm the diagnostic trying to use cooled~ which is also a threaded external.
if it crashed, there is probably a problem with libpthread.
cheers, sevy
Gerda Strobl wrote:
Hi Yves,
I would really like to use your sonogram object. Installation went fine, I can open a help patch, load a file, then I click on the bang in step 2 (recording), the soundfile (2s length) is played and then pd freezes (crashes). I have attached the gdb report.
Best regards, Gerda
Hi,
my system is debian 2617.
I just checked :root@/home/gerda/externals/unauthorized/sonogram~ whereis libpthread libpthread: /usr/lib/libpthread.a /usr/lib/libpthread.so ..but I could not find out the version.
Therefore I installed: libpthread-dev Version: 2.0.7-4 Depends: libpthread20 (= 2.0.7-4)
Then I did: make clean. Installing the external now produces: error: conflicting types for 'pthread_t' the same is with cooled~
so it looks like ther is something with lipthread..but now I dont know how to go on.
root@/home/gerda/externals/unauthorized/sonogram~ make
cc -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer -Wall
-W -Wno-shadow -Wstrict-pro
totypes -Wno-unused -Wno-parentheses -Wno-switch -g -I../../src
-I/usr/local/lib/pd/pd-0.40-1/s
rc -o sonogram~.o -c sonogram~.c
In file included from sonogram~.c:46:
/usr/include/pthread.h:285: error: conflicting types for 'pthread_t'
/usr/include/bits/pthreadtypes.h:152: error: previous declaration of
'pthread_t' was here
/usr/include/pthread.h:286: error: conflicting types for 'pthread_attr_t'
/usr/include/bits/pthreadtypes.h:54: error: previous declaration of
'pthread_attr_t' was here
/usr/include/pthread.h:287: error: conflicting types for 'pthread_key_t'
/usr/include/bits/pthreadtypes.h:82: error: previous declaration of
'pthread_key_t' was here
/usr/include/pthread.h:289: error: conflicting types for
'pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:102: error: previous declaration of
'pthread_mutexattr_t' was her e
/usr/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:95: error: previous declaration of
'pthread_mutex_t' was here
/usr/include/pthread.h:291: error: conflicting types for
'pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:79: error: previous declaration of
'pthread_condattr_t' was here
/usr/include/pthread.h:292: error: conflicting types for 'pthread_cond_t'
/usr/include/bits/pthreadtypes.h:72: error: previous declaration of
'pthread_cond_t' was here
sonogram~.c: In function 'sonogram_update_block':
sonogram~.c:327: warning: format '%d' expects type 'int', but argument 5
has type 't_int'
sonogram~.c:347: warning: format '%d' expects type 'int', but argument 5
has type 't_int'
sonogram~.c: In function 'sonogram_resize':
sonogram~.c:1561: warning: ordered comparison of pointer with integer zero
make: *** [sonogram~.pd_linux] Error 1
Gerda
Yves Degoyon wrote:
hola,
ouye, seems you have a problem with threading ( which system? which libpthread? ), you can confirm the diagnostic trying to use cooled~ which is also a threaded external.
if it crashed, there is probably a problem with libpthread.
cheers, sevy
ola,
well, it seems to be a mess, all i can advise you to do is to fix your libpthread with dkpg and debian tools and forums.
i am on Fedora Core 3.
suerte, sevy
Gerda Strobl wrote:
Hi,
my system is debian 2617.
I just checked :root@/home/gerda/externals/unauthorized/sonogram~ whereis libpthread libpthread: /usr/lib/libpthread.a /usr/lib/libpthread.so ..but I could not find out the version.
Therefore I installed: libpthread-dev Version: 2.0.7-4 Depends: libpthread20 (= 2.0.7-4)
Then I did: make clean. Installing the external now produces: error: conflicting types for 'pthread_t' the same is with cooled~
so it looks like ther is something with lipthread..but now I dont know how to go on.
root@/home/gerda/externals/unauthorized/sonogram~ make cc -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wno-shadow -Wstrict-pro totypes -Wno-unused -Wno-parentheses -Wno-switch -g -I../../src
-I/usr/local/lib/pd/pd-0.40-1/s rc -o sonogram~.o -c sonogram~.c In file included from sonogram~.c:46: /usr/include/pthread.h:285: error: conflicting types for 'pthread_t' /usr/include/bits/pthreadtypes.h:152: error: previous declaration of 'pthread_t' was here /usr/include/pthread.h:286: error: conflicting types for 'pthread_attr_t' /usr/include/bits/pthreadtypes.h:54: error: previous declaration of 'pthread_attr_t' was here /usr/include/pthread.h:287: error: conflicting types for 'pthread_key_t' /usr/include/bits/pthreadtypes.h:82: error: previous declaration of 'pthread_key_t' was here /usr/include/pthread.h:289: error: conflicting types for 'pthread_mutexattr_t' /usr/include/bits/pthreadtypes.h:102: error: previous declaration of 'pthread_mutexattr_t' was her e /usr/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t' /usr/include/bits/pthreadtypes.h:95: error: previous declaration of 'pthread_mutex_t' was here /usr/include/pthread.h:291: error: conflicting types for 'pthread_condattr_t' /usr/include/bits/pthreadtypes.h:79: error: previous declaration of 'pthread_condattr_t' was here /usr/include/pthread.h:292: error: conflicting types for 'pthread_cond_t' /usr/include/bits/pthreadtypes.h:72: error: previous declaration of 'pthread_cond_t' was here sonogram~.c: In function 'sonogram_update_block': sonogram~.c:327: warning: format '%d' expects type 'int', but argument 5 has type 't_int' sonogram~.c:347: warning: format '%d' expects type 'int', but argument 5 has type 't_int' sonogram~.c: In function 'sonogram_resize': sonogram~.c:1561: warning: ordered comparison of pointer with integer zero make: *** [sonogram~.pd_linux] Error 1Gerda
Yves Degoyon wrote:
hola,
ouye, seems you have a problem with threading ( which system? which libpthread? ), you can confirm the diagnostic trying to use cooled~ which is also a threaded external.
if it crashed, there is probably a problem with libpthread.
cheers, sevy
Hi Yves,
I cleaned up and now I have a freshly installed libpthread-I resinstalled the sonogram--I still get the same segm. fault. The same happens with cooled~, pd crashes alreday after opening the help patch. this is what I get when I run cooled~ with the gdb: (gdb) run Starting program: /usr/local/bin/pd [Thread debugging using libthread_db enabled] [New Thread -1210783520 (LWP 4185)] [New Thread -1212097616 (LWP 4190)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212097616 (LWP 4190)] 0x00000248 in ?? () (gdb) where #0 0x00000248 in ?? () #1 0xb7e860d0 in start_thread () from /lib/tls/libpthread.so.0 #2 0xb7e1a8fe in clone () from /lib/tls/libc.so.6
But the sonogram is not so important for me-so I'll just leave it, it would have just been a nice feature in a patch ;-).
Thanks,
Gerda
Yves Degoyon wrote:
ola,
well, it seems to be a mess, all i can advise you to do is to fix your libpthread with dkpg and debian tools and forums.
i am on Fedora Core 3.
suerte, sevy
Gerda Strobl wrote:
Hi,
my system is debian 2617.
I just checked :root@/home/gerda/externals/unauthorized/sonogram~ whereis libpthread libpthread: /usr/lib/libpthread.a /usr/lib/libpthread.so ..but I could not find out the version.
Therefore I installed: libpthread-dev Version: 2.0.7-4 Depends: libpthread20 (= 2.0.7-4)
Then I did: make clean. Installing the external now produces: error: conflicting types for 'pthread_t' the same is with cooled~
so it looks like ther is something with lipthread..but now I dont know how to go on.
root@/home/gerda/externals/unauthorized/sonogram~ make cc -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wno-shadow -Wstrict-pro totypes -Wno-unused -Wno-parentheses -Wno-switch -g -I../../src
-I/usr/local/lib/pd/pd-0.40-1/s rc -o sonogram~.o -c sonogram~.c In file included from sonogram~.c:46: /usr/include/pthread.h:285: error: conflicting types for 'pthread_t' /usr/include/bits/pthreadtypes.h:152: error: previous declaration of 'pthread_t' was here /usr/include/pthread.h:286: error: conflicting types for 'pthread_attr_t' /usr/include/bits/pthreadtypes.h:54: error: previous declaration of 'pthread_attr_t' was here /usr/include/pthread.h:287: error: conflicting types for 'pthread_key_t' /usr/include/bits/pthreadtypes.h:82: error: previous declaration of 'pthread_key_t' was here /usr/include/pthread.h:289: error: conflicting types for 'pthread_mutexattr_t' /usr/include/bits/pthreadtypes.h:102: error: previous declaration of 'pthread_mutexattr_t' was her e /usr/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t' /usr/include/bits/pthreadtypes.h:95: error: previous declaration of 'pthread_mutex_t' was here /usr/include/pthread.h:291: error: conflicting types for 'pthread_condattr_t' /usr/include/bits/pthreadtypes.h:79: error: previous declaration of 'pthread_condattr_t' was here /usr/include/pthread.h:292: error: conflicting types for 'pthread_cond_t' /usr/include/bits/pthreadtypes.h:72: error: previous declaration of 'pthread_cond_t' was here sonogram~.c: In function 'sonogram_update_block': sonogram~.c:327: warning: format '%d' expects type 'int', but argument 5 has type 't_int' sonogram~.c:347: warning: format '%d' expects type 'int', but argument 5 has type 't_int' sonogram~.c: In function 'sonogram_resize': sonogram~.c:1561: warning: ordered comparison of pointer with integer zero make: *** [sonogram~.pd_linux] Error 1Gerda
Yves Degoyon wrote:
hola,
ouye, seems you have a problem with threading ( which system? which libpthread? ), you can confirm the diagnostic trying to use cooled~ which is also a threaded external.
if it crashed, there is probably a problem with libpthread.
cheers, sevy
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi.
Yves Degoyon wrote:
ola,
well, it seems to be a mess, all i can advise you to do is to fix your libpthread with dkpg and debian tools and forums.
i am on Fedora Core 3.
just for the record:
i can confirm gerda's problem (with both [cooled~] and [sonogram~])on my i386 machine (actually it is an amd64 running a i686-kernel 2.6.17-SMP) which is also debian-based. my libc6-version is 2.3.6.ds1-7; on my laptop which runs a native x86_64 debian (libc6 is 2.3.6.ds1-4; kernel is 2.6.17), both objects work without any problem.
it would be interesting to know which version of libc6 gerda has installed.
mfg.adsr IOhannes
just something i have forgotten:
IOhannes m zmoelnig wrote:
hi.
i can confirm gerda's problem (with both [cooled~] and [sonogram~])on my i386 machine (actually it is an amd64 running a i686-kernel 2.6.17-SMP) which is also debian-based. my libc6-version is 2.3.6.ds1-7; on my laptop which runs a native x86_64 debian (libc6 is 2.3.6.ds1-4; kernel is 2.6.17), both objects work without any problem.
of course i had to add the "-fPIC" flag on x86_64.
gcc on the i686 (where the threads crash) is: cc (GCC) 4.1.2 20061020 (prerelease) (Debian 4.1.1-17)
on the x86_64 (where everything works) it is: cc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
it would be interesting to know which version of libc6 gerda has installed.
and which compiler she uses...
mfg.asdr IOhannes
Hallo,
I have libc6 2.3.6.ds1 installed and I use gcc 4.1.1.-6 as compiler.
lg Gerda
IOhannes m zmoelnig wrote:
just something i have forgotten:
IOhannes m zmoelnig wrote:
hi.
i can confirm gerda's problem (with both [cooled~] and [sonogram~])on my i386 machine (actually it is an amd64 running a i686-kernel 2.6.17-SMP) which is also debian-based. my libc6-version is 2.3.6.ds1-7; on my laptop which runs a native x86_64 debian (libc6 is 2.3.6.ds1-4; kernel is 2.6.17), both objects work without any problem.
of course i had to add the "-fPIC" flag on x86_64.
gcc on the i686 (where the threads crash) is: cc (GCC) 4.1.2 20061020 (prerelease) (Debian 4.1.1-17)
on the x86_64 (where everything works) it is: cc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
it would be interesting to know which version of libc6 gerda has installed.