Csound Csound-dev Csound-tekno Search About

[Csnd] diskin crashes at eof

Date2009-03-30 19:19
Fromjoachim heintz
Subject[Csnd] diskin crashes at eof
I don't know if it has yet reported, but diskin crashes still (or  
again) at the end of the file which is read. The following crashes  
QuteCsound after 3 seconds and gives a Bus error message in the  
Terminal:



-o dac


instr 1
acrash	diskin "fox.wav", 1
out acrash
endin


i 1 0 4
e



I'm using Csound 5.10 IntelMac float version. Best -

	joachim

Date2009-03-31 15:27
FromMarco Stroppa
Subject[Csnd] AW: diskin crashes at eof
I tried the file as two separate files (orc/sco) using csound 5.08 via a Terminal window on a MacBook Intel and it runs all right on my computer. No crashes. Perhaps a problem with QuteCsound?
Cheers.



Marco


----- Ursprüngliche Mail ----
> Von: joachim heintz 
> An: csound@lists.bath.ac.uk
> Gesendet: Montag, den 30. März 2009, 20:19:20 Uhr
> Betreff: [Csnd] diskin crashes at eof
> 
> I don't know if it has yet reported, but diskin crashes still (or again) at the 
> end of the file which is read. The following crashes QuteCsound after 3 seconds 
> and gives a Bus error message in the Terminal:
> 
> 
> 
> -o dac
> 
> 
> instr 1
> acrash    diskin "fox.wav", 1
> out acrash
> endin
> 
> 
> i 1 0 4
> e
> 
> 
> 
> I'm using Csound 5.10 IntelMac float version. Best -
> 
>     joachim
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"






Date2009-03-31 15:44
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: AW: diskin crashes at eof
>
> I tried the file as two separate files (orc/sco) using csound 5.08 via a
> Terminal window on a MacBook Intel and it runs all right on my computer.
> No crashes. Perhaps a problem with QuteCsound?
> Cheers.
>

There definietely is a bug if the size of the file does not fit exactly in
an integral number of buffers.  The bug in diskin is fixed in CVS as of
yesterday.

The bug was the use of a memcpy rather that memset, which would have led
to th efollowing of a null poibter.

==John ff


Date2009-03-31 20:30
Fromjoachim heintz
Subject[Csnd] Re: AW: diskin crashes at eof
Yes 5.08 was ok. I think it came with 5.09. But it crashes in the  
Terminal, too.
	j



Am 31.03.2009 um 16:27 schrieb Marco Stroppa:

>
> I tried the file as two separate files (orc/sco) using csound 5.08  
> via a Terminal window on a MacBook Intel and it runs all right on my  
> computer. No crashes. Perhaps a problem with QuteCsound?
> Cheers.
>
>
>
> Marco
>
>
> ----- Ursprüngliche Mail ----
>> Von: joachim heintz 
>> An: csound@lists.bath.ac.uk
>> Gesendet: Montag, den 30. März 2009, 20:19:20 Uhr
>> Betreff: [Csnd] diskin crashes at eof
>>
>> I don't know if it has yet reported, but diskin crashes still (or  
>> again) at the
>> end of the file which is read. The following crashes QuteCsound  
>> after 3 seconds
>> and gives a Bus error message in the Terminal:
>>
>>
>>
>> -o dac
>>
>>
>> instr 1
>> acrash    diskin "fox.wav", 1
>> out acrash
>> endin
>>
>>
>> i 1 0 4
>> e
>>
>>
>>
>> I'm using Csound 5.10 IntelMac float version. Best -
>>
>>    joachim
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"