Csound Csound-dev Csound-tekno Search About

[Cs-dev] csoundSetStringChannel...

Date2013-05-10 01:14
FromRory Walsh
Subject[Cs-dev] csoundSetStringChannel...
Calling this function is causing some problems for me. It looks like
the code now enters a lock before updating variables, is that how
these are all now thread safe? Or at least should be?

0  0x00007ffff7729a50  pthread_spin_lock
../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
1  0x00007ffff6726e50  csoundSetStringChannel
/home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
2  0x00000000004a6ebd  Csound::SetChannel
/usr/local/include/csound/csound.hpp  748
3  0x000000000046f183
CabbagePluginAudioProcessorEditor::buttonClicked
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
1581

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 03:45
FromAndres Cabrera
SubjectRe: [Cs-dev] csoundSetStringChannel...
AttachmentsNone  None  
Hi,

Single value variables like k and i-rate channels are atomic and don't require locks (if compiled with gcc). But there is no way to make a string copy be synchronous and thread safe, so there are locks in place. I was thinking of adding an additional asynchronous channel query, but haven't got around to it...

OTOH, What code are you using to trigger this?

Cheers,
Andrés


On Thu, May 9, 2013 at 5:14 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
Calling this function is causing some problems for me. It looks like
the code now enters a lock before updating variables, is that how
these are all now thread safe? Or at least should be?

0  0x00007ffff7729a50  pthread_spin_lock
../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
1  0x00007ffff6726e50  csoundSetStringChannel
/home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
2  0x00000000004a6ebd  Csound::SetChannel
/usr/local/include/csound/csound.hpp  748
3  0x000000000046f183
CabbagePluginAudioProcessorEditor::buttonClicked
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
1581

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-05-10 06:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
They should be threadsafe now, if they're not, it's a bug. 
On 10 May 2013, at 01:14, Rory Walsh wrote:

> Calling this function is causing some problems for me. It looks like
> the code now enters a lock before updating variables, is that how
> these are all now thread safe? Or at least should be?
> 
> 0  0x00007ffff7729a50  pthread_spin_lock
> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
> 1  0x00007ffff6726e50  csoundSetStringChannel
> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
> 2  0x00000000004a6ebd  Csound::SetChannel
> /usr/local/include/csound/csound.hpp  748
> 3  0x000000000046f183
> CabbagePluginAudioProcessorEditor::buttonClicked
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
> 1581
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 10:38
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
All I'm doing is this right now:

csound->SetChannel("testing", "testing")

Which results in a sigrev.


On 10 May 2013 06:55, Victor Lazzarini  wrote:
> They should be threadsafe now, if they're not, it's a bug.
> On 10 May 2013, at 01:14, Rory Walsh wrote:
>
>> Calling this function is causing some problems for me. It looks like
>> the code now enters a lock before updating variables, is that how
>> these are all now thread safe? Or at least should be?
>>
>> 0  0x00007ffff7729a50  pthread_spin_lock
>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>> 1  0x00007ffff6726e50  csoundSetStringChannel
>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>> 2  0x00000000004a6ebd  Csound::SetChannel
>> /usr/local/include/csound/csound.hpp  748
>> 3  0x000000000046f183
>> CabbagePluginAudioProcessorEditor::buttonClicked
>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>> 1581
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 11:27
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
it's a bug. I can't do much about it right now.
On 10 May 2013, at 10:38, Rory Walsh wrote:

> All I'm doing is this right now:
> 
> csound->SetChannel("testing", "testing")
> 
> Which results in a sigrev.
> 
> 
> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>> They should be threadsafe now, if they're not, it's a bug.
>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>> 
>>> Calling this function is causing some problems for me. It looks like
>>> the code now enters a lock before updating variables, is that how
>>> these are all now thread safe? Or at least should be?
>>> 
>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>> /usr/local/include/csound/csound.hpp  748
>>> 3  0x000000000046f183
>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>> 1581
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 11:35
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
no problem. good luck with the talk!

On 10 May 2013 11:27, Victor Lazzarini  wrote:
> it's a bug. I can't do much about it right now.
> On 10 May 2013, at 10:38, Rory Walsh wrote:
>
>> All I'm doing is this right now:
>>
>> csound->SetChannel("testing", "testing")
>>
>> Which results in a sigrev.
>>
>>
>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>> They should be threadsafe now, if they're not, it's a bug.
>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>
>>>> Calling this function is causing some problems for me. It looks like
>>>> the code now enters a lock before updating variables, is that how
>>>> these are all now thread safe? Or at least should be?
>>>>
>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>> /usr/local/include/csound/csound.hpp  748
>>>> 3  0x000000000046f183
>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>> 1581
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 16:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
Try using csoundGetStringChannel() instead. I think the C++ API is not completely in sinc with the C API.
On 10 May 2013, at 10:38, Rory Walsh wrote:

