< Back to IRCAM Forum

antescofo linux version crashes

Hi!

Great to have a linux version of antescofo~!

But both pd-extended 0.43.3 and pd 0.45.4 crash immediatly when starting dsp.

Any hints welcome, thanks in advance!

/phil

Hello Phil.
What version of linux do you have. Have a core dump of the crash ?


Jean-Louis.

Hi all.

Great to have a linux version of antescofo~!

+1

Using recent pd (0.46-6 from sf), loading an [antescofo~] object, dsp on/off is ok here.

However, there’s something else fuzzing up here, perhaps related? Pd segfaults with “double free…” when deleting the [antescofo~] object, ie. selecting the object and Ctrl-x. Attached is the dump.

-anders

Where did that attachment go? Anyways, here is all the glory:

Script started on to. 26. mars 2015 kl. 10.23 +0100  
$ pd -jack -verbose -stderr -path /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux  
input channels = 2, output channels = 2  
Pd-0.46.6 ("") compiled 22:01:33 Mar 22 2015  
port 5400  
TCL_LIBRARY="/usr/local/lib/pd/lib/tcl/library" TK_LIBRARY="/usr/local/lib/pd/lib/tk/library"   wish "/usr/local/lib/pd/tcl//pd-gui.tcl" 5400  
priority 6 scheduling enabled.  

Waiting for connection request...   
/usr/local/lib/pd/bin/pd-watchdog  
... connected  
opened 0 MIDI input device(s) and 0 MIDI output device(s).  
input channels = 2, output channels = 2  
verbose(4): JACK: started server as 'pure_data_0'  
tried /home/andersvi/antescofo~.l_ia64 and failed  
tried /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux/antescofo~.l_ia64 and succeeded  
Antescofo~ - Anticipatory Score Following v0.8-master  
             Compiled on Jan 21 2015 19:29:03  
             by Arshia Cont, Philippe Cuvillier, José Echeveste, Jean-Louis Giavitto © Ircam-Centre Pompidou, 2007-2014.  
             Your Antescofo is up-to-date!  
*** Error in 

