Csound Csound-dev Csound-tekno Search About

[Cs-dev] chnexport segfault

Date2009-04-08 05:05
FromAndres Cabrera
Subject[Cs-dev] chnexport segfault
Hi all,

chnexport is currently segfaulting. Anyone else experiences this?

The problem occurs in Oops/bus.c line 1148:

    csoundSpinLock(lock);  /* Need this but what lock? */


Any ideas?

Cheers,
Andrés

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-04-08 08:55
Fromjpff
SubjectRe: [Cs-dev] chnexport segfault
Think this is my fault.  There needs to be a lock on accessing a
chanel, but I do not know what lock to use.  I was part way through
thinking about this and got distracted.
  If you are running single processor then the line can be commented
out; for multicore something is needed.
==John ffitch

>>>>> "Andres" == Andres Cabrera  writes:

 Andres> Hi all,

 Andres> chnexport is currently segfaulting. Anyone else experiences this?

 Andres> The problem occurs in Oops/bus.c line 1148:

 Andres>     csoundSpinLock(lock);  /* Need this but what lock? */


 Andres> Any ideas?


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-04-08 13:24
FromAndres Cabrera
SubjectRe: [Cs-dev] chnexport segfault
OK, will do that for now, thanks.

Cheers,
Andrés

On Wed, Apr 8, 2009 at 2:55 AM, jpff  wrote:
> Think this is my fault.  There needs to be a lock on accessing a
> chanel, but I do not know what lock to use.  I was part way through
> thinking about this and got distracted.
>  If you are running single processor then the line can be commented
> out; for multicore something is needed.
> ==John ffitch
>
>>>>>> "Andres" == Andres Cabrera  writes:
>
>  Andres> Hi all,
>
>  Andres> chnexport is currently segfaulting. Anyone else experiences this?
>
>  Andres> The problem occurs in Oops/bus.c line 1148:
>
>  Andres>     csoundSpinLock(lock);  /* Need this but what lock? */
>
>
>  Andres> Any ideas?
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-04-08 14:39
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] chnexport segfault
> OK, will do that for now, thanks.
>
> Cheers,
> Andrés
>

Do you have a simple program which fails?  I looked at the code and it
seems OK to me, but I have never used this stuff.

==John ff


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-04-08 15:09
FromAndres Cabrera
SubjectRe: [Cs-dev] chnexport segfault
Just use the chnexport opcode in the header.

Cheers,
Andrés

On Wed, Apr 8, 2009 at 8:39 AM,   wrote:
>> OK, will do that for now, thanks.
>>
>> Cheers,
>> Andrés
>>
>
> Do you have a simple program which fails?  I looked at the code and it
> seems OK to me, but I have never used this stuff.
>
> ==John ff
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net