Csound Csound-dev Csound-tekno Search About

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

Date2011-05-11 09:20
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 sf-robot
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: Closed
Resolution: Works For Me
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: SourceForge Robot (sf-robot)
Date: 2011-05-11 08:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: John ffitch (jpff)
Date: 2011-04-27 07:50

Message:
I do not get a crash but an acceotable result.
Is this realy a user error, as if you skip initialisation you are
accepting random values

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

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

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net