| I think we need to do 2).
Victor
On 19 Jan 2012, at 14:09, Steven Yi wrote:
> Hi Victor,
>
> It certainly could be the case. The code is very strange for FLTK,
> particularly the csoundModuleInit in InOut/winFLTK.c. It seems to me
> that if you turn of displays, then you don't get the initialization
> that was happening before the change.
>
> The issue I see is:
>
> 1. If you want displays off, then FLTK should not do any kind of
> initialization or setting of callbacks for things like FLTK yield
> 2. However, you do need some of that if you are using FLTK but not
> using displays (as evidenced by this new bug)
>
> I think what needs to happen is:
>
> 1. We revert the change I did, and if you really want to turn off all
> displays and prevent FLTK from ever being called during a performance,
> then you need to use -d -g
>
> 2. We modify that csoundModuleInit to really initialize correctly, and
> make sure that for the scenario where FLTK displays is not used but
> FLTK opcodes are, that only the relevant callbacks and init code is
> called
>
> #1 here is of course, much easier, but I think #2 is the more correct
> thing to do. However, #2 may be a bit tricky, as there are a lot of
> magic numbers in that code being used as bit flags (not pretty).
>
> On Thu, Jan 19, 2012 at 8:31 AM, Victor Lazzarini
> wrote:
>> By the way, I tried the diffamator CSD and with the -d flag it crashes. I am wondering whether it has anything to do with the latest changes. It does not crash with previous versions.
>>
>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>> Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a8
>> std::vector >::push_back () at /usr/include/c++/4.2.1/bits/stl_vector.h:601
>> 601 {
>> (gdb) backtrace
>> #0 std::vector >::push_back () at /usr/include/c++/4.2.1/bits/stl_vector.h:601
>> #1 GetString [inlined] () at /Users/victor/src/csound5-double/InOut/widgets.cpp:1700
>> #2 0x000000010204e585 in StartPanel (csound=0x100827800, p=0x102078608) at InOut/widgets.cpp:2498
>> #3 0x000000000000726f in ?? ()
>> Current language: auto; currently c++
>>
>> Victor
>> On 19 Jan 2012, at 12:47, Steven Yi wrote:
>>
>>> Also:
>>>
>>> -d and --nodisplays now fully disables displays and graphs
>>>
>>> On Thu, Jan 19, 2012 at 7:24 AM, Victor Lazzarini
>>> wrote:
>>>> Also:
>>>>
>>>> Frontends:
>>>>
>>>> - Added tabget and tabset methods for csoundapi~
>>>>
>>>> Bugs fixed:
>>>>
>>>> - amplitude control in voice opcode
>>>>
>>>>
>>>> Victor
>>>>
>>>> On 19 Jan 2012, at 12:08, john ffitch wrote:
>>>>
>>>>> I think these are the release notes
>>>>>
>>>>> ==John ffitch
>>>>>
>>>>>
>>>>> --------------------DRAFT--------------------DRAFT--------------------DRAFT------
>>>>>
>>>>> Notes for 5.16
>>>>> ==============
>>>>>
>>>>> The major change is that the new parser is nor default. The old
>>>>> parser is still available in case of difficulty but the new has been
>>>>> given extensive testing since the start of the year, including
>>>>> complete restructuring of macro expansion.
>>>>> A side effect is that the runtime of most orchestras is faster,
>>>>> although parsing is slower. There are a few optimisations implemented
>>>>> like constant folding in simple cases. Line numbers and file names
>>>>> are traced better than before.
>>>>>
>>>>> Some memory leaks also fixed
>>>>>
>>>>>
>>>>>
>>>>> New Opcodes:
>>>>> None
>>>>>
>>>>> New Gen and Macros:
>>>>> None
>>>>>
>>>>> Modified Opcodes and Gens:
>>>>> There was a fencepost problem in tab opcode that could falsely
>>>>> report a reference out of range
>>>>> GEN15 mis-called gens 13 and 14 internally, using uninitialised values
>>>>> voice amplitude problem fixed
>>>>> fmbell now takes an optional argument to control the sustain time
>>>>> Change to pvsbasic for tab to table conversions
>>>>> Fixed bug in diskin2 leading to infinite loop
>>>>> Fixed bug causing crossfade noise in hrtfmove
>>>>>
>>>>>
>>>>> Utilities
>>>>> Checked in the new parser/in memory files
>>>>>
>>>>>
>>>>> Bugs fixed:
>>>>> Many in new parser related to precedence and multicore.
>>>>> Better diagnostics when orchestra file/csd is missing
>>>>> csd file: fix CsFileB and CsSampleB
>>>>> fix score statement 'n'
>>>>>
>>>>> System Changes:
>>>>> New code to transfer tables to/from PD (csoundapi~)
>>>>> preprocessor #if #else #endin working
>>>>> #includes depth now limited rather than infinite recursion
>>>>> really turn off all displays if --nodisplays or -d is used; fixes
>>>>> bug where using -d or --nodisplays would still cause the
>>>>> winFLTK.c csoundModuleInit to setup display callbacks; bug
>>>>> caused with python TK apps and CsoundYield_FLTK being called
>>>>>
>>>>> API:
>>>>>
>>>>> Internal:
>>>>> Very, very, very many!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ========================================================================
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Keep Your Developer Skills Current with LearnDevNow!
>>>>> The most comprehensive online learning library for Microsoft developers
>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>> http://p.sf.net/sfu/learndevnow-d2d
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Keep Your Developer Skills Current with LearnDevNow!
>>>> The most comprehensive online learning library for Microsoft developers
>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>> http://p.sf.net/sfu/learndevnow-d2d
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Keep Your Developer Skills Current with LearnDevNow!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-d2d
>>> _______________________________________________
>>> 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
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> 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
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |