Csound Csound-dev Csound-tekno Search About

[Csnd] segmentation fault only on new parser.

Date2012-10-09 07:25
FromAllessandro Valencia
Subject[Csnd] segmentation fault only on new parser.
Hi,
Im running my code on the old parser cause I can't get it to work on the 
new one. no idea why. it seems to fail as soon as it finishes the end of 
.orc read.  Any help would be appreciated, thanks.

the ending error is...

ELSEIF FOUND!
IF-ELSEIF FOUND!
Looking up token for: 3932 : exitnow
opcode0 $1=0x2a7cc20 (exitnow)
Parsing failed due to 1 syntax error!
Stopping on parser failure

Csound tidy up: Segmentation fault



-v shows at the very end...

Entering state 33
Now at end of input.
Shifting token $end ()
Entering state 77
Stack now 0 33 77
Cleanup: popping token $end ()
Cleanup: popping nterm orcfile ()
Parsing failed due to 1 syntax error!
Stopping on parser failure

Csound tidy up: Segmentation fault


(if i take out the last instrument it still follows the same pattern of 
error)


Date2012-10-09 10:17
FromRory Walsh
SubjectRe: [Csnd] segmentation fault only on new parser.
Can we see the .csd?

On 9 October 2012 07:25, Allessandro Valencia
 wrote:
> Hi,
> Im running my code on the old parser cause I can't get it to work on the new
> one. no idea why. it seems to fail as soon as it finishes the end of .orc
> read.  Any help would be appreciated, thanks.
>
> the ending error is...
>
> ELSEIF FOUND!
> IF-ELSEIF FOUND!
> Looking up token for: 3932 : exitnow
> opcode0 $1=0x2a7cc20 (exitnow)
> Parsing failed due to 1 syntax error!
> Stopping on parser failure
>
> Csound tidy up: Segmentation fault
>
>
>
> -v shows at the very end...
>
> Entering state 33
> Now at end of input.
> Shifting token $end ()
> Entering state 77
> Stack now 0 33 77
> Cleanup: popping token $end ()
> Cleanup: popping nterm orcfile ()
> Parsing failed due to 1 syntax error!
> Stopping on parser failure
>
> Csound tidy up: Segmentation fault
>
>
> (if i take out the last instrument it still follows the same pattern of
> error)
>
>
>
> 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"
>

Date2012-10-09 10:32
FromVictor Lazzarini
SubjectRe: [Csnd] segmentation fault only on new parser.
If you give us your CSD we will be able to help.

Victor

On 9 Oct 2012, at 07:25, Allessandro Valencia wrote:

> Hi,
> Im running my code on the old parser cause I can't get it to work on the new one. no idea why. it seems to fail as soon as it finishes the end of .orc read.  Any help would be appreciated, thanks.
> 
> the ending error is...
> 
> ELSEIF FOUND!
> IF-ELSEIF FOUND!
> Looking up token for: 3932 : exitnow
> opcode0 $1=0x2a7cc20 (exitnow)
> Parsing failed due to 1 syntax error!
> Stopping on parser failure
> 
> Csound tidy up: Segmentation fault
> 
> 
> 
> -v shows at the very end...
> 
> Entering state 33
> Now at end of input.
> Shifting token $end ()
> Entering state 77
> Stack now 0 33 77
> Cleanup: popping token $end ()
> Cleanup: popping nterm orcfile ()
> Parsing failed due to 1 syntax error!
> Stopping on parser failure
> 
> Csound tidy up: Segmentation fault
> 
> 
> (if i take out the last instrument it still follows the same pattern of error)
> 
> 
> 
> 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