> All I'm doing is this right now:
> 
> csound->SetChannel("testing", "testing")
> 
> Which results in a sigrev.
> 
> 
> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>> They should be threadsafe now, if they're not, it's a bug.
>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>> 
>>> Calling this function is causing some problems for me. It looks like
>>> the code now enters a lock before updating variables, is that how
>>> these are all now thread safe? Or at least should be?
>>> 
>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>> /usr/local/include/csound/csound.hpp  748
>>> 3  0x000000000046f183
>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>> 1581
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 16:20
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
I think I fixed this bug.

On 10 May 2013, at 11:35, Rory Walsh wrote:

> no problem. good luck with the talk!
> 
> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>> it's a bug. I can't do much about it right now.
>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>> 
>>> All I'm doing is this right now:
>>> 
>>> csound->SetChannel("testing", "testing")
>>> 
>>> Which results in a sigrev.
>>> 
>>> 
>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>> They should be threadsafe now, if they're not, it's a bug.
>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>> 
>>>>> Calling this function is causing some problems for me. It looks like
>>>>> the code now enters a lock before updating variables, is that how
>>>>> these are all now thread safe? Or at least should be?
>>>>> 
>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>> /usr/local/include/csound/csound.hpp  748
>>>>> 3  0x000000000046f183
>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>> 1581
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 16:44
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Just updating form git now..

On 10 May 2013 16:20, Victor Lazzarini  wrote:
> I think I fixed this bug.
>
> On 10 May 2013, at 11:35, Rory Walsh wrote:
>
>> no problem. good luck with the talk!
>>
>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>> it's a bug. I can't do much about it right now.
>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>
>>>> All I'm doing is this right now:
>>>>
>>>> csound->SetChannel("testing", "testing")
>>>>
>>>> Which results in a sigrev.
>>>>
>>>>
>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>
>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>> the code now enters a lock before updating variables, is that how
>>>>>> these are all now thread safe? Or at least should be?
>>>>>>
>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>> 3  0x000000000046f183
>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>> 1581
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 16:56
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Thanks Victor. That works now, but since updating to the latest GIT I
now get the following problems:

0  0x00007ffff59f5425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
1  0x00007ffff59f8b8b  __GI_abort  abort.c  91
2  0x00007ffff5a3339e  __libc_message
../sysdeps/unix/sysv/linux/libc_fatal.c  201
3  0x00007ffff5a3db96  malloc_printerr  malloc.c  5018
4  0x00007ffff65e2ae7  mfree
/home/rory/sourcecode/csound-csound6-git/Engine/memalloc.c  157
5  0x00007ffff65f7989  cs_hash_table_free_complete
/home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
 305
6  0x00007ffff660dd3f  delete_channel_db
/home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
7  0x00007ffff671db25  reset
/home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
8  0x00007ffff671e132  csoundReset
/home/rory/sourcecode/csound-csound6-git/Top/csound.c  2759
9  0x00000000004a628e  Csound::Reset  /usr/local/include/csound/csound.hpp  359
10  0x000000000049d8d9
CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
 295
11  0x000000000049dfe2
CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
 308

On 10 May 2013 16:44, Rory Walsh  wrote:
> Just updating form git now..
>
> On 10 May 2013 16:20, Victor Lazzarini  wrote:
>> I think I fixed this bug.
>>
>> On 10 May 2013, at 11:35, Rory Walsh wrote:
>>
>>> no problem. good luck with the talk!
>>>
>>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>>> it's a bug. I can't do much about it right now.
>>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>>
>>>>> All I'm doing is this right now:
>>>>>
>>>>> csound->SetChannel("testing", "testing")
>>>>>
>>>>> Which results in a sigrev.
>>>>>
>>>>>
>>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>>
>>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>>> the code now enters a lock before updating variables, is that how
>>>>>>> these are all now thread safe? Or at least should be?
>>>>>>>
>>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>>> 3  0x000000000046f183
>>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>>> 1581
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>> leaders in the field. The early access version is available now.
>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-10 17:32
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
That is a different bug. It's to do with the new hashing system Steven has put in.
Looks like it's happening on reset, when the channel database is being deleted
(bus.c: delete_channel_db)

Victor

On 10 May 2013, at 16:56, Rory Walsh wrote:

> Thanks Victor. That works now, but since updating to the latest GIT I
> now get the following problems:
> 
> 0  0x00007ffff59f5425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
> 1  0x00007ffff59f8b8b  __GI_abort  abort.c  91
> 2  0x00007ffff5a3339e  __libc_message
> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
> 3  0x00007ffff5a3db96  malloc_printerr  malloc.c  5018
> 4  0x00007ffff65e2ae7  mfree
> /home/rory/sourcecode/csound-csound6-git/Engine/memalloc.c  157
> 5  0x00007ffff65f7989  cs_hash_table_free_complete
> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
> 305
> 6  0x00007ffff660dd3f  delete_channel_db
> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
> 7  0x00007ffff671db25  reset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
> 8  0x00007ffff671e132  csoundReset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2759
> 9  0x00000000004a628e  Csound::Reset  /usr/local/include/csound/csound.hpp  359
> 10  0x000000000049d8d9
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
> 295
> 11  0x000000000049dfe2
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
> 308
> 
> On 10 May 2013 16:44, Rory Walsh  wrote:
>> Just updating form git now..
>> 
>> On 10 May 2013 16:20, Victor Lazzarini  wrote:
>>> I think I fixed this bug.
>>> 
>>> On 10 May 2013, at 11:35, Rory Walsh wrote:
>>> 
>>>> no problem. good luck with the talk!
>>>> 
>>>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>>>> it's a bug. I can't do much about it right now.
>>>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>>> 
>>>>>> All I'm doing is this right now:
>>>>>> 
>>>>>> csound->SetChannel("testing", "testing")
>>>>>> 
>>>>>> Which results in a sigrev.
>>>>>> 
>>>>>> 
>>>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>>> 
>>>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>>>> the code now enters a lock before updating variables, is that how
>>>>>>>> these are all now thread safe? Or at least should be?
>>>>>>>> 
>>>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>>>> 3  0x000000000046f183
>>>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>>>> 1581
>>>>>>>> 
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> 
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>> leaders in the field. The early access version is available now.
>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 00:02
FromSteven Yi
SubjectRe: [Cs-dev] csoundSetStringChannel...
Hi Rory,

I'm wondering if I didn't mess things up here when I went through
redoing the hash table code.  I think the issue is that in CS5 the
code was using malloc/free, and I had changed something things to use
mmalloc/mfree, thinking it was supposed to be that way.  I think now
it might have been a mistake.  I'll look at reverting some code to use
malloc/free but I need to do a bit of an analysis, so I'll get to this
tomorrow.

Thanks!
steven

On Fri, May 10, 2013 at 4:56 PM, Rory Walsh  wrote:
> Thanks Victor. That works now, but since updating to the latest GIT I
> now get the following problems:
>
> 0  0x00007ffff59f5425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
> 1  0x00007ffff59f8b8b  __GI_abort  abort.c  91
> 2  0x00007ffff5a3339e  __libc_message
> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
> 3  0x00007ffff5a3db96  malloc_printerr  malloc.c  5018
> 4  0x00007ffff65e2ae7  mfree
> /home/rory/sourcecode/csound-csound6-git/Engine/memalloc.c  157
> 5  0x00007ffff65f7989  cs_hash_table_free_complete
> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>  305
> 6  0x00007ffff660dd3f  delete_channel_db
> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
> 7  0x00007ffff671db25  reset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
> 8  0x00007ffff671e132  csoundReset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2759
> 9  0x00000000004a628e  Csound::Reset  /usr/local/include/csound/csound.hpp  359
> 10  0x000000000049d8d9
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>  295
> 11  0x000000000049dfe2
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>  308
>
> On 10 May 2013 16:44, Rory Walsh  wrote:
>> Just updating form git now..
>>
>> On 10 May 2013 16:20, Victor Lazzarini  wrote:
>>> I think I fixed this bug.
>>>
>>> On 10 May 2013, at 11:35, Rory Walsh wrote:
>>>
>>>> no problem. good luck with the talk!
>>>>
>>>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>>>> it's a bug. I can't do much about it right now.
>>>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>>>
>>>>>> All I'm doing is this right now:
>>>>>>
>>>>>> csound->SetChannel("testing", "testing")
>>>>>>
>>>>>> Which results in a sigrev.
>>>>>>
>>>>>>
>>>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>>>
>>>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>>>> the code now enters a lock before updating variables, is that how
>>>>>>>> these are all now thread safe? Or at least should be?
>>>>>>>>
>>>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>>>> 3  0x000000000046f183
>>>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>>>> 1581
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>> leaders in the field. The early access version is available now.
>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 00:06
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
No problem, thanks Steven. Hope you're enjoying the conference. Great
overview of Csound 6 today. I hadn't realised that one can now change
ksmps locally within an instrument. This is great. I can't tell you
the number of pointless UDOs I had to write in order to get around
that restriction.

