Csound Csound-dev Csound-tekno Search About

[Csnd] runtime failure MacOS

Date2022-03-21 17:39
FromJan Jacob Hofmann
Subject[Csnd] runtime failure MacOS
Dear list,

for me that issue is still not solved - probably because I do not exactly know how to do it. Maybe someone can give me a more detailed explanation on what to do.


First I would like to make sure, if the issue Dave reported is related/ the same as this one:
https://github.com/csound/csound/issues/1600

I am on Mac OSX 12.6 and my version of Csound is Csound 6.17.

The output on console is this when I try to render can be found below.
Also blue crashes when I try to render, no matter if realtime or deferred time.
Csound 6.16 runs fine, 6.17 causes these problems.

What exactly do I have to do?

Cheers,

Jan Jacob




ans-Mac-Pro:~ janjacobhofmann$ csound /Users/janjacobhofmann/Desktop/HelloWorld.csd 
WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libosc.dylib' (-1)
WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1)
UnifiedCSD:  /Users/janjacobhofmann/Desktop/HelloWorld.csd
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
--Csound version 6.17 (double samples) Feb  2 2022
[commit: deff4f9aaeaf44f7db445c215f004bca8d50901f]
libsndfile-1.0.31
graphics suppressed, ascii substituted
sr = 44100.0, kr = 1378.125, ksmps = 32
0dBFS level = 32768.0, A4 tuning = 440.0
orch now loaded
audio buffered in 1024 sample-frame blocks
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
  Expected in: /usr/lib/libSystem.B.dylib


csound command: Abort trap
inactive allocs returned to freespace
end of score.		   overall amps:      0.0
	   overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.258s, CPU: 0.003s




sound         |         movement         |         object         |        space
sonic architecture       |        site: http://www.sonicarchitecture.de
spatial electronic composition   |    higher order ambisonic music

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2022-03-21 17:43
FromSteven Yi
SubjectRe: [Csnd] runtime failure MacOS
As a test, you might be able to grab the libsndfile.1.dylib from 6.16,
uninstall, then install 6.17 and copy that libsndfile.1.dylib in. I
think that would work.

(BTW: It should be clarified this is 10.12.6)

On Mon, Mar 21, 2022 at 1:39 PM Jan Jacob Hofmann
 wrote:
>
> Dear list,
>
> for me that issue is still not solved - probably because I do not exactly know how to do it. Maybe someone can give me a more detailed explanation on what to do.
>
>
> First I would like to make sure, if the issue Dave reported is related/ the same as this one:
> https://github.com/csound/csound/issues/1600
>
> I am on Mac OSX 12.6 and my version of Csound is Csound 6.17.
>
> The output on console is this when I try to render can be found below.
> Also blue crashes when I try to render, no matter if realtime or deferred time.
> Csound 6.16 runs fine, 6.17 causes these problems.
>
> What exactly do I have to do?
>
> Cheers,
>
> Jan Jacob
>
>
>
>
> ans-Mac-Pro:~ janjacobhofmann$ csound /Users/janjacobhofmann/Desktop/HelloWorld.csd
> WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libosc.dylib' (-1)
> WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1)
> UnifiedCSD:  /Users/janjacobhofmann/Desktop/HelloWorld.csd
> rtaudio: PortAudio module enabled ...
> using callback interface
> rtmidi: PortMIDI module enabled
> Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
> sorting score ...
>         ... done
> Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
> --Csound version 6.17 (double samples) Feb  2 2022
> [commit: deff4f9aaeaf44f7db445c215f004bca8d50901f]
> libsndfile-1.0.31
> graphics suppressed, ascii substituted
> sr = 44100.0, kr = 1378.125, ksmps = 32
> 0dBFS level = 32768.0, A4 tuning = 440.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
>   Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
>   Expected in: /usr/lib/libSystem.B.dylib
>
> dyld: Symbol not found: ____chkstk_darwin
>   Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
>   Expected in: /usr/lib/libSystem.B.dylib
>
>
> csound command: Abort trap
> inactive allocs returned to freespace
> end of score.              overall amps:      0.0
>            overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 0.258s, CPU: 0.003s
>
>
>
>
> sound         |         movement         |         object         |        space
> sonic architecture       |        site: http://www.sonicarchitecture.de
> spatial electronic composition   |    higher order ambisonic music
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2022-03-21 22:08
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] runtime failure MacOS
Potentially you could simply copy the whole libs directory from 6.16 and replace the one in 6.17 with it. 

