sampov2 / foo-yc20

This is a Faust implementation of a 1969 designed Yamaha combo organ, the YC-20. Available on the web, as a VST and LV2 plugins and a standalone version.
http://foo-yc20.codeforcode.com
Other
88 stars 17 forks source link

foo-yc20 does not start #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

$ foo-yc20

The result follows:

Foo-YC20 1.3.0 (c)Sampo Savolainen 2010
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_Foo YC20
Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = Foo YC20 refnum = 3
Jack: JackClient::PortRegister ref = 3 name = Foo YC20:midi in type = 8 bit raw 
midi port_index = 11
Jack: JackClient::PortRegister ref = 3 name = Foo YC20:output type = 32 bit 
float mono audio port_index = 12
Jack: JackClient::PortRegister ref = 3 name = Foo YC20:treble type = 32 bit 
float mono audio port_index = 13
Jack: JackClient::PortRegister ref = 3 name = Foo YC20:bass type = 32 bit float 
mono audio port_index = 14
ERROR: no Control for DSP label standalone
Segmentation fault

This bug was reported to <pkg-multimedia-maintainers@lists.alioth.debian.org>, 
see the original message for more information:
http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2012-April/0
25997.html

Original issue reported on code.google.com by quadris...@gmail.com on 10 Apr 2012 at 9:45

GoogleCodeExporter commented 9 years ago
I get the same when launching foo-yc20-cli too:

$ LC_ALL=C foo-yc20-cli 
Foo-YC20 (CLI) 1.3.0 (c)Sampo Savolainen 2010
ERROR: no Control for DSP label standalone
*** glibc detected *** foo-yc20-cli: munmap_chunk(): invalid pointer: 
0x00007fff05ce0fc0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75ab6)[0x7f92857bbab6]
foo-yc20-cli[0x40bc49]
foo-yc20-cli[0x4032b7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f9285764ead]
foo-yc20-cli[0x4034b9]
======= Memory map: ========
00400000-00425000 r-xp 00000000 08:05 3014661                            
/usr/bin/foo-yc20-cli
00625000-00626000 rw-p 00025000 08:05 3014661                            
/usr/bin/foo-yc20-cli
00d04000-00d25000 rw-p 00000000 00:00 0                                  [heap]
7f92804c1000-7f9285331000 rw-s 00000000 00:11 1390739                    
/run/shm/jack-1000-0
7f9285331000-7f9285333000 r-xp 00000000 08:05 1835570                    
/lib/x86_64-linux-gnu/libdl-2.13.so
7f9285333000-7f9285533000 ---p 00002000 08:05 1835570                    
/lib/x86_64-linux-gnu/libdl-2.13.so
7f9285533000-7f9285534000 r--p 00002000 08:05 1835570                    
/lib/x86_64-linux-gnu/libdl-2.13.so
7f9285534000-7f9285535000 rw-p 00003000 08:05 1835570                    
/lib/x86_64-linux-gnu/libdl-2.13.so
7f9285535000-7f9285546000 r-xp 00000000 08:05 3053928                    
/usr/lib/libcelt0.so.0.0.0
7f9285546000-7f9285745000 ---p 00011000 08:05 3053928                    
/usr/lib/libcelt0.so.0.0.0
7f9285745000-7f9285746000 rw-p 00010000 08:05 3053928                    
/usr/lib/libcelt0.so.0.0.0
7f9285746000-7f92858c3000 r-xp 00000000 08:05 1835103                    
/lib/x86_64-linux-gnu/libc-2.13.so
7f92858c3000-7f9285ac3000 ---p 0017d000 08:05 1835103                    
/lib/x86_64-linux-gnu/libc-2.13.so
7f9285ac3000-7f9285ac7000 r--p 0017d000 08:05 1835103                    
/lib/x86_64-linux-gnu/libc-2.13.so
7f9285ac7000-7f9285ac8000 rw-p 00181000 08:05 1835103                    
/lib/x86_64-linux-gnu/libc-2.13.so
7f9285ac8000-7f9285acd000 rw-p 00000000 00:00 0 
7f9285acd000-7f9285ae2000 r-xp 00000000 08:05 1835251                    
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f9285ae2000-7f9285ce2000 ---p 00015000 08:05 1835251                    
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f9285ce2000-7f9285ce3000 rw-p 00015000 08:05 1835251                    
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f9285ce3000-7f9285d64000 r-xp 00000000 08:05 1835552                    
/lib/x86_64-linux-gnu/libm-2.13.so
7f9285d64000-7f9285f63000 ---p 00081000 08:05 1835552                    
/lib/x86_64-linux-gnu/libm-2.13.so
7f9285f63000-7f9285f64000 r--p 00080000 08:05 1835552                    
/lib/x86_64-linux-gnu/libm-2.13.so
7f9285f64000-7f9285f65000 rw-p 00081000 08:05 1835552                    
/lib/x86_64-linux-gnu/libm-2.13.so
7f9285f65000-7f928604d000 r-xp 00000000 08:05 3276836                    
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f928604d000-7f928624d000 ---p 000e8000 08:05 3276836                    
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f928624d000-7f9286255000 r--p 000e8000 08:05 3276836                    
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f9286255000-7f9286257000 rw-p 000f0000 08:05 3276836                    
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f9286257000-7f928626c000 rw-p 00000000 00:00 0 
7f928626c000-7f9286273000 r-xp 00000000 08:05 1835577                    
/lib/x86_64-linux-gnu/librt-2.13.so
7f9286273000-7f9286472000 ---p 00007000 08:05 1835577                    
/lib/x86_64-linux-gnu/librt-2.13.so
7f9286472000-7f9286473000 r--p 00006000 08:05 1835577                    
/lib/x86_64-linux-gnu/librt-2.13.so
7f9286473000-7f9286474000 rw-p 00007000 08:05 1835577                    
/lib/x86_64-linux-gnu/librt-2.13.so
7f9286474000-7f928648b000 r-xp 00000000 08:05 1835575                    
/lib/x86_64-linux-gnu/libpthread-2.13.so
7f928648b000-7f928668a000 ---p 00017000 08:05 1835575                    
/lib/x86_64-linux-gnu/libpthread-2.13.so
7f928668a000-7f928668b000 r--p 00016000 08:05 1835575                    
/lib/x86_64-linux-gnu/libpthread-2.13.so
7f928668b000-7f928668c000 rw-p 00017000 08:05 1835575                    
/lib/x86_64-linux-gnu/libpthread-2.13.so
7f928668c000-7f9286690000 rw-p 00000000 00:00 0 
7f9286690000-7f92866e2000 r-xp 00000000 08:05 3015676                    
/usr/lib/libjack.so.0.1.0
7f92866e2000-7f92868e2000 ---p 00052000 08:05 3015676                    
/usr/lib/libjack.so.0.1.0
7f92868e2000-7f92868e5000 rw-p 00052000 08:05 3015676                    
/usr/lib/libjack.so.0.1.0
7f92868e5000-7f92868e6000 rw-p 00000000 00:00 0 
7f92868e6000-7f9286905000 r-xp 00000000 08:05 1835580                    
/lib/x86_64-linux-gnu/ld-2.13.so
7f92869da000-7f92869db000 ---p 00000000 00:00 0 
7f92869db000-7f9286a5b000 rw-p 00000000 00:00 0 
7f9286a5b000-7f9286a5c000 ---p 00000000 00:00 0 
7f9286a5c000-7f9286ae3000 rw-p 00000000 00:00 0 
7f9286aeb000-7f9286aec000 rw-s 00000000 00:11 1395084                    
/run/shm/sem.jack_sem.1000_default_Foo YC20
7f9286aec000-7f9286aed000 rw-s 00000000 00:11 1395086                    
/run/shm/jack-1000-2 (deleted)
7f9286aed000-7f9286aee000 rw-s 00000000 00:11 1390740                    
/run/shm/jack-1000-1
7f9286aee000-7f9286b00000 rw-s 00000000 00:11 1339851                    
/run/shm/jack-shm-registry
7f9286b00000-7f9286b01000 rw-s 00000000 00:11 1389717                    
/run/shm/sem.jack_sem.1000_default_dbusapi
7f9286b01000-7f9286b02000 rw-s 00000000 00:11 1390745                    
/run/shm/sem.jack_sem.1000_default_freewheel
7f9286b02000-7f9286b03000 rw-s 00000000 00:11 1390741                    
/run/shm/sem.jack_sem.1000_default_system
7f9286b03000-7f9286b05000 rw-p 00000000 00:00 0 
7f9286b05000-7f9286b06000 r--p 0001f000 08:05 1835580                    
/lib/x86_64-linux-gnu/ld-2.13.so
7f9286b06000-7f9286b07000 rw-p 00020000 08:05 1835580                    
/lib/x86_64-linux-gnu/ld-2.13.so
7f9286b07000-7f9286b08000 rw-p 00000000 00:00 0 
7fff05cc3000-7fff05ce4000 rw-p 00000000 00:00 0                          [stack]
7fff05dff000-7fff05e00000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]