pd’: double free or corruption (!prev): 0x0000000001dc5fb0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x326ec77d9e]
/lib64/libc.so.6(cfree+0x5b5)[0x326ec839f5]
pd(glist_delete+0x130)[0x417550]
pd[0x44de69]
pd[0x44ee5a]
pd(pd_typedmess+0x420)[0x46e720]
pd(binbuf_eval+0x447)[0x4775f7]
pd(socketreceiver_read+0xb4)[0x482194]
pd[0x4816a5]
pd(sys_pollgui+0xb)[0x4838eb]
pd(m_mainloop+0x74a)[0x47de6a]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x326ec1ffe0]
pd[0x41223e]
======= Memory map: ========
00400000-0053c000 r-xp 00000000 fd:00 2762778 /usr/local/bin/pd
0073b000-0073c000 r–p 0013b000 fd:00 2762778 /usr/local/bin/pd
0073c000-0073e000 rw-p 0013c000 fd:00 2762778 /usr/local/bin/pd
0073e000-0074e000 rw-p 00000000 00:00 0
01dab000-01ee6000 rw-p 00000000 00:00 0 [heap]
326e800000-326e821000 r-xp 00000000 fd:00 2621859 /usr/lib64/ld-2.20.so
326ea21000-326ea22000 r–p 00021000 fd:00 2621859 /usr/lib64/ld-2.20.so
326ea22000-326ea23000 rw-p 00022000 fd:00 2621859 /usr/lib64/ld-2.20.so
326ea23000-326ea24000 rw-p 00000000 00:00 0
326ec00000-326edb3000 r-xp 00000000 fd:00 2621871 /usr/lib64/libc-2.20.so
326edb3000-326efb3000 —p 001b3000 fd:00 2621871 /usr/lib64/libc-2.20.so
326efb3000-326efb7000 r–p 001b3000 fd:00 2621871 /usr/lib64/libc-2.20.so
326efb7000-326efb9000 rw-p 001b7000 fd:00 2621871 /usr/lib64/libc-2.20.so
326efb9000-326efbd000 rw-p 00000000 00:00 0
326f000000-326f107000 r-xp 00000000 fd:00 2622079 /usr/lib64/libm-2.20.so
326f107000-326f306000 —p 00107000 fd:00 2622079 /usr/lib64/libm-2.20.so
326f306000-326f307000 r–p 00106000 fd:00 2622079 /usr/lib64/libm-2.20.so
326f307000-326f308000 rw-p 00107000 fd:00 2622079 /usr/lib64/libm-2.20.so
326f400000-326f417000 r-xp 00000000 fd:00 2621971 /usr/lib64/libpthread-2.20.so
326f417000-326f616000 —p 00017000 fd:00 2621971 /usr/lib64/libpthread-2.20.so
326f616000-326f617000 r–p 00016000 fd:00 2621971 /usr/lib64/libpthread-2.20.so
326f617000-326f618000 rw-p 00017000 fd:00 2621971 /usr/lib64/libpthread-2.20.so
326f618000-326f61c000 rw-p 00000000 00:00 0
326f800000-326f803000 r-xp 00000000 fd:00 2622060 /usr/lib64/libdl-2.20.so
326f803000-326fa02000 —p 00003000 fd:00 2622060 /usr/lib64/libdl-2.20.so
326fa02000-326fa03000 r–p 00002000 fd:00 2622060 /usr/lib64/libdl-2.20.so
326fa03000-326fa04000 rw-p 00003000 fd:00 2622060 /usr/lib64/libdl-2.20.so
3270000000-3270016000 r-xp 00000000 fd:00 2622081 /usr/lib64/libgcc_s-4.9.2-20150212.so.1
3270016000-3270215000 —p 00016000 fd:00 2622081 /usr/lib64/libgcc_s-4.9.2-20150212.so.1
3270215000-3270216000 r–p 00015000 fd:00 2622081 /usr/lib64/libgcc_s-4.9.2-20150212.so.1
3270216000-3270217000 rw-p 00016000 fd:00 2622081 /usr/lib64/libgcc_s-4.9.2-20150212.so.1
3270400000-3270407000 r-xp 00000000 fd:00 2622124 /usr/lib64/librt-2.20.so
3270407000-3270606000 —p 00007000 fd:00 2622124 /usr/lib64/librt-2.20.so
3270606000-3270607000 r–p 00006000 fd:00 2622124 /usr/lib64/librt-2.20.so
3270607000-3270608000 rw-p 00007000 fd:00 2622124 /usr/lib64/librt-2.20.so
3271c00000-3271cf0000 r-xp 00000000 fd:00 2622089 /usr/lib64/libstdc++.so.6.0.20
3271cf0000-3271ef0000 —p 000f0000 fd:00 2622089 /usr/lib64/libstdc++.so.6.0.20
3271ef0000-3271ef8000 r–p 000f0000 fd:00 2622089 /usr/lib64/libstdc++.so.6.0.20
3271ef8000-3271efa000 rw-p 000f8000 fd:00 2622089 /usr/lib64/libstdc++.so.6.0.20
3271efa000-3271f0f000 rw-p 00000000 00:00 0
3272800000-3272817000 r-xp 00000000 fd:00 2625027 /usr/lib64/libresolv-2.20.so
3272817000-3272a16000 —p 00017000 fd:00 2625027 /usr/lib64/libresolv-2.20.so
3272a16000-3272a17000 r–p 00016000 fd:00 2625027 /usr/lib64/libresolv-2.20.so
3272a17000-3272a18000 rw-p 00017000 fd:00 2625027 /usr/lib64/libresolv-2.20.so
3272a18000-3272a1a000 rw-p 00000000 00:00 0
3287600000-32877f9000 r-xp 00000000 fd:00 2630453 /usr/lib64/libfftw3f.so.3.4.4
32877f9000-32879f8000 —p 001f9000 fd:00 2630453 /usr/lib64/libfftw3f.so.3.4.4
32879f8000-3287a0c000 r–p 001f8000 fd:00 2630453 /usr/lib64/libfftw3f.so.3.4.4
3287a0c000-3287a0d000 rw-p 0020c000 fd:00 2630453 /usr/lib64/libfftw3f.so.3.4.4
328ae00000-328ae57000 r-xp 00000000 fd:00 2629740 /usr/lib64/libjack.so.0.1.0
328ae57000-328b056000 —p 00057000 fd:00 2629740 /usr/lib64/libjack.so.0.1.0
328b056000-328b059000 r–p 00056000 fd:00 2629740 /usr/lib64/libjack.so.0.1.0
328b059000-328b05a000 rw-p 00059000 fd:00 2629740 /usr/lib64/libjack.so.0.1.0
328b05a000-328b05b000 rw-p 00000000 00:00 0
328b200000-328b2e1000 r-xp 00000000 fd:00 2630964 /usr/lib64/libasound.so.2.0.0
328b2e1000-328b4e0000 —p 000e1000 fd:00 2630964 /usr/lib64/libasound.so.2.0.0
328b4e0000-328b4e7000 r–p 000e0000 fd:00 2630964 /usr/lib64/libasound.so.2.0.0
328b4e7000-328b4e9000 rw-p 000e7000 fd:00 2630964 /usr/lib64/libasound.so.2.0.0
328c400000-328c44b000 r-xp 00000000 fd:00 2628708 /usr/lib64/libopus.so.0.5.0
328c44b000-328c64a000 —p 0004b000 fd:00 2628708 /usr/lib64/libopus.so.0.5.0
328c64a000-328c64b000 r–p 0004a000 fd:00 2628708 /usr/lib64/libopus.so.0.5.0
328c64b000-328c64c000 rw-p 0004b000 fd:00 2628708 /usr/lib64/libopus.so.0.5.0
7f3fc3430000-7f3fc99a3000 r–p 00000000 fd:00 2622766 /usr/lib/locale/locale-archive
7f3fc99a3000-7f3fd0000000 rw-s 00000000 00:12 375358 /dev/shm/jack-1000-0
7f3fd0000000-7f3fd0021000 rw-p 00000000 00:00 0
7f3fd0021000-7f3fd4000000 —p 00000000 00:00 0
7f3fd7175000-7f3fd717a000 r-xp 00000000 fd:00 2624917 /usr/lib64/libnss_dns-2.20.so
7f3fd717a000-7f3fd7379000 —p 00005000 fd:00 2624917 /usr/lib64/libnss_dns-2.20.so
7f3fd7379000-7f3fd737a000 r–p 00004000 fd:00 2624917 /usr/lib64/libnss_dns-2.20.so
7f3fd737a000-7f3fd737b000 rw-p 00005000 fd:00 2624917 /usr/lib64/libnss_dns-2.20.so
7f3fd737b000-7f3fd7387000 r-xp 00000000 fd:00 2624922 /usr/lib64/libnss_files-2.20.so
7f3fd7387000-7f3fd7586000 —p 0000c000 fd:00 2624922 /usr/lib64/libnss_files-2.20.so
7f3fd7586000-7f3fd7587000 r–p 0000b000 fd:00 2624922 /usr/lib64/libnss_files-2.20.so
7f3fd7587000-7f3fd7588000 rw-p 0000c000 fd:00 2624922 /usr/lib64/libnss_files-2.20.so
7f3fd75c0000-7f3fd7a87000 r-xp 00000000 fd:02 3185651 /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux/antescofo~.l_ia64
7f3fd7a87000-7f3fd7c87000 —p 004c7000 fd:02 3185651 /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux/antescofo~.l_ia64
7f3fd7c87000-7f3fd7c96000 r–p 004c7000 fd:02 3185651 /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux/antescofo~.l_ia64
7f3fd7c96000-7f3fd7cfb000 rw-p 004d6000 fd:02 3185651 /home/andersvi/site/ANTESCOFO/Antescofo_Pd_Linux/antescofo~.l_ia64
7f3fd7cfb000-7f3fd7d04000 rw-p 00000000 00:00 0
7f3fd7d04000-7f3fd7d05000 —p 00000000 00:00 0
7f3fd7d05000-7f3fd7d85000 rw-p 00000000 00:00 0 [stack]
7f3fd7d85000-7f3fd7d86000 —p 00000000 00:00 0
7f3fd7d86000-7f3fd7e06000 rw-p 00000000 00:00 0 [stack]
7f3fd7e06000-7f3fd7e07000 —p 00000000 00:00 0
7f3fd7e07000-7f3fd7e90000 rw-p 00000000 00:00 0 [stack]
7f3fd7eaf000-7f3fd7eb0000 rw-p 00000000 00:00 0
7f3fd7eb0000-7f3fd7eb1000 rw-s 00000000 00:12 395307 /dev/shm/sem.jack_sem.1000_default_pure_data_0
7f3fd7eb1000-7f3fd7eb2000 rw-s 00000000 00:12 395309 /dev/shm/jack-1000-3 (deleted)
7f3fd7eb2000-7f3fd7eb3000 rw-s 00000000 00:12 375359 /dev/shm/jack-1000-1
7f3fd7eb3000-7f3fd7ec5000 rw-s 00000000 00:12 351547 /dev/shm/jack-shm-registry
7f3fd7ec5000-7f3fd7ec6000 rw-s 00000000 00:12 359542 /dev/shm/sem.jack_sem.1000_default_SuperCollider
7f3fd7ec6000-7f3fd7ec7000 rw-s 00000000 00:12 351555 /dev/shm/sem.jack_sem.1000_default_freewheel
7f3fd7ec7000-7f3fd7ec8000 rw-s 00000000 00:12 351550 /dev/shm/sem.jack_sem.1000_default_system
7f3fd7ec8000-7f3fd7ef4000 r-xp 00000000 fd:00 2754077 /usr/local/lib/libportaudio.so.2.0.0
7f3fd7ef4000-7f3fd80f4000 —p 0002c000 fd:00 2754077 /usr/local/lib/libportaudio.so.2.0.0
7f3fd80f4000-7f3fd80f5000 r–p 0002c000 fd:00 2754077 /usr/local/lib/libportaudio.so.2.0.0
7f3fd80f5000-7f3fd80f6000 rw-p 0002d000 fd:00 2754077 /usr/local/lib/libportaudio.so.2.0.0
7f3fd80f6000-7f3fd80f8000 rw-p 00000000 00:00 0
7ffd0574c000-7ffd0576e000 rw-p 00000000 00:00 0 [stack]
7ffd05785000-7ffd05787000 r–p 00000000 00:00 0 [vvar]
7ffd05787000-7ffd05789000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Pd: signal 6
$ exit
exit