On 11 May 2013 00:02, Steven Yi  wrote:
> Hi Rory,
>
> I'm wondering if I didn't mess things up here when I went through
> redoing the hash table code.  I think the issue is that in CS5 the
> code was using malloc/free, and I had changed something things to use
> mmalloc/mfree, thinking it was supposed to be that way.  I think now
> it might have been a mistake.  I'll look at reverting some code to use
> malloc/free but I need to do a bit of an analysis, so I'll get to this
> tomorrow.
>
> Thanks!
> steven
>
> On Fri, May 10, 2013 at 4:56 PM, Rory Walsh  wrote:
>> Thanks Victor. That works now, but since updating to the latest GIT I
>> now get the following problems:
>>
>> 0  0x00007ffff59f5425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>> 1  0x00007ffff59f8b8b  __GI_abort  abort.c  91
>> 2  0x00007ffff5a3339e  __libc_message
>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>> 3  0x00007ffff5a3db96  malloc_printerr  malloc.c  5018
>> 4  0x00007ffff65e2ae7  mfree
>> /home/rory/sourcecode/csound-csound6-git/Engine/memalloc.c  157
>> 5  0x00007ffff65f7989  cs_hash_table_free_complete
>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>  305
>> 6  0x00007ffff660dd3f  delete_channel_db
>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>> 7  0x00007ffff671db25  reset
>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>> 8  0x00007ffff671e132  csoundReset
>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2759
>> 9  0x00000000004a628e  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>> 10  0x000000000049d8d9
>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>  295
>> 11  0x000000000049dfe2
>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>  308
>>
>> On 10 May 2013 16:44, Rory Walsh  wrote:
>>> Just updating form git now..
>>>
>>> On 10 May 2013 16:20, Victor Lazzarini  wrote:
>>>> I think I fixed this bug.
>>>>
>>>> On 10 May 2013, at 11:35, Rory Walsh wrote:
>>>>
>>>>> no problem. good luck with the talk!
>>>>>
>>>>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>>>>> it's a bug. I can't do much about it right now.
>>>>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>>>>
>>>>>>> All I'm doing is this right now:
>>>>>>>
>>>>>>> csound->SetChannel("testing", "testing")
>>>>>>>
>>>>>>> Which results in a sigrev.
>>>>>>>
>>>>>>>
>>>>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>>>>
>>>>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>>>>> the code now enters a lock before updating variables, is that how
>>>>>>>>> these are all now thread safe? Or at least should be?
>>>>>>>>>
>>>>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>>>>> 3  0x000000000046f183
>>>>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>>>>> 1581
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>> leaders in the field. The early access version is available now.
>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 09:16
FromSteven Yi
SubjectRe: [Cs-dev] csoundSetStringChannel...
Hi Rory and Henrik,

I've just pushed changes that uses free instead of mfree when freeing
up the channel db's entries' value pointers, and reverted a mmalloc
back to using malloc.  Could you all test to see if it's working now?

Thanks!
steven

On Sat, May 11, 2013 at 1:06 AM, Rory Walsh  wrote:
> No problem, thanks Steven. Hope you're enjoying the conference. Great
> overview of Csound 6 today. I hadn't realised that one can now change
> ksmps locally within an instrument. This is great. I can't tell you
> the number of pointless UDOs I had to write in order to get around
> that restriction.
>
> On 11 May 2013 00:02, Steven Yi  wrote:
>> Hi Rory,
>>
>> I'm wondering if I didn't mess things up here when I went through
>> redoing the hash table code.  I think the issue is that in CS5 the
>> code was using malloc/free, and I had changed something things to use
>> mmalloc/mfree, thinking it was supposed to be that way.  I think now
>> it might have been a mistake.  I'll look at reverting some code to use
>> malloc/free but I need to do a bit of an analysis, so I'll get to this
>> tomorrow.
>>
>> Thanks!
>> steven
>>
>> On Fri, May 10, 2013 at 4:56 PM, Rory Walsh  wrote:
>>> Thanks Victor. That works now, but since updating to the latest GIT I
>>> now get the following problems:
>>>
>>> 0  0x00007ffff59f5425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>> 1  0x00007ffff59f8b8b  __GI_abort  abort.c  91
>>> 2  0x00007ffff5a3339e  __libc_message
>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>> 3  0x00007ffff5a3db96  malloc_printerr  malloc.c  5018
>>> 4  0x00007ffff65e2ae7  mfree
>>> /home/rory/sourcecode/csound-csound6-git/Engine/memalloc.c  157
>>> 5  0x00007ffff65f7989  cs_hash_table_free_complete
>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>  305
>>> 6  0x00007ffff660dd3f  delete_channel_db
>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>> 7  0x00007ffff671db25  reset
>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>> 8  0x00007ffff671e132  csoundReset
>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2759
>>> 9  0x00000000004a628e  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>> 10  0x000000000049d8d9
>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>  295
>>> 11  0x000000000049dfe2
>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>  308
>>>
>>> On 10 May 2013 16:44, Rory Walsh  wrote:
>>>> Just updating form git now..
>>>>
>>>> On 10 May 2013 16:20, Victor Lazzarini  wrote:
>>>>> I think I fixed this bug.
>>>>>
>>>>> On 10 May 2013, at 11:35, Rory Walsh wrote:
>>>>>
>>>>>> no problem. good luck with the talk!
>>>>>>
>>>>>> On 10 May 2013 11:27, Victor Lazzarini  wrote:
>>>>>>> it's a bug. I can't do much about it right now.
>>>>>>> On 10 May 2013, at 10:38, Rory Walsh wrote:
>>>>>>>
>>>>>>>> All I'm doing is this right now:
>>>>>>>>
>>>>>>>> csound->SetChannel("testing", "testing")
>>>>>>>>
>>>>>>>> Which results in a sigrev.
>>>>>>>>
>>>>>>>>
>>>>>>>> On 10 May 2013 06:55, Victor Lazzarini  wrote:
>>>>>>>>> They should be threadsafe now, if they're not, it's a bug.
>>>>>>>>> On 10 May 2013, at 01:14, Rory Walsh wrote:
>>>>>>>>>
>>>>>>>>>> Calling this function is causing some problems for me. It looks like
>>>>>>>>>> the code now enters a lock before updating variables, is that how
>>>>>>>>>> these are all now thread safe? Or at least should be?
>>>>>>>>>>
>>>>>>>>>> 0  0x00007ffff7729a50  pthread_spin_lock
>>>>>>>>>> ../nptl/sysdeps/x86_64/../i386/pthread_spin_lock.c  35
>>>>>>>>>> 1  0x00007ffff6726e50  csoundSetStringChannel
>>>>>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  144
>>>>>>>>>> 2  0x00000000004a6ebd  Csound::SetChannel
>>>>>>>>>> /usr/local/include/csound/csound.hpp  748
>>>>>>>>>> 3  0x000000000046f183
>>>>>>>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>>>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>>>>>>>> 1581
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>>> leaders in the field. The early access version is available now.
>>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>>> leaders in the field. The early access version is available now.
>>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 09:44
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Just tried that and I now get the following:

0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
2  0x00007ffff5a3239e  __libc_message
../sysdeps/unix/sysv/linux/libc_fatal.c  201
3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
4  0x00007ffff65f6b40  cs_hash_table_free_complete
/home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
 323
5  0x00007ffff660cef7  delete_channel_db
/home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
6  0x00007ffff671ccc9  reset
/home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
7  0x00007ffff671d401  csoundReset
/home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
9  0x000000000049d0e9
CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
 295

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 09:53
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
could you tell us the sequence of API calls that cause this? Is it happening when you stop processing and call reset?
On 11 May 2013, at 09:44, Rory Walsh wrote:

> Just tried that and I now get the following:
> 
> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
> 2  0x00007ffff5a3239e  __libc_message
> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
> 323
> 5  0x00007ffff660cef7  delete_channel_db
> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
> 6  0x00007ffff671ccc9  reset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
> 7  0x00007ffff671d401  csoundReset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
> 9  0x000000000049d0e9
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
> 295
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 09:55
FromSteven Yi
SubjectRe: [Cs-dev] csoundSetStringChannel...
Hi Rory,

I tried adding a string channel tests to the unit tests and I haven't
found out how to crash this yet. Could you post the code you're using?

steven

On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
> Just tried that and I now get the following:
>
> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
> 2  0x00007ffff5a3239e  __libc_message
> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>  323
> 5  0x00007ffff660cef7  delete_channel_db
> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
> 6  0x00007ffff671ccc9  reset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
> 7  0x00007ffff671d401  csoundReset
> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
> 9  0x000000000049d0e9
> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>  295
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 14:59
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Sorry guys, looks like I was still linking to my previous build, which
is odd, but anyway, it seems to be working again now. I'll let you
know if I come across any more ghosts in the machine!


On 11 May 2013 09:55, Steven Yi  wrote:
> Hi Rory,
>
> I tried adding a string channel tests to the unit tests and I haven't
> found out how to crash this yet. Could you post the code you're using?
>
> steven
>
> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>> Just tried that and I now get the following:
>>
>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>> 2  0x00007ffff5a3239e  __libc_message
>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>  323
>> 5  0x00007ffff660cef7  delete_channel_db
>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>> 6  0x00007ffff671ccc9  reset
>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>> 7  0x00007ffff671d401  csoundReset
>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>> 9  0x000000000049d0e9
>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>  295
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 15:08
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
I spoke too soon. I can recreate the problem by making sure I call
csoundSetStringChannel at least once before exiting. Nothing has
changed in my destructor, I'm basically don't this:

csound->DeleteChannelList(csoundChanList);
csound->Reset();

Note, that this is happening when I completely destroy my instance of
Csound and recreate it.



On 11 May 2013 14:59, Rory Walsh  wrote:
> Sorry guys, looks like I was still linking to my previous build, which
> is odd, but anyway, it seems to be working again now. I'll let you
> know if I come across any more ghosts in the machine!
>
>
> On 11 May 2013 09:55, Steven Yi  wrote:
>> Hi Rory,
>>
>> I tried adding a string channel tests to the unit tests and I haven't
>> found out how to crash this yet. Could you post the code you're using?
>>
>> steven
>>
>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>> Just tried that and I now get the following:
>>>
>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>> 2  0x00007ffff5a3239e  __libc_message
>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>  323
>>> 5  0x00007ffff660cef7  delete_channel_db
>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>> 6  0x00007ffff671ccc9  reset
>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>> 7  0x00007ffff671d401  csoundReset
>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>> 9  0x000000000049d0e9
>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>  295
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 15:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
Is it necessary to call deleteChannelList?
On 11 May 2013, at 15:08, Rory Walsh wrote:

> I spoke too soon. I can recreate the problem by making sure I call
> csoundSetStringChannel at least once before exiting. Nothing has
> changed in my destructor, I'm basically don't this:
> 
> csound->DeleteChannelList(csoundChanList);
> csound->Reset();
> 
> Note, that this is happening when I completely destroy my instance of
> Csound and recreate it.
> 
> 
> 
> On 11 May 2013 14:59, Rory Walsh  wrote:
>> Sorry guys, looks like I was still linking to my previous build, which
>> is odd, but anyway, it seems to be working again now. I'll let you
>> know if I come across any more ghosts in the machine!
>> 
>> 
>> On 11 May 2013 09:55, Steven Yi  wrote:
>>> Hi Rory,
>>> 
>>> I tried adding a string channel tests to the unit tests and I haven't
>>> found out how to crash this yet. Could you post the code you're using?
>>> 
>>> steven
>>> 
>>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>>> Just tried that and I now get the following:
>>>> 
>>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>>> 2  0x00007ffff5a3239e  __libc_message
>>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>> 323
>>>> 5  0x00007ffff660cef7  delete_channel_db
>>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>>> 6  0x00007ffff671ccc9  reset
>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>>> 7  0x00007ffff671d401  csoundReset
>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>>> 9  0x000000000049d0e9
>>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>> 295
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 15:17
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
Sorry, I don't think that is the problem.
On 11 May 2013, at 15:14, Victor Lazzarini wrote:

> Is it necessary to call deleteChannelList?
> On 11 May 2013, at 15:08, Rory Walsh wrote:
> 
>> I spoke too soon. I can recreate the problem by making sure I call
>> csoundSetStringChannel at least once before exiting. Nothing has
>> changed in my destructor, I'm basically don't this:
>> 
>> csound->DeleteChannelList(csoundChanList);
>> csound->Reset();
>> 
>> Note, that this is happening when I completely destroy my instance of
>> Csound and recreate it.
>> 
>> 
>> 
>> On 11 May 2013 14:59, Rory Walsh  wrote:
>>> Sorry guys, looks like I was still linking to my previous build, which
>>> is odd, but anyway, it seems to be working again now. I'll let you
>>> know if I come across any more ghosts in the machine!
>>> 
>>> 
>>> On 11 May 2013 09:55, Steven Yi  wrote:
>>>> Hi Rory,
>>>> 
>>>> I tried adding a string channel tests to the unit tests and I haven't
>>>> found out how to crash this yet. Could you post the code you're using?
>>>> 
>>>> steven
>>>> 
>>>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>>>> Just tried that and I now get the following:
>>>>> 
>>>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>>>> 2  0x00007ffff5a3239e  __libc_message
>>>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>>> 323
>>>>> 5  0x00007ffff660cef7  delete_channel_db
>>>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>>>> 6  0x00007ffff671ccc9  reset
>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>>>> 7  0x00007ffff671d401  csoundReset
>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>>>> 9  0x000000000049d0e9
>>>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>>> 295
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and 
>> their applications. This 200-page book is written by three acclaimed 
>> leaders in the field. The early access version is available now. 
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 15:53
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
I think I found the bug. The string channels were created with no memory in them so they
were using some other memory and the whole thing was causing the mess.

Can you try to pull and test if my changes fixed it? If they do, I'll think of  a more permanent fix.


On 11 May 2013, at 15:08, Rory Walsh wrote:

> I spoke too soon. I can recreate the problem by making sure I call
> csoundSetStringChannel at least once before exiting. Nothing has
> changed in my destructor, I'm basically don't this:
> 
> csound->DeleteChannelList(csoundChanList);
> csound->Reset();
> 
> Note, that this is happening when I completely destroy my instance of
> Csound and recreate it.
> 
> 
> 
> On 11 May 2013 14:59, Rory Walsh  wrote:
>> Sorry guys, looks like I was still linking to my previous build, which
>> is odd, but anyway, it seems to be working again now. I'll let you
>> know if I come across any more ghosts in the machine!
>> 
>> 
>> On 11 May 2013 09:55, Steven Yi  wrote:
>>> Hi Rory,
>>> 
>>> I tried adding a string channel tests to the unit tests and I haven't
>>> found out how to crash this yet. Could you post the code you're using?
>>> 
>>> steven
>>> 
>>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>>> Just tried that and I now get the following:
>>>> 
>>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>>> 2  0x00007ffff5a3239e  __libc_message
>>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>> 323
>>>> 5  0x00007ffff660cef7  delete_channel_db
>>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>>> 6  0x00007ffff671ccc9  reset
>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>>> 7  0x00007ffff671d401  csoundReset
>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>>> 9  0x000000000049d0e9
>>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>> 295
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 15:56
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Seems to work now Victor thanks.

