[PD] readanysf~ crash

Juan I. Rivero mvjuani at gmail.com
Tue Sep 2 23:54:26 CEST 2008


Hi all.
This is my first post. I'm a new PD user and I'm trying to make
readanysf~ work under Mac OS X 10.5.4 (I have a MacBook).

The problem is that as soon as I create the readanysf~ object on PD
the application crashes!!!

I think I've successfully managed to compile Flext, libsamplerate,
Madlib, and readanysf~. Here's what I did for each dependency:
--- libsamplerate-0.1.4
./configure
make
sudo make install

--- libmad-0.15.1b
./configure
make
sudo make install

--- flext 0.5.0
./build.sh pd gcc build
(edit config-mac-pd-gcc.txt to adapt it to my system)
./build.sh pd gcc build
sudo ./build.sh pd gcc install

--- readanysf~0.13.2
./configure --with-pd-dir=/Applications/Pd-0.41-4.app/Contents/Resources/src/
--bindir=/Applications/Pd-0.41-4.app/Contents/Resources/extra
make
sudo make install

Any ideas what might be the problem? I really don't know what else to try.

Thanks.

Juan

PS Here's the crash report:
--------------------------------------------------
Process:         pd [19267]
Path:
/Applications/Pd-0.41-4.app/Contents/Resources/Scripts/../bin/pd
Identifier:      pd
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  Pd [19266]

Date/Time:       2008-09-02 18:50:33.414 -0300
OS Version:      Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  5

Thread 0:
0   libSystem.B.dylib             	0x96eb601c szone_size + 284
1   libSystem.B.dylib             	0x96eb6b25 realloc + 117
2   pd                            	0x00043b04 sys_trytogetmoreguibuf +
34 (s_inter.c:607)
3   pd                            	0x00043c5e sys_vgui + 182 (s_inter.c:654)
4   libflext-pd.dylib             	0xd0005245 TablePtrMap<int, _symbol
const*, 32>::~TablePtrMap() + 241
5   readanysf~.pd_darwin          	0x002b57aa
readanysf::__setup__(flext_class*) + 26
6   libflext-pd.dylib             	0xd00032cd
flext_obj_shared::obj_add(bool, bool, bool, bool, char const*, char
const*, void (*)(flext_class*), flext_obj_shared* (*)(int, _atom*),
void (*)(flext_hdr*), int, ...) + 717
7   readanysf~.pd_darwin          	0x002b370b readanysf_tilde_setup + 107
8   pd                            	0x00046b3b sys_do_load_lib + 612
(s_loader.c:199)
9   pd                            	0x00046e42 sys_load_lib + 43 (s_loader.c:239)
10  pd                            	0x000399e5 new_anything + 78 (m_class.c:527)
11  pd                            	0x0003959f pd_typedmess + 340 (m_class.c:754)
12  pd                            	0x0003ce27 binbuf_eval + 1075
(m_binbuf.c:722)
13  pd                            	0x00008e4e canvas_objtext + 95 (g_text.c:95)
14  pd                            	0x0000be1e text_setto + 225 (g_text.c:1321)
15  pd                            	0x0001efdd glist_deselect + 339
(g_editor.c:208)
16  pd                            	0x0001f103 glist_noselect + 36
(g_editor.c:221)
17  pd                            	0x0001fee7 canvas_doclick + 2249
(g_editor.c:1241)
18  pd                            	0x000201cb canvas_mousedown + 61
(g_editor.c:1254)
19  pd                            	0x00039810 pd_typedmess + 965 (m_class.c:728)
20  pd                            	0x0003959f pd_typedmess + 340 (m_class.c:754)
21  pd                            	0x0003ce27 binbuf_eval + 1075
(m_binbuf.c:722)
22  pd                            	0x000442d7 socketreceiver_read +
1016 (s_inter.c:546)
23  pd                            	0x0004336a sys_domicrosleep + 385
(s_inter.c:184)
24  pd                            	0x000433cf sys_microsleep + 19
(s_inter.c:207)
25  pd                            	0x000410ee m_mainloop + 468 (m_sched.c:511)
26  pd                            	0x00042fb6 sys_main + 1199 (s_main.c:309)
27  pd                            	0x00001de6 _start + 216
28  pd                            	0x00001d0d start + 41

