From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 22 10:56:49 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BFE8AD7 for ; Wed, 22 Apr 2015 10:56:49 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24AA1104F for ; Wed, 22 Apr 2015 10:56:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3MAunO3011270 for ; Wed, 22 Apr 2015 10:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199541] audio/csound6: syntax errors in orchestra Date: Wed, 22 Apr 2015 10:56:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hondareyte.luc@laposte.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 10:56:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199541 --- Comment #3 from hondareyte.luc@laposte.net --- Just for information, the same dummy file on MacOS X (the two versions are not exactly the same, but the bug was present with csound-6.02 on FB9.3.). I think the compile stat section is interesting : Ibiscus:~ luc$ csound -v c6.csd virtual_keyboard real time MIDI plugin for Csound 0dBFS level = 32768.0 Csound version 6.03.1 (double samples) May 12 2014 libsndfile-1.0.21 UnifiedCSD: c6.csd Environment variable 'SADIR' has been set to '/Users/luc' Environment variable 'SSDIR' has been set to '/Users/luc' Environment variable 'INCDIR' has been set to '/Users/luc' Environment variable 'MFDIR' has been set to '/Users/luc' STARTING FILE Creating options Creating orchestra Creating score signalflowgraph: csoundModuleInit(0x102031c00) rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled Calling preprocess on >>sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 #exit << yielding >>#source 1 #line 5 sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 << Starting parse Entering state 0 Reading a token: Next token is token SRATE_TOKEN () Shifting token SRATE_TOKEN () Entering state 11 Reducing stack by rule 161 (line 741): $1 = token SRATE_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 5 -> $$ = nterm rident () Stack now 0 Entering state 29 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 94 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 47 Reducing stack by rule 171 (line 769): $1 = token INTEGER_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 5 -> $$ = nterm constant () Stack now 0 29 94 Entering state 62 Reducing stack by rule 139 (line 688): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 29 94 Entering state 59 Reducing stack by rule 137 (line 684): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 29 94 Entering state 58 Reducing stack by rule 128 (line 673): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 29 94 Entering state 57 Reading a token: Next token is token NEWLINE () Reducing stack by rule 119 (line 656): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 29 94 Entering state 173 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 246 Reducing stack by rule 29 (line 291): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 6 -> $$ = nterm topstatement () Stack now 0 Entering state 23 Reducing stack by rule 5 (line 183): $1 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 20 Reading a token: Next token is token KSMPS_TOKEN () Shifting token KSMPS_TOKEN () Entering state 13 Reducing stack by rule 163 (line 745): $1 = token KSMPS_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 6 -> $$ = nterm rident () Stack now 0 20 Entering state 29 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 94 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 47 Reducing stack by rule 171 (line 769): $1 = token INTEGER_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 6 -> $$ = nterm constant () Stack now 0 20 29 94 Entering state 62 Reducing stack by rule 139 (line 688): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 20 29 94 Entering state 59 Reducing stack by rule 137 (line 684): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 20 29 94 Entering state 58 Reducing stack by rule 128 (line 673): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 20 29 94 Entering state 57 Reading a token: Next token is token NEWLINE () Reducing stack by rule 119 (line 656): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 20 29 94 Entering state 173 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 246 Reducing stack by rule 29 (line 291): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 7 -> $$ = nterm topstatement () Stack now 0 20 Entering state 73 Reducing stack by rule 2 (line 171): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 20 Reading a token: Next token is token NCHNLS_TOKEN () Shifting token NCHNLS_TOKEN () Entering state 14 Reducing stack by rule 164 (line 747): $1 = token NCHNLS_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 7 -> $$ = nterm rident () Stack now 0 20 Entering state 29 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 94 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 47 Reducing stack by rule 171 (line 769): $1 = token INTEGER_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 7 -> $$ = nterm constant () Stack now 0 20 29 94 Entering state 62 Reducing stack by rule 139 (line 688): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 20 29 94 Entering state 59 Reducing stack by rule 137 (line 684): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 20 29 94 Entering state 58 Reducing stack by rule 128 (line 673): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 20 29 94 Entering state 57 Reading a token: Next token is token NEWLINE () Reducing stack by rule 119 (line 656): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 20 29 94 Entering state 173 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 246 Reducing stack by rule 29 (line 291): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 8 -> $$ = nterm topstatement () Stack now 0 20 Entering state 73 Reducing stack by rule 2 (line 171): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 20 Reading a token: Next token is token ZERODBFS_TOKEN () Shifting token ZERODBFS_TOKEN () Entering state 16 Reducing stack by rule 166 (line 751): $1 = token ZERODBFS_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 8 -> $$ = nterm rident () Stack now 0 20 Entering state 29 Reading a token: Next token is token '=' () Shifting token '=' () Entering state 94 Reading a token: Next token is token INTEGER_TOKEN () Shifting token INTEGER_TOKEN () Entering state 47 Reducing stack by rule 171 (line 769): $1 = token INTEGER_TOKEN () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 8 -> $$ = nterm constant () Stack now 0 20 29 94 Entering state 62 Reducing stack by rule 139 (line 688): $1 = nterm constant () -> $$ = nterm ifac () Stack now 0 20 29 94 Entering state 59 Reducing stack by rule 137 (line 684): $1 = nterm ifac () -> $$ = nterm iterm () Stack now 0 20 29 94 Entering state 58 Reducing stack by rule 128 (line 673): $1 = nterm iterm () -> $$ = nterm iexp () Stack now 0 20 29 94 Entering state 57 Reading a token: Next token is token NEWLINE () Reducing stack by rule 119 (line 656): $1 = nterm iexp () -> $$ = nterm expr () Stack now 0 20 29 94 Entering state 173 Next token is token NEWLINE () Shifting token NEWLINE () Entering state 246 Reducing stack by rule 29 (line 291): $1 = nterm rident () $2 = token '=' () $3 = nterm expr () $4 = token NEWLINE () /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 9 -> $$ = nterm topstatement () Stack now 0 20 Entering state 73 Reducing stack by rule 2 (line 171): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 20 Reading a token: Next token is token NEWLINE () Shifting token NEWLINE () Entering state 1 Reducing stack by rule 46 (line 461): $1 = token NEWLINE () -> $$ = nterm statement () Stack now 0 20 Entering state 24 Reducing stack by rule 30 (line 299): $1 = nterm statement () -> $$ = nterm topstatement () Stack now 0 20 Entering state 73 Reducing stack by rule 2 (line 171): $1 = nterm rootstatement () $2 = nterm topstatement () -> $$ = nterm rootstatement () Stack now 0 Entering state 20 Reading a token: Now at end of input. Reducing stack by rule 1 (line 162): $1 = nterm rootstatement () -> $$ = nterm orcfile () Stack now 0 Entering state 19 Now at end of input. Shifting token $end () Entering state 70 Stack now 0 19 70 Cleanup: popping token $end () Cleanup: popping nterm orcfile () Parsing successful! /Users/victor/src/csound6/installer/macosx/2014-05-12-210623/csound6/Engine/csound_orc_semantics.c(1748) line = 0 esr = 44100.0, ekr = 1378.1, ksmps = 32, nchnls = 2 0dbfs = 1.0 Compile State: String Pool: 0) instr 1) "" 2) endin 3) 0 Constants Pool: 0) 0.000000 1) 44100.000000 2) 32.000000 3) 2.000000 4) 1.000000 Global Variables: 0) sr:r 1) kr:r 2) ksmps:r 3) nchnls:r 4) nchnls_i:r 5) 0dbfs:r 6) $sr:r 7) $kr:r 8) $ksmps:r Instrument 0 0x10a65aad0 0x0 Variables Elapsed time at end of orchestra compile: real: 1.945s, CPU: 0.007s sorting score ... ... done Elapsed time at end of score sort: real: 2.103s, CPU: 0.007s --Csound version 6.03.1 (double samples) May 12 2014 Creating search path cache for 'SNAPDIR': Creating search path cache for 'SFDIR;SSDIR;INCDIR': 1: "/Users/luc/" Creating search path cache for 'SFDIR': Creating search path cache for 'SADIR': 1: "/Users/luc/" Creating search path cache for 'SFDIR;SSDIR': 1: "/Users/luc/" graphics suppressed, ascii substituted 0dBFS level = 1.0 instance(): tp->act_instance = 0x10a6594a0 instr 0 allocated at 0x10a6594a0 lclbas 0x10a659610, opds 0x10a659610 orch now loaded audio buffered in 1024 sample-frame blocks writing 4096-byte blks of shorts to test.aif (AIFF) SECTION 1: Score finished in csoundPerform(). removed instance of instr 0 inactive allocs returned to freespace end of score. overall amps: 0.00000 0.00000 overall samples out of range: 0 0 0 errors in performance Elapsed time at end of performance: real: 2.583s, CPU: 0.008s 2048 4096 sample blks of shorts written to test.aif (AIFF) signalflowgraph: csoundModuleDestroy(0x102031c00) -- You are receiving this mail because: You are the assignee for the bug.