Script done on to. 26. mars 2015 kl. 10.23 +0100
`

@phil: You should use Pd 0.46 or later… .

@anders: I have corrected a bunch of bugs in the upcoming release which will solve a lot of bugs including your segfault… stay tuned!

Thank you all for your input!

I have now built pd 0.46-6 and will test and report back.

@Jean-Louis: I’m on ubuntu 14.04, 64bit, unfortunately no core dumps of the old crash atm, will try with recent pd…

/p

Seems to be an issue with pd, it segfaults when started with pd -jack.
With pd -alsa, antescofo~ seems to work, so now I have to get pd to work with jack…

/p

Meanwhile I think I could resolve the pd/jack issue and now sometimes I can run antescofo~. However, most of the time loading the demo patch, it segfaults immediately.

Anders, is your setup running reliably? What system are you using?

Thanks!

/p

Know that I have spend some time on the Pd version of Antescofo and have corrected lots of bugs and missing functionalities… . They will all be featured in the upcoming release of version 0.9. Meanwhile, the version you have should “work” without immediate segfaults but some functionalities are maybe buggy.

Thank you for your great work on every version!
I have to correct myself: in fact, antescofo~ works for me - I just figured out that only the A2_Tutti.pd patch segfaults (with which I actually tried to get started…) So: Apologies!