Thread 1:
0   libSystem.B.dylib             	0x96eac4a6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x96eb3c9c mach_msg + 72
2   com.apple.CoreFoundation      	0x96d860ce CFRunLoopRunSpecific + 1790
3   com.apple.CoreFoundation      	0x96d86cf8 CFRunLoopRunInMode + 88
4   com.apple.audio.CoreAudio     	0x90fee464 HALRunLoop::OwnThread(void*) + 160
5   com.apple.audio.CoreAudio     	0x90fee300 CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib             	0x96edd6f5 _pthread_start + 321
7   libSystem.B.dylib             	0x96edd5b2 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x96eac506
semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x96ede84f _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x96ee00d3
pthread_cond_timedwait_relative_np + 47
3   com.apple.audio.CoreAudio     	0x90ffda47
CAGuard::WaitFor(unsigned long long) + 213
4   com.apple.audio.CoreAudio     	0x90fff602
CAGuard::WaitUntil(unsigned long long) + 70
5   com.apple.audio.CoreAudio     	0x90ffdda7 HP_IOThread::WorkLoop() + 759
6   com.apple.audio.CoreAudio     	0x90ffdaab
HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7   com.apple.audio.CoreAudio     	0x90fee300 CAPThread::Entry(CAPThread*) + 96
8   libSystem.B.dylib             	0x96edd6f5 _pthread_start + 321
9   libSystem.B.dylib             	0x96edd5b2 thread_start + 34

Thread 3:
0   libSystem.B.dylib             	0x96eac506
semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x96ede84f _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x96ee00d3
pthread_cond_timedwait_relative_np + 47
3   com.apple.audio.CoreAudio     	0x90ffda47
CAGuard::WaitFor(unsigned long long) + 213
4   com.apple.audio.CoreAudio     	0x90fff602
CAGuard::WaitUntil(unsigned long long) + 70
5   com.apple.audio.CoreAudio     	0x90ffdda7 HP_IOThread::WorkLoop() + 759
6   com.apple.audio.CoreAudio     	0x90ffdaab
HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7   com.apple.audio.CoreAudio     	0x90fee300 CAPThread::Entry(CAPThread*) + 96
8   libSystem.B.dylib             	0x96edd6f5 _pthread_start + 321
9   libSystem.B.dylib             	0x96edd5b2 thread_start + 34

Thread 4:
0   libSystem.B.dylib             	0x96eac4ee semaphore_wait_signal_trap + 10
1   libSystem.B.dylib             	0x96ede866 _pthread_cond_wait + 1267
2   libSystem.B.dylib             	0x96f24371 pthread_cond_wait + 48
3   libflext-pd.dylib             	0xd0007062 flext_shared::ThrCond::Wait() + 38
4   libflext-pd.dylib             	0xd000712e
flext_shared::ThrHelper(void*) + 178
5   libSystem.B.dylib             	0x96edd6f5 _pthread_start + 321
6   libSystem.B.dylib             	0x96edd5b2 thread_start + 34

Thread 5 Crashed:
0   libflext-pd.dylib             	0xd000bb98
lockfree::intrusive_fifo<FifoCell>::dequeue() + 46
1   libflext-pd.dylib             	0xd000b9fd
flext_shared::ToSysMsg(flext_shared::MsgBundle*) + 241

Thread 5 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0xd000b94f  ecx: 0xd0017780  edx: 0xb0288f00
  edi: 0xd0017780  esi: 0xb0288ef8  ebp: 0xb0288ec8  esp: 0xb0288e98
   ss: 0x0000001f  efl: 0x00010292  eip: 0xd000bb98   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0x00000000
--------------------------------------------------




More information about the Pd-list mailing list