Csound Csound-dev Csound-tekno Search About

[Cs-dev] ExitGraph_FLTK()??

Date2014-04-08 16:35
FromRory Walsh
Subject[Cs-dev] ExitGraph_FLTK()??
Why does this function get called every time Csound is destroyed,
regardless of whether one uses FLTK or not? And is there a way to
bypass the function completely when destroying Csound?

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-10 00:36
FromSteven Yi
SubjectRe: [Cs-dev] ExitGraph_FLTK()??
I see the exit callback set in InOut/winFLTK.c. This seems like
something we might have discussed before, but I don't recall what and
if there was anything determined. It seems to get turned on if either
graphsoff is set to false or if postscript is on; I think the latter
might be what triggers it if I remember correctly.

On Tue, Apr 8, 2014 at 11:35 AM, Rory Walsh  wrote:
> Why does this function get called every time Csound is destroyed,
> regardless of whether one uses FLTK or not? And is there a way to
> bypass the function completely when destroying Csound?
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-10 12:05
FromRory Walsh
SubjectRe: [Cs-dev] ExitGraph_FLTK()??
Thanks Steven. I must inadvertently have postscript turned on? Must my
check my csoundParams.

On 10 April 2014 00:36, Steven Yi  wrote:
> I see the exit callback set in InOut/winFLTK.c. This seems like
> something we might have discussed before, but I don't recall what and
> if there was anything determined. It seems to get turned on if either
> graphsoff is set to false or if postscript is on; I think the latter
> might be what triggers it if I remember correctly.
>
> On Tue, Apr 8, 2014 at 11:35 AM, Rory Walsh  wrote:
>> Why does this function get called every time Csound is destroyed,
>> regardless of whether one uses FLTK or not? And is there a way to
>> bypass the function completely when destroying Csound?
>>
>> ------------------------------------------------------------------------------
>> Put Bad Developers to Shame
>> Dominate Development with Jenkins Continuous Integration
>> Continuously Automate Build, Test & Deployment
>> Start a new project now. Try Jenkins in the cloud.
>> http://p.sf.net/sfu/13600_Cloudbees
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-10 14:14
FromSteven Yi
SubjectRe: [Cs-dev] ExitGraph_FLTK()??
I don't think it's that, I think postcript gets turned on by default?
I don't remember exactly, but I thought there were some complications
to how it's all done and modifying things caused problems.  Hopefully
you can find a solution for us all. :) (No pressure!)

On Thu, Apr 10, 2014 at 7:05 AM, Rory Walsh  wrote:
> Thanks Steven. I must inadvertently have postscript turned on? Must my
> check my csoundParams.
>
> On 10 April 2014 00:36, Steven Yi  wrote:
>> I see the exit callback set in InOut/winFLTK.c. This seems like
>> something we might have discussed before, but I don't recall what and
>> if there was anything determined. It seems to get turned on if either
>> graphsoff is set to false or if postscript is on; I think the latter
>> might be what triggers it if I remember correctly.
>>
>> On Tue, Apr 8, 2014 at 11:35 AM, Rory Walsh  wrote:
>>> Why does this function get called every time Csound is destroyed,
>>> regardless of whether one uses FLTK or not? And is there a way to
>>> bypass the function completely when destroying Csound?
>>>
>>> ------------------------------------------------------------------------------
>>> Put Bad Developers to Shame
>>> Dominate Development with Jenkins Continuous Integration
>>> Continuously Automate Build, Test & Deployment
>>> Start a new project now. Try Jenkins in the cloud.
>>> http://p.sf.net/sfu/13600_Cloudbees
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Put Bad Developers to Shame
>> Dominate Development with Jenkins Continuous Integration
>> Continuously Automate Build, Test & Deployment
>> Start a new project now. Try Jenkins in the cloud.
>> http://p.sf.net/sfu/13600_Cloudbees
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-10 14:42
FromRory Walsh
SubjectRe: [Cs-dev] ExitGraph_FLTK()??
My problem was that I was accidentally calling csoundReset() twice,
once explicitly, and the other when setting my csound object to a
nullptr. The second time the function was being called certain objects
were no longer valid which was causing the segfault. I've fixed my
code now so it's no longer an issue ;)

On 10 April 2014 14:14, Steven Yi  wrote:
> I don't think it's that, I think postcript gets turned on by default?
> I don't remember exactly, but I thought there were some complications
> to how it's all done and modifying things caused problems.  Hopefully
> you can find a solution for us all. :) (No pressure!)
>
> On Thu, Apr 10, 2014 at 7:05 AM, Rory Walsh  wrote:
>> Thanks Steven. I must inadvertently have postscript turned on? Must my
>> check my csoundParams.
>>
>> On 10 April 2014 00:36, Steven Yi  wrote:
>>> I see the exit callback set in InOut/winFLTK.c. This seems like
>>> something we might have discussed before, but I don't recall what and
>>> if there was anything determined. It seems to get turned on if either
>>> graphsoff is set to false or if postscript is on; I think the latter
>>> might be what triggers it if I remember correctly.
>>>
>>> On Tue, Apr 8, 2014 at 11:35 AM, Rory Walsh  wrote:
>>>> Why does this function get called every time Csound is destroyed,
>>>> regardless of whether one uses FLTK or not? And is there a way to
>>>> bypass the function completely when destroying Csound?
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Put Bad Developers to Shame
>>>> Dominate Development with Jenkins Continuous Integration
>>>> Continuously Automate Build, Test & Deployment
>>>> Start a new project now. Try Jenkins in the cloud.
>>>> http://p.sf.net/sfu/13600_Cloudbees
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Put Bad Developers to Shame
>>> Dominate Development with Jenkins Continuous Integration
>>> Continuously Automate Build, Test & Deployment
>>> Start a new project now. Try Jenkins in the cloud.
>>> http://p.sf.net/sfu/13600_Cloudbees
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Put Bad Developers to Shame
>> Dominate Development with Jenkins Continuous Integration
>> Continuously Automate Build, Test & Deployment
>> Start a new project now. Try Jenkins in the cloud.
>> http://p.sf.net/sfu/13600_Cloudbees
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net