| 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 |