The location is

/Library/Frameworks/CsoundLib64.framework/libs

Unfortunately I don't have the means to produce binaries that support older MacOS versions at this moment.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 21 Mar 2022, at 17:44, Steven Yi  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> As a test, you might be able to grab the libsndfile.1.dylib from 6.16,
> uninstall, then install 6.17 and copy that libsndfile.1.dylib in. I
> think that would work.
> 
> (BTW: It should be clarified this is 10.12.6)
> 
>> On Mon, Mar 21, 2022 at 1:39 PM Jan Jacob Hofmann
>>  wrote:
>> 
>> Dear list,
>> 
>> for me that issue is still not solved - probably because I do not exactly know how to do it. Maybe someone can give me a more detailed explanation on what to do.
>> 
>> 
>> First I would like to make sure, if the issue Dave reported is related/ the same as this one:
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues%2F1600&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=55VO6K6cuEVeanSJmbLKFHQIAFWSZhR3U%2FjdL%2FgMR8M%3D&reserved=0
>> 
>> I am on Mac OSX 12.6 and my version of Csound is Csound 6.17.
>> 
>> The output on console is this when I try to render can be found below.
>> Also blue crashes when I try to render, no matter if realtime or deferred time.
>> Csound 6.16 runs fine, 6.17 causes these problems.
>> 
>> What exactly do I have to do?
>> 
>> Cheers,
>> 
>> Jan Jacob
>> 
>> 
>> 
>> 
>> ans-Mac-Pro:~ janjacobhofmann$ csound /Users/janjacobhofmann/Desktop/HelloWorld.csd
>> WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libosc.dylib' (-1)
>> WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1)
>> UnifiedCSD:  /Users/janjacobhofmann/Desktop/HelloWorld.csd
>> rtaudio: PortAudio module enabled ...
>> using callback interface
>> rtmidi: PortMIDI module enabled
>> Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
>> sorting score ...
>>        ... done
>> Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
>> --Csound version 6.17 (double samples) Feb  2 2022
>> [commit: deff4f9aaeaf44f7db445c215f004bca8d50901f]
>> libsndfile-1.0.31
>> graphics suppressed, ascii substituted
>> sr = 44100.0, kr = 1378.125, ksmps = 32
>> 0dBFS level = 32768.0, A4 tuning = 440.0
>> orch now loaded
>> audio buffered in 1024 sample-frame blocks
>> dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
>>  Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
>>  Expected in: /usr/lib/libSystem.B.dylib
>> 
>> dyld: Symbol not found: ____chkstk_darwin
>>  Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib
>>  Expected in: /usr/lib/libSystem.B.dylib
>> 
>> 
>> csound command: Abort trap
>> inactive allocs returned to freespace
>> end of score.              overall amps:      0.0
>>           overall samples out of range:        0
>> 0 errors in performance
>> Elapsed time at end of performance: real: 0.258s, CPU: 0.003s
>> 
>> 
>> 
>> 
>> sound         |         movement         |         object         |        space
>> sonic architecture       |        site: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sonicarchitecture.de%2F&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=VRM2uNp2dbKiN7UZa0vylErqu8xU4q%2Fm59v%2BgKE%2BOTc%3D&reserved=0
>> spatial electronic composition   |    higher order ambisonic music
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Kcb8yybX2sRCtpD6obGtZu%2BVr57vOiHg4YXym%2FQBAX4%3D&reserved=0
>> Send bugs reports to
>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IRpuaFG5wbI8B4w7MZOPb9QZ4Ku3xNuKo6x98QNNlvw%3D&reserved=0
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Kcb8yybX2sRCtpD6obGtZu%2BVr57vOiHg4YXym%2FQBAX4%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C4fb7ee6dc9514403314908da0b625e25%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637834814533475836%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IRpuaFG5wbI8B4w7MZOPb9QZ4Ku3xNuKo6x98QNNlvw%3D&reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here