On 11 May 2013 15:53, Victor Lazzarini  wrote:
> I think I found the bug. The string channels were created with no memory in them so they
> were using some other memory and the whole thing was causing the mess.
>
> Can you try to pull and test if my changes fixed it? If they do, I'll think of  a more permanent fix.
>
>
> On 11 May 2013, at 15:08, Rory Walsh wrote:
>
>> I spoke too soon. I can recreate the problem by making sure I call
>> csoundSetStringChannel at least once before exiting. Nothing has
>> changed in my destructor, I'm basically don't this:
>>
>> csound->DeleteChannelList(csoundChanList);
>> csound->Reset();
>>
>> Note, that this is happening when I completely destroy my instance of
>> Csound and recreate it.
>>
>>
>>
>> On 11 May 2013 14:59, Rory Walsh  wrote:
>>> Sorry guys, looks like I was still linking to my previous build, which
>>> is odd, but anyway, it seems to be working again now. I'll let you
>>> know if I come across any more ghosts in the machine!
>>>
>>>
>>> On 11 May 2013 09:55, Steven Yi  wrote:
>>>> Hi Rory,
>>>>
>>>> I tried adding a string channel tests to the unit tests and I haven't
>>>> found out how to crash this yet. Could you post the code you're using?
>>>>
>>>> steven
>>>>
>>>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>>>> Just tried that and I now get the following:
>>>>>
>>>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>>>> 2  0x00007ffff5a3239e  __libc_message
>>>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>>> 323
>>>>> 5  0x00007ffff660cef7  delete_channel_db
>>>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>>>> 6  0x00007ffff671ccc9  reset
>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>>>> 7  0x00007ffff671d401  csoundReset
>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>>>> 9  0x000000000049d0e9
>>>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>>> 295
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 16:32
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
OK, I've made a more complete fix. Could you pull and try it again?

Victor
On 11 May 2013, at 15:56, Rory Walsh wrote:

> Seems to work now Victor thanks.
> 
> On 11 May 2013 15:53, Victor Lazzarini  wrote:
>> I think I found the bug. The string channels were created with no memory in them so they
>> were using some other memory and the whole thing was causing the mess.
>> 
>> Can you try to pull and test if my changes fixed it? If they do, I'll think of  a more permanent fix.
>> 
>> 
>> On 11 May 2013, at 15:08, Rory Walsh wrote:
>> 
>>> I spoke too soon. I can recreate the problem by making sure I call
>>> csoundSetStringChannel at least once before exiting. Nothing has
>>> changed in my destructor, I'm basically don't this:
>>> 
>>> csound->DeleteChannelList(csoundChanList);
>>> csound->Reset();
>>> 
>>> Note, that this is happening when I completely destroy my instance of
>>> Csound and recreate it.
>>> 
>>> 
>>> 
>>> On 11 May 2013 14:59, Rory Walsh  wrote:
>>>> Sorry guys, looks like I was still linking to my previous build, which
>>>> is odd, but anyway, it seems to be working again now. I'll let you
>>>> know if I come across any more ghosts in the machine!
>>>> 
>>>> 
>>>> On 11 May 2013 09:55, Steven Yi  wrote:
>>>>> Hi Rory,
>>>>> 
>>>>> I tried adding a string channel tests to the unit tests and I haven't
>>>>> found out how to crash this yet. Could you post the code you're using?
>>>>> 
>>>>> steven
>>>>> 
>>>>> On Sat, May 11, 2013 at 10:44 AM, Rory Walsh  wrote:
>>>>>> Just tried that and I now get the following:
>>>>>> 
>>>>>> 0  0x00007ffff59f4425  __GI_raise  ../nptl/sysdeps/unix/sysv/linux/raise.c  64
>>>>>> 1  0x00007ffff59f7b8b  __GI_abort  abort.c  91
>>>>>> 2  0x00007ffff5a3239e  __libc_message
>>>>>> ../sysdeps/unix/sysv/linux/libc_fatal.c  201
>>>>>> 3  0x00007ffff5a3cb96  malloc_printerr  malloc.c  5018
>>>>>> 4  0x00007ffff65f6b40  cs_hash_table_free_complete
>>>>>> /home/rory/sourcecode/csound-csound6-git/Engine/csound_data_structures.c
>>>>>> 323
>>>>>> 5  0x00007ffff660cef7  delete_channel_db
>>>>>> /home/rory/sourcecode/csound-csound6-git/OOps/bus.c  318
>>>>>> 6  0x00007ffff671ccc9  reset
>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2649
>>>>>> 7  0x00007ffff671d401  csoundReset
>>>>>> /home/rory/sourcecode/csound-csound6-git/Top/csound.c  2771
>>>>>> 8  0x00000000004a5ab8  Csound::Reset  /usr/local/include/csound/csound.hpp  359
>>>>>> 9  0x000000000049d0e9
>>>>>> CabbagePluginAudioProcessor::~CabbagePluginAudioProcessor
>>>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp
>>>>>> 295
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>>> their applications. This 200-page book is written by three acclaimed
>>>>>> leaders in the field. The early access version is available now.
>>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>>> their applications. This 200-page book is written by three acclaimed
>>>>> leaders in the field. The early access version is available now.
>>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 17:06
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
more problems now:

0  0x00007ffff5a56005  __strncpy_sse2_unaligned
../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S  1672
1  0x00007ffff6726638  csoundSetStringChannel
/home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  145
2  0x00000000004a693b  Csound::SetChannel
/usr/local/include/csound/csound.hpp  748
3  0x000000000046eace
CabbagePluginAudioProcessorEditor::buttonClicked
/home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
1586

CabbagePluginAudioProcessorEditor::buttonClicked() is sending a string
argument to a predefined channel.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 18:01
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
OK, try again. I fixed this line.

Victor
On 11 May 2013, at 17:06, Rory Walsh wrote:

> more problems now:
> 
> 0  0x00007ffff5a56005  __strncpy_sse2_unaligned
> ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S  1672
> 1  0x00007ffff6726638  csoundSetStringChannel
> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  145
> 2  0x00000000004a693b  Csound::SetChannel
> /usr/local/include/csound/csound.hpp  748
> 3  0x000000000046eace
> CabbagePluginAudioProcessorEditor::buttonClicked
> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
> 1586
> 
> CabbagePluginAudioProcessorEditor::buttonClicked() is sending a string
> argument to a predefined channel.
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 19:49
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Works fine now Victor thanks.

On 11 May 2013 18:01, Victor Lazzarini  wrote:
> OK, try again. I fixed this line.
>
> Victor
> On 11 May 2013, at 17:06, Rory Walsh wrote:
>
>> more problems now:
>>
>> 0  0x00007ffff5a56005  __strncpy_sse2_unaligned
>> ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S  1672
>> 1  0x00007ffff6726638  csoundSetStringChannel
>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  145
>> 2  0x00000000004a693b  Csound::SetChannel
>> /usr/local/include/csound/csound.hpp  748
>> 3  0x000000000046eace
>> CabbagePluginAudioProcessorEditor::buttonClicked
>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>> 1586
>>
>> CabbagePluginAudioProcessorEditor::buttonClicked() is sending a string
>> argument to a predefined channel.
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 20:53
FromRory Walsh
SubjectRe: [Cs-dev] csoundSetStringChannel...
Whoops. Seems that strings are not being passed from Csound to the
host now? Sorry, I only checked for that crash, I didn't have time to
test the actual string stuff till now.

On 11 May 2013 19:49, Rory Walsh  wrote:
> Works fine now Victor thanks.
>
> On 11 May 2013 18:01, Victor Lazzarini  wrote:
>> OK, try again. I fixed this line.
>>
>> Victor
>> On 11 May 2013, at 17:06, Rory Walsh wrote:
>>
>>> more problems now:
>>>
>>> 0  0x00007ffff5a56005  __strncpy_sse2_unaligned
>>> ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S  1672
>>> 1  0x00007ffff6726638  csoundSetStringChannel
>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  145
>>> 2  0x00000000004a693b  Csound::SetChannel
>>> /usr/local/include/csound/csound.hpp  748
>>> 3  0x000000000046eace
>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>> 1586
>>>
>>> CabbagePluginAudioProcessorEditor::buttonClicked() is sending a string
>>> argument to a predefined channel.
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-11 22:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundSetStringChannel...
OK, new changes, can you try again?
On 11 May 2013, at 20:53, Rory Walsh wrote:

> Whoops. Seems that strings are not being passed from Csound to the
> host now? Sorry, I only checked for that crash, I didn't have time to
> test the actual string stuff till now.
> 
> On 11 May 2013 19:49, Rory Walsh  wrote:
>> Works fine now Victor thanks.
>> 
>> On 11 May 2013 18:01, Victor Lazzarini  wrote:
>>> OK, try again. I fixed this line.
>>> 
>>> Victor
>>> On 11 May 2013, at 17:06, Rory Walsh wrote:
>>> 
>>>> more problems now:
>>>> 
>>>> 0  0x00007ffff5a56005  __strncpy_sse2_unaligned
>>>> ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S  1672
>>>> 1  0x00007ffff6726638  csoundSetStringChannel
>>>> /home/rory/sourcecode/csound-csound6-git/Top/threadsafe.c  145
>>>> 2  0x00000000004a693b  Csound::SetChannel
>>>> /usr/local/include/csound/csound.hpp  748
>>>> 3  0x000000000046eace
>>>> CabbagePluginAudioProcessorEditor::buttonClicked
>>>> /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginEditor.cpp
>>>> 1586
>>>> 
>>>> CabbagePluginAudioProcessorEditor::buttonClicked() is sending a string
>>>> argument to a predefined channel.
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>>> "Graph Databases" is the definitive new guide to graph databases and
>>>> their applications. This 200-page book is written by three acclaimed
>>>> leaders in the field. The early access version is available now.
>>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their applications. This 200-page book is written by three acclaimed
>>> leaders in the field. The early access version is available now.
>>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net