Csound Csound-dev Csound-tekno Search About

[Csnd] Csound tidy up: Segmentation fault

Date2013-01-27 13:47
Fromzappfinger
Subject[Csnd] Csound tidy up: Segmentation fault
I am getting this error with a csd that used to work in a older version of
csound.
The .csd is attached.


Richard

ESMSx.csd   

richards-macbook-2:ESMS richard$ csound ESMSx.csd
Csound version 5.19.00 (float samples) Jan 16 2013
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
(-1)
UnifiedCSD: ESMSx.csd
Creating options
Creating orchestra
Creating score
graph init 
using callback interface
Parsing successful!
Sorting score
midi channel 1 using instr 1
midi channel 2 using instr 2
midi channel 3 using instr 3
midi channel 4 using instr 1
midi channel 5 using instr 1
midi channel 6 using instr 6
midi channel 7 using instr 1
midi channel 8 using instr 1
midi channel 9 using instr 1
midi channel 10 using instr 10
midi channel 11 using instr 1
midi channel 12 using instr 1
midi channel 13 using instr 1
midi channel 14 using instr 1
midi channel 15 using instr 1
midi channel 16 using instr 1
0dBFS level = 10000.0
Created fluidEngine 0x0x105b61fe0 with sampling rate = 44100.000000, chorus
on, reverb on, channels 256, voices 4096.
Loading SoundFont : ./samples/acoustic_piano_imis_1.sf2.
Csound tidy up: Segmentation fault
inactive allocs returned to freespace
end of score.		   overall amps:      0.0      0.0
	   overall samples out of range:        0        0
0 errors in performance




--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tidy-up-Segmentation-fault-tp5719621.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-01-27 14:15
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Csound tidy up: Segmentation fault
Any chance of running under gdb to see where it fails?


> I am getting this error with a csd that used to work in a older version of
> csound.
> The .csd is attached.
>
>
> Richard
>



Date2013-01-27 14:18
FromVictor Lazzarini
SubjectRe: [Csnd] Csound tidy up: Segmentation fault
We can't test without the soundfont files.
On 27 Jan 2013, at 13:47, zappfinger wrote:

> I am getting this error with a csd that used to work in a older version of
> csound.
> The .csd is attached.
> 
> 
> Richard
> 
> ESMSx.csd   
> 
> richards-macbook-2:ESMS richard$ csound ESMSx.csd
> Csound version 5.19.00 (float samples) Jan 16 2013
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)
> UnifiedCSD: ESMSx.csd
> Creating options
> Creating orchestra
> Creating score
> graph init 
> using callback interface
> Parsing successful!
> Sorting score
> midi channel 1 using instr 1
> midi channel 2 using instr 2
> midi channel 3 using instr 3
> midi channel 4 using instr 1
> midi channel 5 using instr 1
> midi channel 6 using instr 6
> midi channel 7 using instr 1
> midi channel 8 using instr 1
> midi channel 9 using instr 1
> midi channel 10 using instr 10
> midi channel 11 using instr 1
> midi channel 12 using instr 1
> midi channel 13 using instr 1
> midi channel 14 using instr 1
> midi channel 15 using instr 1
> midi channel 16 using instr 1
> 0dBFS level = 10000.0
> Created fluidEngine 0x0x105b61fe0 with sampling rate = 44100.000000, chorus
> on, reverb on, channels 256, voices 4096.
> Loading SoundFont : ./samples/acoustic_piano_imis_1.sf2.
> Csound tidy up: Segmentation fault
> inactive allocs returned to freespace
> end of score.		   overall amps:      0.0      0.0
> 	   overall samples out of range:        0        0
> 0 errors in performance
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-tidy-up-Segmentation-fault-tp5719621.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-27 14:21
FromVictor Lazzarini
SubjectRe: [Csnd] Csound tidy up: Segmentation fault
There is something wrong with the fluidsynth library., I am checking.
On 27 Jan 2013, at 14:15, jpff@cs.bath.ac.uk wrote:

> Any chance of running under gdb to see where it fails?
> 
> 
>> I am getting this error with a csd that used to work in a older version of
>> csound.
>> The .csd is attached.
>> 
>> 
>> Richard
>> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-27 14:32
FromVictor Lazzarini
SubjectRe: [Csnd] Csound tidy up: Segmentation fault
It appears to be a problem with the floats version. Doubles seems to run OK.

Victor
On 27 Jan 2013, at 14:21, Victor Lazzarini wrote:

> There is something wrong with the fluidsynth library., I am checking.
> On 27 Jan 2013, at 14:15, jpff@cs.bath.ac.uk wrote:
> 
>> Any chance of running under gdb to see where it fails?
>> 
>> 
>>> I am getting this error with a csd that used to work in a older version of
>>> csound.
>>> The .csd is attached.
>>> 
>>> 
>>> Richard
>>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-27 14:54
FromVictor Lazzarini
SubjectRe: [Csnd] Csound tidy up: Segmentation fault
yes, and the reason is clear: MYFLT * is used to carry a pointer that is 64bit long, so the complete address is lost.
The assumption was that pointers were 32bit, no longer valid in 64bit OSs. 

OK, so it is a floats version bug, and it has always been there.

We'll need to fix it. For the moment, users are advised to only use the doubles version.

Regards

Victor

On 27 Jan 2013, at 14:32, Victor Lazzarini wrote:

> It appears to be a problem with the floats version. Doubles seems to run OK.
> 
> Victor
> On 27 Jan 2013, at 14:21, Victor Lazzarini wrote:
> 
>> There is something wrong with the fluidsynth library., I am checking.
>> On 27 Jan 2013, at 14:15, jpff@cs.bath.ac.uk wrote:
>> 
>>> Any chance of running under gdb to see where it fails?
>>> 
>>> 
>>>> I am getting this error with a csd that used to work in a older version of
>>>> csound.
>>>> The .csd is attached.
>>>> 
>>>> 
>>>> Richard
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-27 19:51
Fromzappfinger
Subject[Csnd] Re: Csound tidy up: Segmentation fault
OK, how do I get/run the Csound doubles version?


Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tidy-up-Segmentation-fault-tp5719621p5719637.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-01-27 19:59
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Csound tidy up: Segmentation fault
You can use CsoundQT 0.7.0  or, from the command-line, csound64

Victor


On 27 Jan 2013, at 19:51, zappfinger wrote:

> OK, how do I get/run the Csound doubles version?
> 
> 
> Richard
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-tidy-up-Segmentation-fault-tp5719621p5719637.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-27 20:09
Fromzappfinger
Subject[Csnd] Re: Csound tidy up: Segmentation fault
Thanks Victor!

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tidy-up-Segmentation-fault-tp5719621p5719639.html
Sent from the Csound - General mailing list archive at Nabble.com.