[PD] sonogram(unauthorized) Segmentation fault
gerda.strobl at student.tugraz.at
Tue Oct 31 17:22:48 CET 2006
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
this is what I get when I run cooled~ with the gdb:
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 ?? ()
#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 ;-).
Yves Degoyon wrote:
> 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.
> Gerda Strobl wrote:
>> 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
>> 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
>> 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
>> /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
>> /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
>> /usr/include/bits/pthreadtypes.h:95: error: previous declaration of
>> 'pthread_mutex_t' was here
>> /usr/include/pthread.h:291: error: conflicting types for
>> /usr/include/bits/pthreadtypes.h:79: error: previous declaration of
>> 'pthread_condattr_t' was here
>> /usr/include/pthread.h:292: error: conflicting types for
>> /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
>> make: *** [sonogram~.pd_linux] Error 1
>> Yves Degoyon wrote:
>>> 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.
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list