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