Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3146795 ] nreverb causes segfault when iskip=1

Date2010-12-28 10:58
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3146795 ] nreverb causes segfault when iskip=1
Bugs item #3146795, was opened at 2010-12-28 04:48
Message generated for change (Comment added) made by jpff
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3146795&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Opcodes
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: nreverb causes segfault when iskip=1

Initial Comment:
System: Win XP SP3, Csound version 5.12 (double samples) Sep  7 2010 libsndfile-1.0.21

When the following instrument is played, Csound terminates with a "Segmentation violation" right when the iskip parameter value is set to 1 (which is when time passes the value in the comparison in the example, but may be reproduced by setting it to a literal 1):

instr 1
    ifn     ftgenonce   0, 0, 2, 7,    0, 0, 1, 1, 1
    iamp    init        p4
    ipch    init        cpspch(p5)
    kamp    linseg      0, 1*p3/16, iamp, 12*p3/16, iamp, 3*p3/16, 0
    a1      oscil       1000, ipch, ifn
;                       asig, ktime, khdif[, iskip]
    arev    nreverb     a1,   2.5,   0.3,    (p2 > 1.0 ? 1 : 0)
            out         arev
endin


----------------------------------------------------------------------

>Comment By: John ffitch (jpff)
Date: 2010-12-28 10:58

Message:
I cannot reproduce on Linux; could a Windows user/developer check?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3146795&group_id=81968

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net