Original comment by quadris...@gmail.com on 10 Apr 2012 at 9:48

GoogleCodeExporter commented 9 years ago
Can you post the contents of the file ~/.foo-yc20/default ?

Original comment by sampo.sa...@gmail.com on 10 Apr 2012 at 6:14

GoogleCodeExporter commented 9 years ago

Original comment by quadris...@gmail.com on 12 Apr 2012 at 7:52

Attachments:

GoogleCodeExporter commented 9 years ago
Attached.

Original comment by quadris...@gmail.com on 12 Apr 2012 at 7:53

GoogleCodeExporter commented 9 years ago
As an aside, removing that file does not fix the issue.

Original comment by quadris...@gmail.com on 12 Apr 2012 at 7:54

GoogleCodeExporter commented 9 years ago
What version of Faust is the package built with?

Original comment by sampo.sa...@gmail.com on 14 Apr 2012 at 1:50

GoogleCodeExporter commented 9 years ago
.. also, do you have a build log of the packaging operation?

Original comment by sampo.sa...@gmail.com on 14 Apr 2012 at 1:54

GoogleCodeExporter commented 9 years ago
The buildlogs are available here:
https://buildd.debian.org/status/package.php?p=foo-yc20

Original comment by quadris...@gmail.com on 25 Apr 2012 at 9:33

GoogleCodeExporter commented 9 years ago
The debian build generates the DSP code (make generate-source) using an 
incompatible version of faust. This source package already contains generated 
DSP code and thus this step is not required.

This problem should go away by changing the package build process so it does 
not call make generate-source .

Also note that the patch to add the faust include directory in the build is 
only necessary due to the build regenerating the source with a newer version of 
faust. You should be able to take that patch out as well.

Original comment by sampo.sa...@gmail.com on 25 Apr 2012 at 7:55

GoogleCodeExporter commented 9 years ago
Thanks, it works for me now.

Could you update it to build with one of the latest faust releases?

Original comment by quadris...@gmail.com on 30 Apr 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Latest faust release is a moving target. It makes little sense for me to keep 
up with changes in faust. Especially as the DSP code included in the 
distribution is tested to work correctly. The generate-source target is 
provided for people who want to dig into the source.

If you know of substantial performance or stability improvements done in later 
releases of Faust, then it's a different story.

Original comment by sampo.sa...@gmail.com on 30 Apr 2012 at 9:51