problems with 6.09 and multithreading
Date | 2017-06-26 17:19 |
From | Karin Daum |
Subject | problems with 6.09 and multithreading |
Hi, I realised a problem with 6.09 with multithreading. I tried to run a csd with the -j 2 option and got the following error message: (I had to kill it) =mbp-kd-2:/x01/usr/daum/Csound 13:18> Csound -j 2 -d -W -3 -o testatalei.wav testfftanalysis.csd virtual_keyboard real time MIDI plugin for Csound WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH (points to rawwaves directory) to use STK opcodes. 0dBFS level = 32768.0 --Csound version 6.09 (double samples) May 22 2017 [commit: 957d79d85d9c339213bd94e7a19e541c1bbd10e0] libsndfile-1.0.25 WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjacko.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjackTransport.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1) UnifiedCSD: testfftanalysis.csd STARTING FILE Creating options Creating orchestra Creating score WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH (points to rawwaves directory) to use STK opcodes. rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled Elapsed time at end of orchestra compile: real: 0.012s, CPU: 0.012s sorting score ... ... done Elapsed time at end of score sort: real: 0.012s, CPU: 0.012s Multithread performance: insno: -1 thread -1 of 2 starting. Bad ThreadId end of score. overall amps: 0.00000 0.00000 overall samples out of range: 0 0 csound command: Segmentation fault csound command: Bus error 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 |
Date | 2017-06-26 17:36 |
From | jpff |
Subject | Re: problems with 6.09 and multithreading |
Happens on Linux too 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 Create barrier 2 => 0xbf6240 (0) Create barrier 2 => 0xc58650 (0) Multithread performance: insno: -1 thread 0 of 2 starting. graphics suppressed, ascii substituted csound command: Segmentation fault 0dBFS level = 1.0 orch now loaded audio buffered in 256 sample-frame blocks PulseAudio output server: default pulseaudio output open writing 512 sample blks of 64-bit floats to dac SECTION 1: new alloc for instr 1: inactive allocs returned to freespace end of score. overall amps: 0.06722 0.06722 overall samples out of range: 0 0 0 errors in performance Elapsed time at end of performance: real: 0.319s, CPU: 0.009s 84 512 sample blks of 64-bit floats written to dac csound command: Segmentation fault On Mon, 26 Jun 2017, Karin Daum wrote: > Hi, > > I realised a problem with 6.09 with multithreading. I tried to run a csd with the -j 2 option and got the following error message: > (I had to kill it) > > > =mbp-kd-2:/x01/usr/daum/Csound 13:18> Csound -j 2 -d -W -3 -o testatalei.wav testfftanalysis.csd > virtual_keyboard real time MIDI plugin for Csound > WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH > (points to rawwaves directory) to use STK opcodes. > 0dBFS level = 32768.0 > --Csound version 6.09 (double samples) May 22 2017 > [commit: 957d79d85d9c339213bd94e7a19e541c1bbd10e0] > libsndfile-1.0.25 > WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjacko.dylib' (-1) > WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjackTransport.dylib' (-1) > WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1) > UnifiedCSD: testfftanalysis.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH > (points to rawwaves directory) to use STK opcodes. > rtaudio: PortAudio module enabled ... > using callback interface > rtmidi: PortMIDI module enabled > Elapsed time at end of orchestra compile: real: 0.012s, CPU: 0.012s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.012s, CPU: 0.012s > Multithread performance: insno: -1 thread -1 of 2 starting. > Bad ThreadId > end of score. overall amps: 0.00000 0.00000 > overall samples out of range: 0 0 > csound command: Segmentation fault > > csound command: Bus error > > 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 |
Date | 2017-06-26 17:57 |
From | Victor Lazzarini |
Subject | Re: problems with 6.09 and multithreading |
I fixed this already, but maybe that was not applied to the develop branch, only to the 6.09.1 release branch. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 26 Jun 2017, at 17:37, jpff |
Date | 2017-06-26 18:01 |
From | Anton Kholomiov |
Subject | Re: problems with 6.09 and multithreading |
Maybe I've got segfault with my python app too? It uses perfThread with API2017-06-26 19:57 GMT+03:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>: I fixed this already, but maybe that was not applied to the develop branch, only to the 6.09.1 release branch. |
Date | 2017-06-26 18:20 |
From | Victor Lazzarini |
Subject | Re: problems with 6.09 and multithreading |
sorry, not quite sure what you mean. It is not to do with perfThread with -j
It was reported and I fixed it.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-06-26 19:00 |
From | Karin Daum |
Subject | Re: problems with 6.09 and multithreading |
so, I’m waiting for 6.09.1 :)
|