Csound Csound-dev Csound-tekno Search About

[Cs-dev] Problem plugins

Date2010-09-09 18:10
Fromandy fillebrown
Subject[Cs-dev] Problem plugins
I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
widget plugins are still problematic for me on both WinXP and Win7
when using QuteCsound.  Should I just file a bug report and be done
with it or is there something I can do to track down the problem in
hopes of figuring it out?

Cheers,
~ andy.f

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 06:08
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
...just thinking out loud, but the the problem may stem from
libsndfile-1.dll.  It looks as though it was built with an msvc
compiler (maybe msvc6).  Could this be causing the issues with the
plugins?

Cheers,
~ andy.f



On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
 wrote:
> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
> widget plugins are still problematic for me on both WinXP and Win7
> when using QuteCsound.  Should I just file a bug report and be done
> with it or is there something I can do to track down the problem in
> hopes of figuring it out?
>
> Cheers,
> ~ andy.f
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 07:41
FromErik de Castro Lopo
SubjectRe: [Cs-dev] Problem plugins
andy fillebrown wrote:

> ...just thinking out loud, but the the problem may stem from
> libsndfile-1.dll.  It looks as though it was built with an msvc
> compiler (maybe msvc6).

If you're using the pre-compiled libsndfile DLL from the
main libsndfile website, then that is cross-compiled from
Linux using the MinGW toolchain.

> Could this be causing the issues with the plugins?

Well it is possible, but without more information, very difficult
to tell.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 07:47
Froma7210148 <281422091@qq.com>
SubjectRe: [Cs-dev] Problem plugins
Thanks to the upcoming World Basketball Festival, we now get a “USA” Air
Jordan 2010 Team. It seems as if more people like the Air Jordan 2010 Team
than the original Air Jordan 2010 because of the windowless side panels. I’m
not one of those people who likes the team better; I think the original 
http://www.nikeshoescompany.com/ Nike Shoes  2010 Shoes looks much
better.Since this  http://www.nikeshoescompany.com/ jordan Shoes  Team is
made for the USA team, the colorway should be clear. White can be seen on
the side panels, toe, shoe laces, tongue, part of the midsole and the entire
outsole. Navy blue covers the toe, heel, inner lining and above the midsole.
Red accents appear on the tongue, toe, heel, lace panels and the midsole.
The sneaker is constructed of perforated white leather with larger
perforations placed on the side panels.
-- 
View this message in context: http://csound.1045644.n5.nabble.com/Problem-plugins-tp2828100p2836491.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lis

Date2010-09-12 08:22
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Hi,

I suspect it has more to do with FLTK threading. And it's probably not
libsndfile, otherwise it wouldn't manifest itself only on the fltk
related plugins only.

Cheers,
Andrés

On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
 wrote:
> ...just thinking out loud, but the the problem may stem from
> libsndfile-1.dll.  It looks as though it was built with an msvc
> compiler (maybe msvc6).  Could this be causing the issues with the
> plugins?
>
> Cheers,
> ~ andy.f
>
>
>
> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>  wrote:
>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>> widget plugins are still problematic for me on both WinXP and Win7
>> when using QuteCsound.  Should I just file a bug report and be done
>> with it or is there something I can do to track down the problem in
>> hopes of figuring it out?
>>
>> Cheers,
>> ~ andy.f
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourc

Date2010-09-12 16:14
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
Has anyone actually tried to debug this?

Regards,
Mike

On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera  wrote:
> Hi,
>
> I suspect it has more to do with FLTK threading. And it's probably not
> libsndfile, otherwise it wouldn't manifest itself only on the fltk
> related plugins only.
>
> Cheers,
> Andrés
>
> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>  wrote:
>> ...just thinking out loud, but the the problem may stem from
>> libsndfile-1.dll.  It looks as though it was built with an msvc
>> compiler (maybe msvc6).  Could this be causing the issues with the
>> plugins?
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>  wrote:
>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>> widget plugins are still problematic for me on both WinXP and Win7
>>> when using QuteCsound.  Should I just file a bug report and be done
>>> with it or is there something I can do to track down the problem in
>>> hopes of figuring it out?
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 20:38
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
That may be, but I'm having issues with fluidOpcodes.dll, and now
rtpa.dll, as well.

~ af



On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera  wrote:
> Hi,
>
> I suspect it has more to do with FLTK threading. And it's probably not
> libsndfile, otherwise it wouldn't manifest itself only on the fltk
> related plugins only.
>
> Cheers,
> Andrés
>
> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>  wrote:
>> ...just thinking out loud, but the the problem may stem from
>> libsndfile-1.dll.  It looks as though it was built with an msvc
>> compiler (maybe msvc6).  Could this be causing the issues with the
>> plugins?
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>  wrote:
>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>> widget plugins are still problematic for me on both WinXP and Win7
>>> when using QuteCsound.  Should I just file a bug report and be done
>>> with it or is there something I can do to track down the problem in
>>> hopes of figuring it out?
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 20:40
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I don't know how to debug the problem.  I can build a debug version of
Csound, but what do I do to isolate the problem?

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 11:14 AM, Michael Gogins
 wrote:
> Has anyone actually tried to debug this?
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera  wrote:
>> Hi,
>>
>> I suspect it has more to do with FLTK threading. And it's probably not
>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>> related plugins only.
>>
>> Cheers,
>> Andrés
>>
>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>  wrote:
>>> ...just thinking out loud, but the the problem may stem from
>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>> plugins?
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>  wrote:
>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>> with it or is there something I can do to track down the problem in
>>>> hopes of figuring it out?
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 20:42
FromSteven Yi
SubjectRe: [Cs-dev] Problem plugins
Hi Andy,

Could you reiterate the problem you're having again? I don't quite
remember what the exact issue was (crash on load, unload, etc.)

Thanks!
Steven

On 9/12/10, andy fillebrown  wrote:
> That may be, but I'm having issues with fluidOpcodes.dll, and now
> rtpa.dll, as well.
>
> ~ af
>
>
>
> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
> wrote:
>> Hi,
>>
>> I suspect it has more to do with FLTK threading. And it's probably not
>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>> related plugins only.
>>
>> Cheers,
>> Andrés
>>
>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>  wrote:
>>> ...just thinking out loud, but the the problem may stem from
>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>> plugins?
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>  wrote:
>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>> with it or is there something I can do to track down the problem in
>>>> hopes of figuring it out?
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

-- 
Sent from my mobile device

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 20:59
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
There are 3 separate problems, now.

1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
the system clipboard can no longer be written to in Qt based apps.
This problem appears to be a threading issue, but it could be anything
really.

2) The fluidOpcodes.dll plugin does not load.

3) I'm now having problems with the rtpa.dll plugin following Csound
cleanup, which manifests as a segfault from ASIO4All after the host
app has exited.

I've been working on windows for a while, and I've seen all kinds of
strange things happen when there are .dll incompatibilities.
Unfortunately, other than building everything with the same compiler,
I have no idea how to debug or avoid those kinds of issues.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
> Hi Andy,
>
> Could you reiterate the problem you're having again? I don't quite
> remember what the exact issue was (crash on load, unload, etc.)
>
> Thanks!
> Steven
>
> On 9/12/10, andy fillebrown  wrote:
>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>> rtpa.dll, as well.
>>
>> ~ af
>>
>>
>>
>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>> wrote:
>>> Hi,
>>>
>>> I suspect it has more to do with FLTK threading. And it's probably not
>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>> related plugins only.
>>>
>>> Cheers,
>>> Andrés
>>>
>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>  wrote:
>>>> ...just thinking out loud, but the the problem may stem from
>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>> plugins?
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>  wrote:
>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>> with it or is there something I can do to track down the problem in
>>>>> hopes of figuring it out?
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> --
> Sent from my mobile device
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 21:48
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
For fluidOpcodes.dll, you could try running depends.exe on it to see
what other DLL it needs to load. Google for depends.exe to find out
where to download it if you don't have it. Maybe you already did this.
I don't have this problem so I can't debug it.

For the clipboard problem and the crash on exit problem, I will debug
them on Windows if I have them.

Regards,
Mike




On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
 wrote:
> There are 3 separate problems, now.
>
> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
> the system clipboard can no longer be written to in Qt based apps.
> This problem appears to be a threading issue, but it could be anything
> really.
>
> 2) The fluidOpcodes.dll plugin does not load.
>
> 3) I'm now having problems with the rtpa.dll plugin following Csound
> cleanup, which manifests as a segfault from ASIO4All after the host
> app has exited.
>
> I've been working on windows for a while, and I've seen all kinds of
> strange things happen when there are .dll incompatibilities.
> Unfortunately, other than building everything with the same compiler,
> I have no idea how to debug or avoid those kinds of issues.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>> Hi Andy,
>>
>> Could you reiterate the problem you're having again? I don't quite
>> remember what the exact issue was (crash on load, unload, etc.)
>>
>> Thanks!
>> Steven
>>
>> On 9/12/10, andy fillebrown  wrote:
>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>> rtpa.dll, as well.
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>> wrote:
>>>> Hi,
>>>>
>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>> related plugins only.
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>  wrote:
>>>>> ...just thinking out loud, but the the problem may stem from
>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>> plugins?
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>> with it or is there something I can do to track down the problem in
>>>>>> hopes of figuring it out?
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> Andrés
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> --
>> Sent from my mobile device
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 22:03
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
I need more info on your rtpa.dll problem. What's the OS, host app,
sequence of actions?

I don't have any problems with using PortAudio (that's the rtpa.dll)
in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
problems with standalone Csound?

I'm going to look at the clipboard problem now.

Regards,
Mike

On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
 wrote:
> For fluidOpcodes.dll, you could try running depends.exe on it to see
> what other DLL it needs to load. Google for depends.exe to find out
> where to download it if you don't have it. Maybe you already did this.
> I don't have this problem so I can't debug it.
>
> For the clipboard problem and the crash on exit problem, I will debug
> them on Windows if I have them.
>
> Regards,
> Mike
>
>
>
>
> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>  wrote:
>> There are 3 separate problems, now.
>>
>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>> the system clipboard can no longer be written to in Qt based apps.
>> This problem appears to be a threading issue, but it could be anything
>> really.
>>
>> 2) The fluidOpcodes.dll plugin does not load.
>>
>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>> cleanup, which manifests as a segfault from ASIO4All after the host
>> app has exited.
>>
>> I've been working on windows for a while, and I've seen all kinds of
>> strange things happen when there are .dll incompatibilities.
>> Unfortunately, other than building everything with the same compiler,
>> I have no idea how to debug or avoid those kinds of issues.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>> Hi Andy,
>>>
>>> Could you reiterate the problem you're having again? I don't quite
>>> remember what the exact issue was (crash on load, unload, etc.)
>>>
>>> Thanks!
>>> Steven
>>>
>>> On 9/12/10, andy fillebrown  wrote:
>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>> rtpa.dll, as well.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>> related plugins only.
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>  wrote:
>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>> plugins?
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>> hopes of figuring it out?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> Andrés
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> --
>>> Sent from my mobile device
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 22:26
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
I can't reproduce any clipboard interactions with fluidOpcodes.dll
either. I can cut and paste back and forth between QuteCsound, Scite,
and another instance of QuteCsound before and after loading and
unloading fluidOpodes.dll. So, I don't seem to experience any of these
problems.

If you could prepare csd files or scripts or whatever that cause these
problems and email them to me with any other stuff they need to run,
along with a description of how to run to cause the problems, I will
debug them.

Regards,
Mike

On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
 wrote:
> I need more info on your rtpa.dll problem. What's the OS, host app,
> sequence of actions?
>
> I don't have any problems with using PortAudio (that's the rtpa.dll)
> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
> problems with standalone Csound?
>
> I'm going to look at the clipboard problem now.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>  wrote:
>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>> what other DLL it needs to load. Google for depends.exe to find out
>> where to download it if you don't have it. Maybe you already did this.
>> I don't have this problem so I can't debug it.
>>
>> For the clipboard problem and the crash on exit problem, I will debug
>> them on Windows if I have them.
>>
>> Regards,
>> Mike
>>
>>
>>
>>
>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>  wrote:
>>> There are 3 separate problems, now.
>>>
>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>>> the system clipboard can no longer be written to in Qt based apps.
>>> This problem appears to be a threading issue, but it could be anything
>>> really.
>>>
>>> 2) The fluidOpcodes.dll plugin does not load.
>>>
>>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>> app has exited.
>>>
>>> I've been working on windows for a while, and I've seen all kinds of
>>> strange things happen when there are .dll incompatibilities.
>>> Unfortunately, other than building everything with the same compiler,
>>> I have no idea how to debug or avoid those kinds of issues.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>>> Hi Andy,
>>>>
>>>> Could you reiterate the problem you're having again? I don't quite
>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>
>>>> Thanks!
>>>> Steven
>>>>
>>>> On 9/12/10, andy fillebrown  wrote:
>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>> rtpa.dll, as well.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>>> related plugins only.
>>>>>>
>>>>>> Cheers,
>>>>>> Andrés
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>  wrote:
>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>>> plugins?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>>> hopes of figuring it out?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> Andrés
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> --
>>>> Sent from my mobile device
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 22:55
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Thanks Michael,

The clipboard problem is due to the fltk plugins virtual.dll and
widgets.dll.  To reproduce the problem in QuteCsound, run and stop any
of the examples, then try copy/paste.  If the problem shows up, Qt
will output a debug message saying it could not write to the
clipboard.  For me, it occurs on winxp and win7.  When virtual.dll and
widgets.dll are not present in the plugins folder, no copy/paste
issues occur.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 5:26 PM, Michael Gogins
 wrote:
> I can't reproduce any clipboard interactions with fluidOpcodes.dll
> either. I can cut and paste back and forth between QuteCsound, Scite,
> and another instance of QuteCsound before and after loading and
> unloading fluidOpodes.dll. So, I don't seem to experience any of these
> problems.
>
> If you could prepare csd files or scripts or whatever that cause these
> problems and email them to me with any other stuff they need to run,
> along with a description of how to run to cause the problems, I will
> debug them.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>  wrote:
>> I need more info on your rtpa.dll problem. What's the OS, host app,
>> sequence of actions?
>>
>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>> problems with standalone Csound?
>>
>> I'm going to look at the clipboard problem now.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>  wrote:
>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>> what other DLL it needs to load. Google for depends.exe to find out
>>> where to download it if you don't have it. Maybe you already did this.
>>> I don't have this problem so I can't debug it.
>>>
>>> For the clipboard problem and the crash on exit problem, I will debug
>>> them on Windows if I have them.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>  wrote:
>>>> There are 3 separate problems, now.
>>>>
>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>>>> the system clipboard can no longer be written to in Qt based apps.
>>>> This problem appears to be a threading issue, but it could be anything
>>>> really.
>>>>
>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>
>>>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>> app has exited.
>>>>
>>>> I've been working on windows for a while, and I've seen all kinds of
>>>> strange things happen when there are .dll incompatibilities.
>>>> Unfortunately, other than building everything with the same compiler,
>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>>>> Hi Andy,
>>>>>
>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>
>>>>> Thanks!
>>>>> Steven
>>>>>
>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>> rtpa.dll, as well.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>>>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>>>> related plugins only.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>>>> plugins?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>>>> hopes of figuring it out?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> Andrés
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> --
>>>>> Sent from my mobile device
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:08
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
The rtpa.dll problem is showing up in a separate app I'm working on (I
will test in QuteCsound tomorrow), so it may be something I'm doing
wrong on my end.  Here's a stack dump ...

0	ntdll!RtlpWaitForCriticalSection	C:\WINDOWS\system32\ntdll.dll	0	0x7c91b1fa	
1	ntdll!RtlEnumerateGenericTableLikeADirectory	C:\WINDOWS\system32\ntdll.dll	0	0x7c901046
2	??		0	0x0001bfb8	
3	??	C:\Program Files\ASIO4ALL v2\asio4all.dll	0	0x0e011097	
4	asio4all!RWDEFQuitPanelApp	C:\Program Files\ASIO4ALL
v2\asio4all.dll	0	0x0e01bfb8
5	??		0	0x0022fb84	
6	??		0	0x0022fb40	
7	??		0	0x0022fb4c	
8	??		0	0x0022fb28	
9	asio4all!DllUnregisterServer	C:\Program Files\ASIO4ALL
v2\asio4all.dll	0	0x0e0195fb
10	??		0	0x0022fc18	
11	??		0	0x00349228	
12	??		0	0x00349228	
13	??	C:\Program Files\ASIO4ALL v2\asio4all.dll	0	0x0e016fe3	
14	asio4all!DllUnregisterServer	C:\Program Files\ASIO4ALL
v2\asio4all.dll	0	0x0e019637
15	ntdll!LdrSetAppCompatDllRedirectionCallback	C:\WINDOWS\system32\ntdll.dll	0	0x7c90118a
16	??		0	0x0e010000	
17	??		0	0x00000000	


This is occurring on both winxp and win7.  The sequence of events that
reproduce the problem is ...

1) Start app using .csoundrc containing -+rtaudio=pa
2) Run and stop playback at least once.
3) Close app.

The segfault occurs after the app's main function has returned.
There are no issues when using -+rtaudio=winmm in .csoundrc.

Again, this may be happening because I'm doing something wrong, so
don't worry about it too much, yet.  I'd like to look into it more on
my end first.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
 wrote:
> I need more info on your rtpa.dll problem. What's the OS, host app,
> sequence of actions?
>
> I don't have any problems with using PortAudio (that's the rtpa.dll)
> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
> problems with standalone Csound?
>
> I'm going to look at the clipboard problem now.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>  wrote:
>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>> what other DLL it needs to load. Google for depends.exe to find out
>> where to download it if you don't have it. Maybe you already did this.
>> I don't have this problem so I can't debug it.
>>
>> For the clipboard problem and the crash on exit problem, I will debug
>> them on Windows if I have them.
>>
>> Regards,
>> Mike
>>
>>
>>
>>
>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>  wrote:
>>> There are 3 separate problems, now.
>>>
>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>>> the system clipboard can no longer be written to in Qt based apps.
>>> This problem appears to be a threading issue, but it could be anything
>>> really.
>>>
>>> 2) The fluidOpcodes.dll plugin does not load.
>>>
>>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>> app has exited.
>>>
>>> I've been working on windows for a while, and I've seen all kinds of
>>> strange things happen when there are .dll incompatibilities.
>>> Unfortunately, other than building everything with the same compiler,
>>> I have no idea how to debug or avoid those kinds of issues.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>>> Hi Andy,
>>>>
>>>> Could you reiterate the problem you're having again? I don't quite
>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>
>>>> Thanks!
>>>> Steven
>>>>
>>>> On 9/12/10, andy fillebrown  wrote:
>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>> rtpa.dll, as well.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>>> related plugins only.
>>>>>>
>>>>>> Cheers,
>>>>>> Andrés
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>  wrote:
>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>>> plugins?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>>> hopes of figuring it out?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> Andrés
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> --
>>>> Sent from my mobile device
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:18
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem plugins
As far as C code is concerned, rtpa.c has not changed for a while.  
However, portaudio itself is constantly updated. Have you tried with a  
different version of it?

On 12 Sep 2010, at 23:08, andy fillebrown wrote:

> The rtpa.dll problem is showing up in a separate app I'm working on (I
> will test in QuteCsound tomorrow), so it may be something I'm doing
> wrong on my end.  Here's a stack dump ...
>
> 0	ntdll!RtlpWaitForCriticalSection	C:\WINDOWS\system32\ntdll.dll	0	 
> 0x7c91b1fa	
> 1	ntdll!RtlEnumerateGenericTableLikeADirectory	C:\WINDOWS 
> \system32\ntdll.dll	0	0x7c901046
> 2	??		0	0x0001bfb8	
> 3	??	C:\Program Files\ASIO4ALL v2\asio4all.dll	0	0x0e011097	
> 4	asio4all!RWDEFQuitPanelApp	C:\Program Files\ASIO4ALL
> v2\asio4all.dll	0	0x0e01bfb8
> 5	??		0	0x0022fb84	
> 6	??		0	0x0022fb40	
> 7	??		0	0x0022fb4c	
> 8	??		0	0x0022fb28	
> 9	asio4all!DllUnregisterServer	C:\Program Files\ASIO4ALL
> v2\asio4all.dll	0	0x0e0195fb
> 10	??		0	0x0022fc18	
> 11	??		0	0x00349228	
> 12	??		0	0x00349228	
> 13	??	C:\Program Files\ASIO4ALL v2\asio4all.dll	0	0x0e016fe3	
> 14	asio4all!DllUnregisterServer	C:\Program Files\ASIO4ALL
> v2\asio4all.dll	0	0x0e019637
> 15	ntdll!LdrSetAppCompatDllRedirectionCallback	C:\WINDOWS 
> \system32\ntdll.dll	0	0x7c90118a
> 16	??		0	0x0e010000	
> 17	??		0	0x00000000	
>
>
> This is occurring on both winxp and win7.  The sequence of events that
> reproduce the problem is ...
>
> 1) Start app using .csoundrc containing -+rtaudio=pa
> 2) Run and stop playback at least once.
> 3) Close app.
>
> The segfault occurs after the app's main function has returned.
> There are no issues when using -+rtaudio=winmm in .csoundrc.
>
> Again, this may be happening because I'm doing something wrong, so
> don't worry about it too much, yet.  I'd like to look into it more on
> my end first.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>  wrote:
>> I need more info on your rtpa.dll problem. What's the OS, host app,
>> sequence of actions?
>>
>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>> problems with standalone Csound?
>>
>> I'm going to look at the clipboard problem now.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>  wrote:
>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>> what other DLL it needs to load. Google for depends.exe to find out
>>> where to download it if you don't have it. Maybe you already did  
>>> this.
>>> I don't have this problem so I can't debug it.
>>>
>>> For the clipboard problem and the crash on exit problem, I will  
>>> debug
>>> them on Windows if I have them.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>  wrote:
>>>> There are 3 separate problems, now.
>>>>
>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are  
>>>> unloaded,
>>>> the system clipboard can no longer be written to in Qt based apps.
>>>> This problem appears to be a threading issue, but it could be  
>>>> anything
>>>> really.
>>>>
>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>
>>>> 3) I'm now having problems with the rtpa.dll plugin following  
>>>> Csound
>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>> app has exited.
>>>>
>>>> I've been working on windows for a while, and I've seen all kinds  
>>>> of
>>>> strange things happen when there are .dll incompatibilities.
>>>> Unfortunately, other than building everything with the same  
>>>> compiler,
>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi   
>>>> wrote:
>>>>> Hi Andy,
>>>>>
>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>
>>>>> Thanks!
>>>>> Steven
>>>>>
>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>> rtpa.dll, as well.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>> >
>>>>>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I suspect it has more to do with FLTK threading. And it's  
>>>>>>> probably not
>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the  
>>>>>>> fltk
>>>>>>> related plugins only.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues  
>>>>>>>> with the
>>>>>>>> plugins?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,  
>>>>>>>>> virtual, and
>>>>>>>>> widget plugins are still problematic for me on both WinXP  
>>>>>>>>> and Win7
>>>>>>>>> when using QuteCsound.  Should I just file a bug report and  
>>>>>>>>> be done
>>>>>>>>> with it or is there something I can do to track down the  
>>>>>>>>> problem in
>>>>>>>>> hopes of figuring it out?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> Andrés
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> --
>>>>> Sent from my mobile device
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:22
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I just took another look at my system, and graphviz had gotten back
into the path before csound without me knowing.  After changing the
order, csound's warning regarding not being able to load
fluidOpcodes.dll has gone away in my app.  QuteCsound still crashes
after a run/stop, though.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 5:26 PM, Michael Gogins
 wrote:
> I can't reproduce any clipboard interactions with fluidOpcodes.dll
> either. I can cut and paste back and forth between QuteCsound, Scite,
> and another instance of QuteCsound before and after loading and
> unloading fluidOpodes.dll. So, I don't seem to experience any of these
> problems.
>
> If you could prepare csd files or scripts or whatever that cause these
> problems and email them to me with any other stuff they need to run,
> along with a description of how to run to cause the problems, I will
> debug them.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>  wrote:
>> I need more info on your rtpa.dll problem. What's the OS, host app,
>> sequence of actions?
>>
>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>> problems with standalone Csound?
>>
>> I'm going to look at the clipboard problem now.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>  wrote:
>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>> what other DLL it needs to load. Google for depends.exe to find out
>>> where to download it if you don't have it. Maybe you already did this.
>>> I don't have this problem so I can't debug it.
>>>
>>> For the clipboard problem and the crash on exit problem, I will debug
>>> them on Windows if I have them.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>  wrote:
>>>> There are 3 separate problems, now.
>>>>
>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>>>> the system clipboard can no longer be written to in Qt based apps.
>>>> This problem appears to be a threading issue, but it could be anything
>>>> really.
>>>>
>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>
>>>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>> app has exited.
>>>>
>>>> I've been working on windows for a while, and I've seen all kinds of
>>>> strange things happen when there are .dll incompatibilities.
>>>> Unfortunately, other than building everything with the same compiler,
>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>>>> Hi Andy,
>>>>>
>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>
>>>>> Thanks!
>>>>> Steven
>>>>>
>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>> rtpa.dll, as well.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>>>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>>>> related plugins only.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>>>> plugins?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>>>> hopes of figuring it out?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> Andrés
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> --
>>>>> Sent from my mobile device
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:32
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
try a different version.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
 wrote:
> As far as C code is concerned, rtpa.c has not changed for a while.
> However, portaudio itself is constantly updated. Have you tried with a
> different version of it?
>
> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>
>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>> will test in QuteCsound tomorrow), so it may be something I'm doing
>> wrong on my end.  Here's a stack dump ...
>>
>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>> 0x7c91b1fa
>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>> \system32\ntdll.dll   0       0x7c901046
>> 2     ??              0       0x0001bfb8
>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>> v2\asio4all.dll       0       0x0e01bfb8
>> 5     ??              0       0x0022fb84
>> 6     ??              0       0x0022fb40
>> 7     ??              0       0x0022fb4c
>> 8     ??              0       0x0022fb28
>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>> v2\asio4all.dll       0       0x0e0195fb
>> 10    ??              0       0x0022fc18
>> 11    ??              0       0x00349228
>> 12    ??              0       0x00349228
>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>> v2\asio4all.dll       0       0x0e019637
>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>> \system32\ntdll.dll   0       0x7c90118a
>> 16    ??              0       0x0e010000
>> 17    ??              0       0x00000000
>>
>>
>> This is occurring on both winxp and win7.  The sequence of events that
>> reproduce the problem is ...
>>
>> 1) Start app using .csoundrc containing -+rtaudio=pa
>> 2) Run and stop playback at least once.
>> 3) Close app.
>>
>> The segfault occurs after the app's main function has returned.
>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>
>> Again, this may be happening because I'm doing something wrong, so
>> don't worry about it too much, yet.  I'd like to look into it more on
>> my end first.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>  wrote:
>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>> sequence of actions?
>>>
>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>> problems with standalone Csound?
>>>
>>> I'm going to look at the clipboard problem now.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>  wrote:
>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>> where to download it if you don't have it. Maybe you already did
>>>> this.
>>>> I don't have this problem so I can't debug it.
>>>>
>>>> For the clipboard problem and the crash on exit problem, I will
>>>> debug
>>>> them on Windows if I have them.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>  wrote:
>>>>> There are 3 separate problems, now.
>>>>>
>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>> unloaded,
>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>> This problem appears to be a threading issue, but it could be
>>>>> anything
>>>>> really.
>>>>>
>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>
>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>> Csound
>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>> app has exited.
>>>>>
>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>> of
>>>>> strange things happen when there are .dll incompatibilities.
>>>>> Unfortunately, other than building everything with the same
>>>>> compiler,
>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>> wrote:
>>>>>> Hi Andy,
>>>>>>
>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>
>>>>>> Thanks!
>>>>>> Steven
>>>>>>
>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>> rtpa.dll, as well.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>> >
>>>>>>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>> probably not
>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>> fltk
>>>>>>>> related plugins only.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Andrés
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>> with the
>>>>>>>>> plugins?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>> virtual, and
>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>> and Win7
>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>> be done
>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>> problem in
>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> Andrés
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sent from my mobile device
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:34
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
Yes, the graphviz problem is one I also had. It's caused by an
incompatible glib.

Thanks for the clarification about virtual and widget, I will test that.

I will let you look at rtpa for now. But th asio4all problem looks
like an asio4all bug, to me.

Regards,
Mike

On Sun, Sep 12, 2010 at 6:22 PM, andy fillebrown
 wrote:
> I just took another look at my system, and graphviz had gotten back
> into the path before csound without me knowing.  After changing the
> order, csound's warning regarding not being able to load
> fluidOpcodes.dll has gone away in my app.  QuteCsound still crashes
> after a run/stop, though.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 5:26 PM, Michael Gogins
>  wrote:
>> I can't reproduce any clipboard interactions with fluidOpcodes.dll
>> either. I can cut and paste back and forth between QuteCsound, Scite,
>> and another instance of QuteCsound before and after loading and
>> unloading fluidOpodes.dll. So, I don't seem to experience any of these
>> problems.
>>
>> If you could prepare csd files or scripts or whatever that cause these
>> problems and email them to me with any other stuff they need to run,
>> along with a description of how to run to cause the problems, I will
>> debug them.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>  wrote:
>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>> sequence of actions?
>>>
>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>> problems with standalone Csound?
>>>
>>> I'm going to look at the clipboard problem now.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>  wrote:
>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>> where to download it if you don't have it. Maybe you already did this.
>>>> I don't have this problem so I can't debug it.
>>>>
>>>> For the clipboard problem and the crash on exit problem, I will debug
>>>> them on Windows if I have them.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>  wrote:
>>>>> There are 3 separate problems, now.
>>>>>
>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are unloaded,
>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>> This problem appears to be a threading issue, but it could be anything
>>>>> really.
>>>>>
>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>
>>>>> 3) I'm now having problems with the rtpa.dll plugin following Csound
>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>> app has exited.
>>>>>
>>>>> I've been working on windows for a while, and I've seen all kinds of
>>>>> strange things happen when there are .dll incompatibilities.
>>>>> Unfortunately, other than building everything with the same compiler,
>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi  wrote:
>>>>>> Hi Andy,
>>>>>>
>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>
>>>>>> Thanks!
>>>>>> Steven
>>>>>>
>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>> rtpa.dll, as well.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera 
>>>>>>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I suspect it has more to do with FLTK threading. And it's probably not
>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the fltk
>>>>>>>> related plugins only.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Andrés
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues with the
>>>>>>>>> plugins?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes, virtual, and
>>>>>>>>>> widget plugins are still problematic for me on both WinXP and Win7
>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and be done
>>>>>>>>>> with it or is there something I can do to track down the problem in
>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> Andrés
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sent from my mobile device
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-12 23:35
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
That is probably the cause. See if you can find what compiler built
asio4all. If it's MinGW sjlj it probably will not work with our MinGW
dw2.

Regards,
Mike

On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
 wrote:
> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
> try a different version.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>  wrote:
>> As far as C code is concerned, rtpa.c has not changed for a while.
>> However, portaudio itself is constantly updated. Have you tried with a
>> different version of it?
>>
>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>
>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>> wrong on my end.  Here's a stack dump ...
>>>
>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>> 0x7c91b1fa
>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>> \system32\ntdll.dll   0       0x7c901046
>>> 2     ??              0       0x0001bfb8
>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>> v2\asio4all.dll       0       0x0e01bfb8
>>> 5     ??              0       0x0022fb84
>>> 6     ??              0       0x0022fb40
>>> 7     ??              0       0x0022fb4c
>>> 8     ??              0       0x0022fb28
>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>> v2\asio4all.dll       0       0x0e0195fb
>>> 10    ??              0       0x0022fc18
>>> 11    ??              0       0x00349228
>>> 12    ??              0       0x00349228
>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>> v2\asio4all.dll       0       0x0e019637
>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>> \system32\ntdll.dll   0       0x7c90118a
>>> 16    ??              0       0x0e010000
>>> 17    ??              0       0x00000000
>>>
>>>
>>> This is occurring on both winxp and win7.  The sequence of events that
>>> reproduce the problem is ...
>>>
>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>> 2) Run and stop playback at least once.
>>> 3) Close app.
>>>
>>> The segfault occurs after the app's main function has returned.
>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>
>>> Again, this may be happening because I'm doing something wrong, so
>>> don't worry about it too much, yet.  I'd like to look into it more on
>>> my end first.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>  wrote:
>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>> sequence of actions?
>>>>
>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>> problems with standalone Csound?
>>>>
>>>> I'm going to look at the clipboard problem now.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>  wrote:
>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>> where to download it if you don't have it. Maybe you already did
>>>>> this.
>>>>> I don't have this problem so I can't debug it.
>>>>>
>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>> debug
>>>>> them on Windows if I have them.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>  wrote:
>>>>>> There are 3 separate problems, now.
>>>>>>
>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>> unloaded,
>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>> This problem appears to be a threading issue, but it could be
>>>>>> anything
>>>>>> really.
>>>>>>
>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>
>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>> Csound
>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>> app has exited.
>>>>>>
>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>> of
>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>> Unfortunately, other than building everything with the same
>>>>>> compiler,
>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>> wrote:
>>>>>>> Hi Andy,
>>>>>>>
>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>
>>>>>>> Thanks!
>>>>>>> Steven
>>>>>>>
>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>> rtpa.dll, as well.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>> >
>>>>>>>> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>> probably not
>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>> fltk
>>>>>>>>> related plugins only.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Andrés
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>> with the
>>>>>>>>>> plugins?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>  wrote:
>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>> virtual, and
>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>> and Win7
>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>> be done
>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>> problem in
>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Andrés
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sent from my mobile device
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 00:12
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
When looking up the email address of asio4all's developer, I
discovered a newer release that does not crash.  Problem solved.

Sorry for the noise, but it helps me figure things out when I get stuck.

I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
looks like the only issue remaining for me is the fltk opcodes, which
isn't a big deal imo.  The workaround is not difficult.  I do wish
that the CS_OMIT_LIBS environment variable worked when using
csoundSetGlobalEnv, though, that way we could get QuteCsound to work
out of the box without having to add that variable to the system
environment during installation, or having to tell users to move
virtual.dll and widgets.dll out of their plugins directory.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
 wrote:
> That is probably the cause. See if you can find what compiler built
> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
> dw2.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>  wrote:
>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>> try a different version.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>  wrote:
>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>> However, portaudio itself is constantly updated. Have you tried with a
>>> different version of it?
>>>
>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>
>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>> wrong on my end.  Here's a stack dump ...
>>>>
>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>> 0x7c91b1fa
>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>> \system32\ntdll.dll   0       0x7c901046
>>>> 2     ??              0       0x0001bfb8
>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>> 5     ??              0       0x0022fb84
>>>> 6     ??              0       0x0022fb40
>>>> 7     ??              0       0x0022fb4c
>>>> 8     ??              0       0x0022fb28
>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>> v2\asio4all.dll       0       0x0e0195fb
>>>> 10    ??              0       0x0022fc18
>>>> 11    ??              0       0x00349228
>>>> 12    ??              0       0x00349228
>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>> v2\asio4all.dll       0       0x0e019637
>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>> \system32\ntdll.dll   0       0x7c90118a
>>>> 16    ??              0       0x0e010000
>>>> 17    ??              0       0x00000000
>>>>
>>>>
>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>> reproduce the problem is ...
>>>>
>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>> 2) Run and stop playback at least once.
>>>> 3) Close app.
>>>>
>>>> The segfault occurs after the app's main function has returned.
>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>
>>>> Again, this may be happening because I'm doing something wrong, so
>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>> my end first.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>  wrote:
>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>> sequence of actions?
>>>>>
>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>> problems with standalone Csound?
>>>>>
>>>>> I'm going to look at the clipboard problem now.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>  wrote:
>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>> this.
>>>>>> I don't have this problem so I can't debug it.
>>>>>>
>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>> debug
>>>>>> them on Windows if I have them.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> There are 3 separate problems, now.
>>>>>>>
>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>> unloaded,
>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>> anything
>>>>>>> really.
>>>>>>>
>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>
>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>> Csound
>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>> app has exited.
>>>>>>>
>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>> of
>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>> Unfortunately, other than building everything with the same
>>>>>>> compiler,
>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>> wrote:
>>>>>>>> Hi Andy,
>>>>>>>>
>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>> Steven
>>>>>>>>
>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>
>>>>>>>>> ~ af
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>> >
>>>>>>>>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>> probably not
>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>> fltk
>>>>>>>>>> related plugins only.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Andrés
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>  wrote:
>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>> with the
>>>>>>>>>>> plugins?
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>> virtual, and
>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>> and Win7
>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>> be done
>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>> problem in
>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Andrés
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Sent from my mobile device
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 00:36
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
It's not noise at all and no problem at all. Keep up the good work.

Regards,
Mike

On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
 wrote:
> When looking up the email address of asio4all's developer, I
> discovered a newer release that does not crash.  Problem solved.
>
> Sorry for the noise, but it helps me figure things out when I get stuck.
>
> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
> looks like the only issue remaining for me is the fltk opcodes, which
> isn't a big deal imo.  The workaround is not difficult.  I do wish
> that the CS_OMIT_LIBS environment variable worked when using
> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
> out of the box without having to add that variable to the system
> environment during installation, or having to tell users to move
> virtual.dll and widgets.dll out of their plugins directory.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>  wrote:
>> That is probably the cause. See if you can find what compiler built
>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>> dw2.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>  wrote:
>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>> try a different version.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>  wrote:
>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>> different version of it?
>>>>
>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>
>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>> wrong on my end.  Here's a stack dump ...
>>>>>
>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>> 0x7c91b1fa
>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>> 2     ??              0       0x0001bfb8
>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>> 5     ??              0       0x0022fb84
>>>>> 6     ??              0       0x0022fb40
>>>>> 7     ??              0       0x0022fb4c
>>>>> 8     ??              0       0x0022fb28
>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>> 10    ??              0       0x0022fc18
>>>>> 11    ??              0       0x00349228
>>>>> 12    ??              0       0x00349228
>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>> v2\asio4all.dll       0       0x0e019637
>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>> 16    ??              0       0x0e010000
>>>>> 17    ??              0       0x00000000
>>>>>
>>>>>
>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>> reproduce the problem is ...
>>>>>
>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>> 2) Run and stop playback at least once.
>>>>> 3) Close app.
>>>>>
>>>>> The segfault occurs after the app's main function has returned.
>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>
>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>> my end first.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>  wrote:
>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>> sequence of actions?
>>>>>>
>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>> problems with standalone Csound?
>>>>>>
>>>>>> I'm going to look at the clipboard problem now.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>> this.
>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>
>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>> debug
>>>>>>> them on Windows if I have them.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> There are 3 separate problems, now.
>>>>>>>>
>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>> unloaded,
>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>> anything
>>>>>>>> really.
>>>>>>>>
>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>
>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>> Csound
>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>> app has exited.
>>>>>>>>
>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>> of
>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>> compiler,
>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>> wrote:
>>>>>>>>> Hi Andy,
>>>>>>>>>
>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> Steven
>>>>>>>>>
>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>
>>>>>>>>>> ~ af
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>> >
>>>>>>>>>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>> probably not
>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>> fltk
>>>>>>>>>>> related plugins only.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Andrés
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>> with the
>>>>>>>>>>>> plugins?
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>> be done
>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>> problem in
>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Andrés
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sent from my mobile device
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 02:20
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Interestingly, my app is not experiencing the copy/paste issue anymore
but QuteCsound is still having trouble with the fluidOpcodes, virtual,
and widgets plugins.

The main difference between my app and QuteCsound is that I'm linking
to Csound's C api at runtime and I'm not using the C++ api for
multi-threaded playback (I'm only using csound64.dll.5.2).  This has
me thinking the issue may be in QuteCsound or in csnd.dll.

Regardless, my app is now working flawlessly with the default Csound
install for Windows "out of the box".  This makes me very happy and
thankful for all the work put into making it possible.  Hopefully, the
app I've been working on will reach the beta-testing phase soon.
Thanks again, Michael!

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
 wrote:
> It's not noise at all and no problem at all. Keep up the good work.
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>  wrote:
>> When looking up the email address of asio4all's developer, I
>> discovered a newer release that does not crash.  Problem solved.
>>
>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>
>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>> looks like the only issue remaining for me is the fltk opcodes, which
>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>> that the CS_OMIT_LIBS environment variable worked when using
>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>> out of the box without having to add that variable to the system
>> environment during installation, or having to tell users to move
>> virtual.dll and widgets.dll out of their plugins directory.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>  wrote:
>>> That is probably the cause. See if you can find what compiler built
>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>> dw2.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>  wrote:
>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>> try a different version.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>  wrote:
>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>> different version of it?
>>>>>
>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>
>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>
>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>> 0x7c91b1fa
>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>> 2     ??              0       0x0001bfb8
>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>> 5     ??              0       0x0022fb84
>>>>>> 6     ??              0       0x0022fb40
>>>>>> 7     ??              0       0x0022fb4c
>>>>>> 8     ??              0       0x0022fb28
>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>> 10    ??              0       0x0022fc18
>>>>>> 11    ??              0       0x00349228
>>>>>> 12    ??              0       0x00349228
>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>> 16    ??              0       0x0e010000
>>>>>> 17    ??              0       0x00000000
>>>>>>
>>>>>>
>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>> reproduce the problem is ...
>>>>>>
>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>> 2) Run and stop playback at least once.
>>>>>> 3) Close app.
>>>>>>
>>>>>> The segfault occurs after the app's main function has returned.
>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>
>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>> my end first.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>> sequence of actions?
>>>>>>>
>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>> problems with standalone Csound?
>>>>>>>
>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>> this.
>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>
>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>> debug
>>>>>>>> them on Windows if I have them.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>
>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>> unloaded,
>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>> anything
>>>>>>>>> really.
>>>>>>>>>
>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>
>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>> Csound
>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>> app has exited.
>>>>>>>>>
>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>> of
>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>> compiler,
>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>> wrote:
>>>>>>>>>> Hi Andy,
>>>>>>>>>>
>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>> Steven
>>>>>>>>>>
>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>
>>>>>>>>>>> ~ af
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>> >
>>>>>>>>>>> wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>> probably not
>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>> fltk
>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> Andrés
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>> with the
>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Andrés
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 04:49
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
Is your QuteCsound the one from the latest Csound installer or one you
already had?

Regards,
Mike

On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
 wrote:
> Interestingly, my app is not experiencing the copy/paste issue anymore
> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
> and widgets plugins.
>
> The main difference between my app and QuteCsound is that I'm linking
> to Csound's C api at runtime and I'm not using the C++ api for
> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
> me thinking the issue may be in QuteCsound or in csnd.dll.
>
> Regardless, my app is now working flawlessly with the default Csound
> install for Windows "out of the box".  This makes me very happy and
> thankful for all the work put into making it possible.  Hopefully, the
> app I've been working on will reach the beta-testing phase soon.
> Thanks again, Michael!
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>  wrote:
>> It's not noise at all and no problem at all. Keep up the good work.
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>  wrote:
>>> When looking up the email address of asio4all's developer, I
>>> discovered a newer release that does not crash.  Problem solved.
>>>
>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>
>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>> looks like the only issue remaining for me is the fltk opcodes, which
>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>> that the CS_OMIT_LIBS environment variable worked when using
>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>> out of the box without having to add that variable to the system
>>> environment during installation, or having to tell users to move
>>> virtual.dll and widgets.dll out of their plugins directory.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>  wrote:
>>>> That is probably the cause. See if you can find what compiler built
>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>> dw2.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>  wrote:
>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>> try a different version.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>> different version of it?
>>>>>>
>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>
>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>
>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>> 0x7c91b1fa
>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>> 5     ??              0       0x0022fb84
>>>>>>> 6     ??              0       0x0022fb40
>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>> 8     ??              0       0x0022fb28
>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>> 10    ??              0       0x0022fc18
>>>>>>> 11    ??              0       0x00349228
>>>>>>> 12    ??              0       0x00349228
>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>> 16    ??              0       0x0e010000
>>>>>>> 17    ??              0       0x00000000
>>>>>>>
>>>>>>>
>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>> reproduce the problem is ...
>>>>>>>
>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>> 2) Run and stop playback at least once.
>>>>>>> 3) Close app.
>>>>>>>
>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>
>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>> my end first.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>> sequence of actions?
>>>>>>>>
>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>> problems with standalone Csound?
>>>>>>>>
>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>> this.
>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>
>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>> debug
>>>>>>>>> them on Windows if I have them.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>
>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>> unloaded,
>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>> anything
>>>>>>>>>> really.
>>>>>>>>>>
>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>
>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>> Csound
>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>> app has exited.
>>>>>>>>>>
>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>> of
>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>> compiler,
>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>> wrote:
>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>
>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>> Steven
>>>>>>>>>>>
>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>
>>>>>>>>>>>> ~ af
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>> >
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>> probably not
>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>> fltk
>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 08:15
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I've been testing using the one from the installer.  I'll test again
using my debug build soon.

Cheers,
~ andy.f



On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
 wrote:
> Is your QuteCsound the one from the latest Csound installer or one you
> already had?
>
> Regards,
> Mike
>
> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>  wrote:
>> Interestingly, my app is not experiencing the copy/paste issue anymore
>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>> and widgets plugins.
>>
>> The main difference between my app and QuteCsound is that I'm linking
>> to Csound's C api at runtime and I'm not using the C++ api for
>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>
>> Regardless, my app is now working flawlessly with the default Csound
>> install for Windows "out of the box".  This makes me very happy and
>> thankful for all the work put into making it possible.  Hopefully, the
>> app I've been working on will reach the beta-testing phase soon.
>> Thanks again, Michael!
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>  wrote:
>>> It's not noise at all and no problem at all. Keep up the good work.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>  wrote:
>>>> When looking up the email address of asio4all's developer, I
>>>> discovered a newer release that does not crash.  Problem solved.
>>>>
>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>
>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>> out of the box without having to add that variable to the system
>>>> environment during installation, or having to tell users to move
>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>  wrote:
>>>>> That is probably the cause. See if you can find what compiler built
>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>> dw2.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>  wrote:
>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>> try a different version.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>> different version of it?
>>>>>>>
>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>
>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>
>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>> 0x7c91b1fa
>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>> 11    ??              0       0x00349228
>>>>>>>> 12    ??              0       0x00349228
>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>
>>>>>>>>
>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>> reproduce the problem is ...
>>>>>>>>
>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>> 3) Close app.
>>>>>>>>
>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>
>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>> my end first.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>> sequence of actions?
>>>>>>>>>
>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>> problems with standalone Csound?
>>>>>>>>>
>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>> this.
>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>
>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>> debug
>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>  wrote:
>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>
>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>> unloaded,
>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>> anything
>>>>>>>>>>> really.
>>>>>>>>>>>
>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>
>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>> Csound
>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>> app has exited.
>>>>>>>>>>>
>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>> of
>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>> compiler,
>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>> wrote:
>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>
>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>> Steven
>>>>>>>>>>>>
>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>
>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>> >
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Michael Gogins
>>>>>>>>>> Irreducible Productions
>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 13:10
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I've just discovered that none of the problems I've reported occur
when QuteCsound's "run csound in separate thread" is unchecked.  The
fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
working between runs.  I feel like I'm getting close to figuring this
out now.  More news as events warrant =)

Cheers,
~ andy.f



On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
 wrote:
> I've been testing using the one from the installer.  I'll test again
> using my debug build soon.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>  wrote:
>> Is your QuteCsound the one from the latest Csound installer or one you
>> already had?
>>
>> Regards,
>> Mike
>>
>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>  wrote:
>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>> and widgets plugins.
>>>
>>> The main difference between my app and QuteCsound is that I'm linking
>>> to Csound's C api at runtime and I'm not using the C++ api for
>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>
>>> Regardless, my app is now working flawlessly with the default Csound
>>> install for Windows "out of the box".  This makes me very happy and
>>> thankful for all the work put into making it possible.  Hopefully, the
>>> app I've been working on will reach the beta-testing phase soon.
>>> Thanks again, Michael!
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>  wrote:
>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>  wrote:
>>>>> When looking up the email address of asio4all's developer, I
>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>
>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>
>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>> out of the box without having to add that variable to the system
>>>>> environment during installation, or having to tell users to move
>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>  wrote:
>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>> dw2.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>> try a different version.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>> different version of it?
>>>>>>>>
>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>
>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>
>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>> 0x7c91b1fa
>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>> reproduce the problem is ...
>>>>>>>>>
>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>> 3) Close app.
>>>>>>>>>
>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>
>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>> my end first.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>> sequence of actions?
>>>>>>>>>>
>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>
>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>> this.
>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>
>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>> debug
>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Mike
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>
>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>> unloaded,
>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>> anything
>>>>>>>>>>>> really.
>>>>>>>>>>>>
>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>
>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>> Csound
>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>
>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>> of
>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>> compiler,
>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>> >
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Michael Gogins
>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Michael Gogins
>>>>>>>>>> Irreducible Productions
>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 14:11
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I may have found the problem, but it will take some time to fix things
in QuteCsound so I know for sure.  QCS is not allocating enough space
for strings when the string contains a "\" character in it (like
directory separators on windows).  When the length of a QString is
reported as 31 and the space for the strcpy is allocated as 31 + 1 it
would be fine except that when the QString is converted to a const
char pointer extra "\" are added before each existing "\" to escape
them, thus causing the string's length to be larger than 31 + 1.  This
is occurring in many places in QCS and is almost certainly the cause
of the reported issues.

Cheers,
~ andy.f



On Mon, Sep 13, 2010 at 8:10 AM, andy fillebrown
 wrote:
> I've just discovered that none of the problems I've reported occur
> when QuteCsound's "run csound in separate thread" is unchecked.  The
> fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
> working between runs.  I feel like I'm getting close to figuring this
> out now.  More news as events warrant =)
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
>  wrote:
>> I've been testing using the one from the installer.  I'll test again
>> using my debug build soon.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>>  wrote:
>>> Is your QuteCsound the one from the latest Csound installer or one you
>>> already had?
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>>  wrote:
>>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>>> and widgets plugins.
>>>>
>>>> The main difference between my app and QuteCsound is that I'm linking
>>>> to Csound's C api at runtime and I'm not using the C++ api for
>>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>>
>>>> Regardless, my app is now working flawlessly with the default Csound
>>>> install for Windows "out of the box".  This makes me very happy and
>>>> thankful for all the work put into making it possible.  Hopefully, the
>>>> app I've been working on will reach the beta-testing phase soon.
>>>> Thanks again, Michael!
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>>  wrote:
>>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>>  wrote:
>>>>>> When looking up the email address of asio4all's developer, I
>>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>>
>>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>>
>>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>>> out of the box without having to add that variable to the system
>>>>>> environment during installation, or having to tell users to move
>>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>>> dw2.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>>> try a different version.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>>> different version of it?
>>>>>>>>>
>>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>>
>>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>>
>>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>>> 0x7c91b1fa
>>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>>> reproduce the problem is ...
>>>>>>>>>>
>>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>>> 3) Close app.
>>>>>>>>>>
>>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>>
>>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>>> my end first.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>>> sequence of actions?
>>>>>>>>>>>
>>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>>
>>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Mike
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>>> this.
>>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>>
>>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>>> debug
>>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Mike
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>>> unloaded,
>>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>>> anything
>>>>>>>>>>>>> really.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>>> Csound
>>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>>> of
>>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>>> compiler,
>>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>>> >
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Michael Gogins
>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 14:24
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Hi,

I'm not sure this is the problem. Can you point to a particular line
where this happens?

Why does it not happen before the first Csound run?

Cheers,
Andrés

On Mon, Sep 13, 2010 at 2:11 PM, andy fillebrown
 wrote:
> I may have found the problem, but it will take some time to fix things
> in QuteCsound so I know for sure.  QCS is not allocating enough space
> for strings when the string contains a "\" character in it (like
> directory separators on windows).  When the length of a QString is
> reported as 31 and the space for the strcpy is allocated as 31 + 1 it
> would be fine except that when the QString is converted to a const
> char pointer extra "\" are added before each existing "\" to escape
> them, thus causing the string's length to be larger than 31 + 1.  This
> is occurring in many places in QCS and is almost certainly the cause
> of the reported issues.
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 13, 2010 at 8:10 AM, andy fillebrown
>  wrote:
>> I've just discovered that none of the problems I've reported occur
>> when QuteCsound's "run csound in separate thread" is unchecked.  The
>> fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
>> working between runs.  I feel like I'm getting close to figuring this
>> out now.  More news as events warrant =)
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
>>  wrote:
>>> I've been testing using the one from the installer.  I'll test again
>>> using my debug build soon.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>>>  wrote:
>>>> Is your QuteCsound the one from the latest Csound installer or one you
>>>> already had?
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>>>  wrote:
>>>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>>>> and widgets plugins.
>>>>>
>>>>> The main difference between my app and QuteCsound is that I'm linking
>>>>> to Csound's C api at runtime and I'm not using the C++ api for
>>>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>>>
>>>>> Regardless, my app is now working flawlessly with the default Csound
>>>>> install for Windows "out of the box".  This makes me very happy and
>>>>> thankful for all the work put into making it possible.  Hopefully, the
>>>>> app I've been working on will reach the beta-testing phase soon.
>>>>> Thanks again, Michael!
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>>>  wrote:
>>>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> When looking up the email address of asio4all's developer, I
>>>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>>>
>>>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>>>
>>>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>>>> out of the box without having to add that variable to the system
>>>>>>> environment during installation, or having to tell users to move
>>>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>>>> dw2.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>>>> try a different version.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>>>> different version of it?
>>>>>>>>>>
>>>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>>>
>>>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>>>
>>>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>>>> 0x7c91b1fa
>>>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>>>> reproduce the problem is ...
>>>>>>>>>>>
>>>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>>>> 3) Close app.
>>>>>>>>>>>
>>>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>>>
>>>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>>>> my end first.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>>>> sequence of actions?
>>>>>>>>>>>>
>>>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>>>
>>>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Mike
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>>>> this.
>>>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>>>> debug
>>>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>>>> unloaded,
>>>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>>>> anything
>>>>>>>>>>>>>> really.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>>>> Csound
>>>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>>>> of
>>>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>>>> compiler,
>>>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound

Date2010-09-13 15:59
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Hi Andres,

I'm not sure it's the problem either, but it's a distinct possibility
and it fits the symptoms.  One example is in csoundoptions.cpp at line
114 and 115:

114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
115  strcpy(argv[index++],fileName1.toLocal8Bit());

If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
the array pointed to by argv[index] is allocated 16 bytes.  At line
115 the string returned by fileName1.toLocal8Bit() is
C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
terminator).  This results in strcpy overrunning the array pointed to
by.argv[index] by two bytes.

As to why the crashes don't occur until the first Csound run; I don't
know.  It could be that there are no strcpy calls being made on
strings with a backslash in them yet, or it could be that the buffer
overrun is not writing over anything important until a Csound run is
made.  The strcpy call could be writing over a critical variable, a
function pointer, a virtual table ...it could be anything, afaik.

The reason I started looking at the string allocations in the first
place was because after I commented out the calls to pt->Join and
delete pt in CsoundEngine::stopCsound(), I started getting weird
crashes everywhere in random opcodes, with a few of them saying there
was a heap block error when freeing.memory.  Since I've run into this
in my own code in the past and traced it back to buffer overruns, I
decided to take a detailed look at the more "dangerous" string
allocations in qcs.  After discovering the buffer overruns, I assumed
it is the problem.  I won't know for sure until all the buffer
overruns are fixed, though.

Currently, this is my best guess, so when the qcs trunk is working
again I'll start fixing the string allocations unless someone comes up
with a more plausible explanation before then.  If it does turn out to
be the problem, and qcs becomes stable on windows with the
out-of-the-box csound install, I'm going to hold a short funeral for
the bug I've come to know and love, followed by a huge "death to the
bug" college-style blowout party.  Friend me on facebook if you want
to see the pics.  You're all invited, of course =)

Cheers,
~ andy.f



On Mon, Sep 13, 2010 at 9:24 AM, Andres Cabrera  wrote:
> Hi,
>
> I'm not sure this is the problem. Can you point to a particular line
> where this happens?
>
> Why does it not happen before the first Csound run?
>
> Cheers,
> Andrés
>
> On Mon, Sep 13, 2010 at 2:11 PM, andy fillebrown
>  wrote:
>> I may have found the problem, but it will take some time to fix things
>> in QuteCsound so I know for sure.  QCS is not allocating enough space
>> for strings when the string contains a "\" character in it (like
>> directory separators on windows).  When the length of a QString is
>> reported as 31 and the space for the strcpy is allocated as 31 + 1 it
>> would be fine except that when the QString is converted to a const
>> char pointer extra "\" are added before each existing "\" to escape
>> them, thus causing the string's length to be larger than 31 + 1.  This
>> is occurring in many places in QCS and is almost certainly the cause
>> of the reported issues.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 13, 2010 at 8:10 AM, andy fillebrown
>>  wrote:
>>> I've just discovered that none of the problems I've reported occur
>>> when QuteCsound's "run csound in separate thread" is unchecked.  The
>>> fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
>>> working between runs.  I feel like I'm getting close to figuring this
>>> out now.  More news as events warrant =)
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
>>>  wrote:
>>>> I've been testing using the one from the installer.  I'll test again
>>>> using my debug build soon.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>>>>  wrote:
>>>>> Is your QuteCsound the one from the latest Csound installer or one you
>>>>> already had?
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>>>>  wrote:
>>>>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>>>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>>>>> and widgets plugins.
>>>>>>
>>>>>> The main difference between my app and QuteCsound is that I'm linking
>>>>>> to Csound's C api at runtime and I'm not using the C++ api for
>>>>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>>>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>>>>
>>>>>> Regardless, my app is now working flawlessly with the default Csound
>>>>>> install for Windows "out of the box".  This makes me very happy and
>>>>>> thankful for all the work put into making it possible.  Hopefully, the
>>>>>> app I've been working on will reach the beta-testing phase soon.
>>>>>> Thanks again, Michael!
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> When looking up the email address of asio4all's developer, I
>>>>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>>>>
>>>>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>>>>
>>>>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>>>>> out of the box without having to add that variable to the system
>>>>>>>> environment during installation, or having to tell users to move
>>>>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>>>>> dw2.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>>>>> try a different version.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>>>>  wrote:
>>>>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>>>>> different version of it?
>>>>>>>>>>>
>>>>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>>>>
>>>>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>>>>
>>>>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>>>>> 0x7c91b1fa
>>>>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>>>>> reproduce the problem is ...
>>>>>>>>>>>>
>>>>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>>>>> 3) Close app.
>>>>>>>>>>>>
>>>>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>>>>
>>>>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>>>>> my end first.
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>>>>> sequence of actions?
>>>>>>>>>>>>>
>>>>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>>>>> debug
>>>>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>>>>> unloaded,
>>>>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>>>>> anything
>>>>>>>>>>>>>>> really.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>>>>> Csound
>>>>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>>>>> compiler,
>>>>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 16:36
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Oh dear! What a nasty bug...

Not sure if this will fix the clipboard issue, but it certainly
shoudn't be like it currently is...

I've now fixed the build so that we can look at this.

Cheers,
Andrés

On Mon, Sep 13, 2010 at 3:59 PM, andy fillebrown
 wrote:
> Hi Andres,
>
> I'm not sure it's the problem either, but it's a distinct possibility
> and it fits the symptoms.  One example is in csoundoptions.cpp at line
> 114 and 115:
>
> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>
> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
> the array pointed to by argv[index] is allocated 16 bytes.  At line
> 115 the string returned by fileName1.toLocal8Bit() is
> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
> terminator).  This results in strcpy overrunning the array pointed to
> by.argv[index] by two bytes.
>
> As to why the crashes don't occur until the first Csound run; I don't
> know.  It could be that there are no strcpy calls being made on
> strings with a backslash in them yet, or it could be that the buffer
> overrun is not writing over anything important until a Csound run is
> made.  The strcpy call could be writing over a critical variable, a
> function pointer, a virtual table ...it could be anything, afaik.
>
> The reason I started looking at the string allocations in the first
> place was because after I commented out the calls to pt->Join and
> delete pt in CsoundEngine::stopCsound(), I started getting weird
> crashes everywhere in random opcodes, with a few of them saying there
> was a heap block error when freeing.memory.  Since I've run into this
> in my own code in the past and traced it back to buffer overruns, I
> decided to take a detailed look at the more "dangerous" string
> allocations in qcs.  After discovering the buffer overruns, I assumed
> it is the problem.  I won't know for sure until all the buffer
> overruns are fixed, though.
>
> Currently, this is my best guess, so when the qcs trunk is working
> again I'll start fixing the string allocations unless someone comes up
> with a more plausible explanation before then.  If it does turn out to
> be the problem, and qcs becomes stable on windows with the
> out-of-the-box csound install, I'm going to hold a short funeral for
> the bug I've come to know and love, followed by a huge "death to the
> bug" college-style blowout party.  Friend me on facebook if you want
> to see the pics.  You're all invited, of course =)
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 13, 2010 at 9:24 AM, Andres Cabrera  wrote:
>> Hi,
>>
>> I'm not sure this is the problem. Can you point to a particular line
>> where this happens?
>>
>> Why does it not happen before the first Csound run?
>>
>> Cheers,
>> Andrés
>>
>> On Mon, Sep 13, 2010 at 2:11 PM, andy fillebrown
>>  wrote:
>>> I may have found the problem, but it will take some time to fix things
>>> in QuteCsound so I know for sure.  QCS is not allocating enough space
>>> for strings when the string contains a "\" character in it (like
>>> directory separators on windows).  When the length of a QString is
>>> reported as 31 and the space for the strcpy is allocated as 31 + 1 it
>>> would be fine except that when the QString is converted to a const
>>> char pointer extra "\" are added before each existing "\" to escape
>>> them, thus causing the string's length to be larger than 31 + 1.  This
>>> is occurring in many places in QCS and is almost certainly the cause
>>> of the reported issues.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 13, 2010 at 8:10 AM, andy fillebrown
>>>  wrote:
>>>> I've just discovered that none of the problems I've reported occur
>>>> when QuteCsound's "run csound in separate thread" is unchecked.  The
>>>> fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
>>>> working between runs.  I feel like I'm getting close to figuring this
>>>> out now.  More news as events warrant =)
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
>>>>  wrote:
>>>>> I've been testing using the one from the installer.  I'll test again
>>>>> using my debug build soon.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>>>>>  wrote:
>>>>>> Is your QuteCsound the one from the latest Csound installer or one you
>>>>>> already had?
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>>>>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>>>>>> and widgets plugins.
>>>>>>>
>>>>>>> The main difference between my app and QuteCsound is that I'm linking
>>>>>>> to Csound's C api at runtime and I'm not using the C++ api for
>>>>>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>>>>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>>>>>
>>>>>>> Regardless, my app is now working flawlessly with the default Csound
>>>>>>> install for Windows "out of the box".  This makes me very happy and
>>>>>>> thankful for all the work put into making it possible.  Hopefully, the
>>>>>>> app I've been working on will reach the beta-testing phase soon.
>>>>>>> Thanks again, Michael!
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> When looking up the email address of asio4all's developer, I
>>>>>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>>>>>
>>>>>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>>>>>
>>>>>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>>>>>> out of the box without having to add that variable to the system
>>>>>>>>> environment during installation, or having to tell users to move
>>>>>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>>>>>> dw2.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>>>>>  wrote:
>>>>>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>>>>>> try a different version.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>>>>>> different version of it?
>>>>>>>>>>>>
>>>>>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>>>>>
>>>>>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>>>>>> 0x7c91b1fa
>>>>>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>>>>>> reproduce the problem is ...
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>>>>>> 3) Close app.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>>>>>> my end first.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>>>>>> sequence of actions?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>>>>>> debug
>>>>>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>>>>>> unloaded,
>>>>>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>>>>>> anything
>>>>>>>>>>>>>>>> really.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>>>>>> Csound
>>>>>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>>>>>> compiler,
>>>>>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Michael Gogins
>>>>>>>>>> Irreducible Productions
>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2010-09-13 18:31
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I fixed the string issues and it didn't help.  I tore the CsoundEngine
class down to bare minimum and it didn't help.  I tried making the
temporary csd file a permanent file and it didn't help.  Bug 3, andy 0
...the bug wins again.  I'm done for the day =(

If anyone else would like to take a crack at it, the process I'm using
to repeat the crash goes like this...

1) Start QuteCsound.
2) Open the additive synth example
3) Run csound (internally, using threads)
4) Stop csound
5) Wait a few seconds for QuteCsound to crash somewhere useless like
deep in the windows GetDC function.
6) Scratch head
7) Pray
8) Make some random changes to the qcs source
9) Try again

The question remains.  Why does qcs work when running csound in the
same thread, but crash when running in a separate thread?

Cheers,
~ andy.f

p.s. If this turns out to be a QTimer calling on a dangling pointer
again, Andres will never hear the end of it =)



On Mon, Sep 13, 2010 at 11:36 AM, Andres Cabrera  wrote:
> Oh dear! What a nasty bug...
>
> Not sure if this will fix the clipboard issue, but it certainly
> shoudn't be like it currently is...
>
> I've now fixed the build so that we can look at this.
>
> Cheers,
> Andrés
>
> On Mon, Sep 13, 2010 at 3:59 PM, andy fillebrown
>  wrote:
>> Hi Andres,
>>
>> I'm not sure it's the problem either, but it's a distinct possibility
>> and it fits the symptoms.  One example is in csoundoptions.cpp at line
>> 114 and 115:
>>
>> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
>> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>>
>> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
>> the array pointed to by argv[index] is allocated 16 bytes.  At line
>> 115 the string returned by fileName1.toLocal8Bit() is
>> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
>> terminator).  This results in strcpy overrunning the array pointed to
>> by.argv[index] by two bytes.
>>
>> As to why the crashes don't occur until the first Csound run; I don't
>> know.  It could be that there are no strcpy calls being made on
>> strings with a backslash in them yet, or it could be that the buffer
>> overrun is not writing over anything important until a Csound run is
>> made.  The strcpy call could be writing over a critical variable, a
>> function pointer, a virtual table ...it could be anything, afaik.
>>
>> The reason I started looking at the string allocations in the first
>> place was because after I commented out the calls to pt->Join and
>> delete pt in CsoundEngine::stopCsound(), I started getting weird
>> crashes everywhere in random opcodes, with a few of them saying there
>> was a heap block error when freeing.memory.  Since I've run into this
>> in my own code in the past and traced it back to buffer overruns, I
>> decided to take a detailed look at the more "dangerous" string
>> allocations in qcs.  After discovering the buffer overruns, I assumed
>> it is the problem.  I won't know for sure until all the buffer
>> overruns are fixed, though.
>>
>> Currently, this is my best guess, so when the qcs trunk is working
>> again I'll start fixing the string allocations unless someone comes up
>> with a more plausible explanation before then.  If it does turn out to
>> be the problem, and qcs becomes stable on windows with the
>> out-of-the-box csound install, I'm going to hold a short funeral for
>> the bug I've come to know and love, followed by a huge "death to the
>> bug" college-style blowout party.  Friend me on facebook if you want
>> to see the pics.  You're all invited, of course =)
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 13, 2010 at 9:24 AM, Andres Cabrera  wrote:
>>> Hi,
>>>
>>> I'm not sure this is the problem. Can you point to a particular line
>>> where this happens?
>>>
>>> Why does it not happen before the first Csound run?
>>>
>>> Cheers,
>>> Andrés
>>>
>>> On Mon, Sep 13, 2010 at 2:11 PM, andy fillebrown
>>>  wrote:
>>>> I may have found the problem, but it will take some time to fix things
>>>> in QuteCsound so I know for sure.  QCS is not allocating enough space
>>>> for strings when the string contains a "\" character in it (like
>>>> directory separators on windows).  When the length of a QString is
>>>> reported as 31 and the space for the strcpy is allocated as 31 + 1 it
>>>> would be fine except that when the QString is converted to a const
>>>> char pointer extra "\" are added before each existing "\" to escape
>>>> them, thus causing the string's length to be larger than 31 + 1.  This
>>>> is occurring in many places in QCS and is almost certainly the cause
>>>> of the reported issues.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 13, 2010 at 8:10 AM, andy fillebrown
>>>>  wrote:
>>>>> I've just discovered that none of the problems I've reported occur
>>>>> when QuteCsound's "run csound in separate thread" is unchecked.  The
>>>>> fluidOpcodes.dll does not crash QuteCsound, and copy/paste stays
>>>>> working between runs.  I feel like I'm getting close to figuring this
>>>>> out now.  More news as events warrant =)
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Sep 13, 2010 at 3:15 AM, andy fillebrown
>>>>>  wrote:
>>>>>> I've been testing using the one from the installer.  I'll test again
>>>>>> using my debug build soon.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 12, 2010 at 11:49 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> Is your QuteCsound the one from the latest Csound installer or one you
>>>>>>> already had?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Sun, Sep 12, 2010 at 9:20 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Interestingly, my app is not experiencing the copy/paste issue anymore
>>>>>>>> but QuteCsound is still having trouble with the fluidOpcodes, virtual,
>>>>>>>> and widgets plugins.
>>>>>>>>
>>>>>>>> The main difference between my app and QuteCsound is that I'm linking
>>>>>>>> to Csound's C api at runtime and I'm not using the C++ api for
>>>>>>>> multi-threaded playback (I'm only using csound64.dll.5.2).  This has
>>>>>>>> me thinking the issue may be in QuteCsound or in csnd.dll.
>>>>>>>>
>>>>>>>> Regardless, my app is now working flawlessly with the default Csound
>>>>>>>> install for Windows "out of the box".  This makes me very happy and
>>>>>>>> thankful for all the work put into making it possible.  Hopefully, the
>>>>>>>> app I've been working on will reach the beta-testing phase soon.
>>>>>>>> Thanks again, Michael!
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Sep 12, 2010 at 7:36 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> It's not noise at all and no problem at all. Keep up the good work.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Sun, Sep 12, 2010 at 7:12 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> When looking up the email address of asio4all's developer, I
>>>>>>>>>> discovered a newer release that does not crash.  Problem solved.
>>>>>>>>>>
>>>>>>>>>> Sorry for the noise, but it helps me figure things out when I get stuck.
>>>>>>>>>>
>>>>>>>>>> I'll recheck the fluidOpcodes.dll issue on QuteCsound tomorrow, but it
>>>>>>>>>> looks like the only issue remaining for me is the fltk opcodes, which
>>>>>>>>>> isn't a big deal imo.  The workaround is not difficult.  I do wish
>>>>>>>>>> that the CS_OMIT_LIBS environment variable worked when using
>>>>>>>>>> csoundSetGlobalEnv, though, that way we could get QuteCsound to work
>>>>>>>>>> out of the box without having to add that variable to the system
>>>>>>>>>> environment during installation, or having to tell users to move
>>>>>>>>>> virtual.dll and widgets.dll out of their plugins directory.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 12, 2010 at 6:35 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> That is probably the cause. See if you can find what compiler built
>>>>>>>>>>> asio4all. If it's MinGW sjlj it probably will not work with our MinGW
>>>>>>>>>>> dw2.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Mike
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:32 PM, andy fillebrown
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> Portuaudio is linked statically in rtpa.dll now.  I'm not sure I can
>>>>>>>>>>>> try a different version.
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:18 PM, Victor Lazzarini
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>> As far as C code is concerned, rtpa.c has not changed for a while.
>>>>>>>>>>>>> However, portaudio itself is constantly updated. Have you tried with a
>>>>>>>>>>>>> different version of it?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 12 Sep 2010, at 23:08, andy fillebrown wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> The rtpa.dll problem is showing up in a separate app I'm working on (I
>>>>>>>>>>>>>> will test in QuteCsound tomorrow), so it may be something I'm doing
>>>>>>>>>>>>>> wrong on my end.  Here's a stack dump ...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 0     ntdll!RtlpWaitForCriticalSection        C:\WINDOWS\system32\ntdll.dll   0
>>>>>>>>>>>>>> 0x7c91b1fa
>>>>>>>>>>>>>> 1     ntdll!RtlEnumerateGenericTableLikeADirectory    C:\WINDOWS
>>>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c901046
>>>>>>>>>>>>>> 2     ??              0       0x0001bfb8
>>>>>>>>>>>>>> 3     ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e011097
>>>>>>>>>>>>>> 4     asio4all!RWDEFQuitPanelApp      C:\Program Files\ASIO4ALL
>>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e01bfb8
>>>>>>>>>>>>>> 5     ??              0       0x0022fb84
>>>>>>>>>>>>>> 6     ??              0       0x0022fb40
>>>>>>>>>>>>>> 7     ??              0       0x0022fb4c
>>>>>>>>>>>>>> 8     ??              0       0x0022fb28
>>>>>>>>>>>>>> 9     asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e0195fb
>>>>>>>>>>>>>> 10    ??              0       0x0022fc18
>>>>>>>>>>>>>> 11    ??              0       0x00349228
>>>>>>>>>>>>>> 12    ??              0       0x00349228
>>>>>>>>>>>>>> 13    ??      C:\Program Files\ASIO4ALL v2\asio4all.dll       0       0x0e016fe3
>>>>>>>>>>>>>> 14    asio4all!DllUnregisterServer    C:\Program Files\ASIO4ALL
>>>>>>>>>>>>>> v2\asio4all.dll       0       0x0e019637
>>>>>>>>>>>>>> 15    ntdll!LdrSetAppCompatDllRedirectionCallback     C:\WINDOWS
>>>>>>>>>>>>>> \system32\ntdll.dll   0       0x7c90118a
>>>>>>>>>>>>>> 16    ??              0       0x0e010000
>>>>>>>>>>>>>> 17    ??              0       0x00000000
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This is occurring on both winxp and win7.  The sequence of events that
>>>>>>>>>>>>>> reproduce the problem is ...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 1) Start app using .csoundrc containing -+rtaudio=pa
>>>>>>>>>>>>>> 2) Run and stop playback at least once.
>>>>>>>>>>>>>> 3) Close app.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The segfault occurs after the app's main function has returned.
>>>>>>>>>>>>>> There are no issues when using -+rtaudio=winmm in .csoundrc.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Again, this may be happening because I'm doing something wrong, so
>>>>>>>>>>>>>> don't worry about it too much, yet.  I'd like to look into it more on
>>>>>>>>>>>>>> my end first.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 5:03 PM, Michael Gogins
>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>> I need more info on your rtpa.dll problem. What's the OS, host app,
>>>>>>>>>>>>>>> sequence of actions?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I don't have any problems with using PortAudio (that's the rtpa.dll)
>>>>>>>>>>>>>>> in QuteCsound on Windows 7 with Csound 5.12, latest build. Are your
>>>>>>>>>>>>>>> problems with standalone Csound?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'm going to look at the clipboard problem now.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 4:48 PM, Michael Gogins
>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>> For fluidOpcodes.dll, you could try running depends.exe on it to see
>>>>>>>>>>>>>>>> what other DLL it needs to load. Google for depends.exe to find out
>>>>>>>>>>>>>>>> where to download it if you don't have it. Maybe you already did
>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>> I don't have this problem so I can't debug it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> For the clipboard problem and the crash on exit problem, I will
>>>>>>>>>>>>>>>> debug
>>>>>>>>>>>>>>>> them on Windows if I have them.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:59 PM, andy fillebrown
>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>> There are 3 separate problems, now.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 1) When the fltk plugins (virtual.dll and widgets.dll) are
>>>>>>>>>>>>>>>>> unloaded,
>>>>>>>>>>>>>>>>> the system clipboard can no longer be written to in Qt based apps.
>>>>>>>>>>>>>>>>> This problem appears to be a threading issue, but it could be
>>>>>>>>>>>>>>>>> anything
>>>>>>>>>>>>>>>>> really.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2) The fluidOpcodes.dll plugin does not load.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 3) I'm now having problems with the rtpa.dll plugin following
>>>>>>>>>>>>>>>>> Csound
>>>>>>>>>>>>>>>>> cleanup, which manifests as a segfault from ASIO4All after the host
>>>>>>>>>>>>>>>>> app has exited.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've been working on windows for a while, and I've seen all kinds
>>>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>>> strange things happen when there are .dll incompatibilities.
>>>>>>>>>>>>>>>>> Unfortunately, other than building everything with the same
>>>>>>>>>>>>>>>>> compiler,
>>>>>>>>>>>>>>>>> I have no idea how to debug or avoid those kinds of issues.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:42 PM, Steven Yi 
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Hi Andy,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Could you reiterate the problem you're having again? I don't quite
>>>>>>>>>>>>>>>>>> remember what the exact issue was (crash on load, unload, etc.)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>> Steven
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 9/12/10, andy fillebrown  wrote:
>>>>>>>>>>>>>>>>>>> That may be, but I'm having issues with fluidOpcodes.dll, and now
>>>>>>>>>>>>>>>>>>> rtpa.dll, as well.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ~ af
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 3:22 AM, Andres Cabrera >>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I suspect it has more to do with FLTK threading. And it's
>>>>>>>>>>>>>>>>>>>> probably not
>>>>>>>>>>>>>>>>>>>> libsndfile, otherwise it wouldn't manifest itself only on the
>>>>>>>>>>>>>>>>>>>> fltk
>>>>>>>>>>>>>>>>>>>> related plugins only.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Sun, Sep 12, 2010 at 6:08 AM, andy fillebrown
>>>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>>>> ...just thinking out loud, but the the problem may stem from
>>>>>>>>>>>>>>>>>>>>> libsndfile-1.dll.  It looks as though it was built with an msvc
>>>>>>>>>>>>>>>>>>>>> compiler (maybe msvc6).  Could this be causing the issues
>>>>>>>>>>>>>>>>>>>>> with the
>>>>>>>>>>>>>>>>>>>>> plugins?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Thu, Sep 9, 2010 at 1:10 PM, andy fillebrown
>>>>>>>>>>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>>>>>>>>>>> I'm sorry to keep bringing it up, but the fluidOpcodes,
>>>>>>>>>>>>>>>>>>>>>> virtual, and
>>>>>>>>>>>>>>>>>>>>>> widget plugins are still problematic for me on both WinXP
>>>>>>>>>>>>>>>>>>>>>> and Win7
>>>>>>>>>>>>>>>>>>>>>> when using QuteCsound.  Should I just file a bug report and
>>>>>>>>>>>>>>>>>>>>>> be done
>>>>>>>>>>>>>>>>>>>>>> with it or is there something I can do to track down the
>>>>>>>>>>>>>>>>>>>>>> problem in
>>>>>>>>>>>>>>>>>>>>>> hopes of figuring it out?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Andrés
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Sent from my mobile device
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Michael Gogins
>>>>>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Michael Gogins
>>>>>>>>>>> Irreducible Productions
>>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 19:27
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem plugins
that would explain the fact that it only happens on Windows... curse  
the day Microsoft chose the backslash as file separator. I've seen so  
many of these silly bugs...

On 13 Sep 2010, at 16:36, Andres Cabrera wrote:

>> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
>> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>>
>> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
>> the array pointed to by argv[index] is allocated 16 bytes.  At line
>> 115 the string returned by fileName1.toLocal8Bit() is
>> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
>> terminator).  This results in strcpy overrunning the array pointed to
>> by.argv[index] by two bytes.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 19:52
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Unfortunately, it seems it was not the bug I was looking for.  I'm
still stumped.

~ af



On Mon, Sep 13, 2010 at 2:27 PM, Victor Lazzarini
 wrote:
> that would explain the fact that it only happens on Windows... curse
> the day Microsoft chose the backslash as file separator. I've seen so
> many of these silly bugs...
>
> On 13 Sep 2010, at 16:36, Andres Cabrera wrote:
>
>>> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
>>> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>>>
>>> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
>>> the array pointed to by argv[index] is allocated 16 bytes.  At line
>>> 115 the string returned by fileName1.toLocal8Bit() is
>>> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
>>> terminator).  This results in strcpy overrunning the array pointed to
>>> by.argv[index] by two bytes.
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 20:12
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
Perhaps thread-local variables, probably in some third party library.
Does Qt itself use thread-local variables? I know that some Microsoft
MFC classes do.

On a more hopeful note, this probably is happening because Csound or
QuteCsound is not cleaning up after a run properly, or cleans up in
the wrong order, or in the wrong thread, or something.

Regards,
Mike


On Mon, Sep 13, 2010 at 2:52 PM, andy fillebrown
 wrote:
> Unfortunately, it seems it was not the bug I was looking for.  I'm
> still stumped.
>
> ~ af
>
>
>
> On Mon, Sep 13, 2010 at 2:27 PM, Victor Lazzarini
>  wrote:
>> that would explain the fact that it only happens on Windows... curse
>> the day Microsoft chose the backslash as file separator. I've seen so
>> many of these silly bugs...
>>
>> On 13 Sep 2010, at 16:36, Andres Cabrera wrote:
>>
>>>> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
>>>> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>>>>
>>>> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
>>>> the array pointed to by argv[index] is allocated 16 bytes.  At line
>>>> 115 the string returned by fileName1.toLocal8Bit() is
>>>> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
>>>> terminator).  This results in strcpy overrunning the array pointed to
>>>> by.argv[index] by two bytes.
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-13 23:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem plugins
Thread-safety issues?

On 13 Sep 2010, at 18:31, andy fillebrown wrote:

> The question remains.  Why does qcs work when running csound in the
> same thread, but crash when running in a separate thread?


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-14 15:45
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I created a test case that fails the same way.

#include 
#include 
#include 
#include 
#include 
#include 

#define TEST_CSD "C:/Program Files/Csound/examples/trapped.csd"

class MainWindow : public QMainWindow
{
	Q_OBJECT;

public:
	MainWindow()
		:	menu(0)
		,	playAction(0)
		,	stopAction(0)
		,	csound(0)
		,	thread(0)
	{
		menu = new QMenu("Test", this);
		menuBar()->addMenu(menu);

		playAction = new QAction("Play", this);
		stopAction = new QAction("Stop", this);
		menu->addAction(playAction);
		menu->addAction(stopAction);
		connect(playAction, SIGNAL(triggered()), SLOT(on_play()));
		connect(stopAction, SIGNAL(triggered()), SLOT(on_stop()));

		int result = csoundInitialize(0, 0, 0);
		if (result < 0)
			qDebug() << "Csound initialization failed:  result ==" << result;

		show();
	}

	virtual ~MainWindow()
	{
	}

public slots:
	void on_play()
	{
		csound = csoundCreate(0);
		if (!csound)
		{
			qDebug() << "Csound creation failed";
			return;
		}

		char arg1[] = "csound";
		char arg2[] = "-odac";
		char arg3[] = TEST_CSD;
		char *argv[] = { arg1, arg2, arg3 };
		int result = csoundCompile(csound, 3, argv);
		if (result != CSOUND_SUCCESS)
		{
			qDebug() << "Csound compile failed:  result ==" << result;
			return;
		}

		thread = new CsoundPerformanceThread(csound);
		thread->Play();
	}

	void on_stop()
	{
		if (thread)
		{
			thread->Stop();
			thread->Join();
			delete thread;
			thread = 0;
		}

		if (csound)
			csoundDestroy(csound);
	}

private:
	QMenu *menu;
	QAction *playAction;
	QAction *stopAction;
	CSOUND *csound;
	CsoundPerformanceThread *thread;
};

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-14 16:01
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Hi Andy,

Thanks for the thorough investigation. I'm glad it's not a QTimer...

So do you mean the code you posted will crash seconds after Csound is stopped?

Cheers,
Andrés

On Tue, Sep 14, 2010 at 3:45 PM, andy fillebrown
 wrote:
> I created a test case that fails the same way.
>
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
>
> #define TEST_CSD "C:/Program Files/Csound/examples/trapped.csd"
>
> class MainWindow : public QMainWindow
> {
>        Q_OBJECT;
>
> public:
>        MainWindow()
>                :       menu(0)
>                ,       playAction(0)
>                ,       stopAction(0)
>                ,       csound(0)
>                ,       thread(0)
>        {
>                menu = new QMenu("Test", this);
>                menuBar()->addMenu(menu);
>
>                playAction = new QAction("Play", this);
>                stopAction = new QAction("Stop", this);
>                menu->addAction(playAction);
>                menu->addAction(stopAction);
>                connect(playAction, SIGNAL(triggered()), SLOT(on_play()));
>                connect(stopAction, SIGNAL(triggered()), SLOT(on_stop()));
>
>                int result = csoundInitialize(0, 0, 0);
>                if (result < 0)
>                        qDebug() << "Csound initialization failed:  result ==" << result;
>
>                show();
>        }
>
>        virtual ~MainWindow()
>        {
>        }
>
> public slots:
>        void on_play()
>        {
>                csound = csoundCreate(0);
>                if (!csound)
>                {
>                        qDebug() << "Csound creation failed";
>                        return;
>                }
>
>                char arg1[] = "csound";
>                char arg2[] = "-odac";
>                char arg3[] = TEST_CSD;
>                char *argv[] = { arg1, arg2, arg3 };
>                int result = csoundCompile(csound, 3, argv);
>                if (result != CSOUND_SUCCESS)
>                {
>                        qDebug() << "Csound compile failed:  result ==" << result;
>                        return;
>                }
>
>                thread = new CsoundPerformanceThread(csound);
>                thread->Play();
>        }
>
>        void on_stop()
>        {
>                if (thread)
>                {
>                        thread->Stop();
>                        thread->Join();
>                        delete thread;
>                        thread = 0;
>                }
>
>                if (csound)
>                        csoundDestroy(csound);
>        }
>
> private:
>        QMenu *menu;
>        QAction *playAction;
>        QAction *stopAction;
>        CSOUND *csound;
>        CsoundPerformanceThread *thread;
> };
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-dev

Date2010-09-14 16:09
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Yes.  The crash occurs after on_stop() has returned.  Sometimes it
crashes right away, but most of the time it takes a few seconds.



On Tue, Sep 14, 2010 at 11:01 AM, Andres Cabrera  wrote:
> Hi Andy,
>
> Thanks for the thorough investigation. I'm glad it's not a QTimer...
>
> So do you mean the code you posted will crash seconds after Csound is stopped?
>
> Cheers,
> Andrés
>
> On Tue, Sep 14, 2010 at 3:45 PM, andy fillebrown
>  wrote:
>> I created a test case that fails the same way.
>>
>> #include 
>> #include 
>> #include 
>> #include 
>> #include 
>> #include 
>>
>> #define TEST_CSD "C:/Program Files/Csound/examples/trapped.csd"
>>
>> class MainWindow : public QMainWindow
>> {
>>        Q_OBJECT;
>>
>> public:
>>        MainWindow()
>>                :       menu(0)
>>                ,       playAction(0)
>>                ,       stopAction(0)
>>                ,       csound(0)
>>                ,       thread(0)
>>        {
>>                menu = new QMenu("Test", this);
>>                menuBar()->addMenu(menu);
>>
>>                playAction = new QAction("Play", this);
>>                stopAction = new QAction("Stop", this);
>>                menu->addAction(playAction);
>>                menu->addAction(stopAction);
>>                connect(playAction, SIGNAL(triggered()), SLOT(on_play()));
>>                connect(stopAction, SIGNAL(triggered()), SLOT(on_stop()));
>>
>>                int result = csoundInitialize(0, 0, 0);
>>                if (result < 0)
>>                        qDebug() << "Csound initialization failed:  result ==" << result;
>>
>>                show();
>>        }
>>
>>        virtual ~MainWindow()
>>        {
>>        }
>>
>> public slots:
>>        void on_play()
>>        {
>>                csound = csoundCreate(0);
>>                if (!csound)
>>                {
>>                        qDebug() << "Csound creation failed";
>>                        return;
>>                }
>>
>>                char arg1[] = "csound";
>>                char arg2[] = "-odac";
>>                char arg3[] = TEST_CSD;
>>                char *argv[] = { arg1, arg2, arg3 };
>>                int result = csoundCompile(csound, 3, argv);
>>                if (result != CSOUND_SUCCESS)
>>                {
>>                        qDebug() << "Csound compile failed:  result ==" << result;
>>                        return;
>>                }
>>
>>                thread = new CsoundPerformanceThread(csound);
>>                thread->Play();
>>        }
>>
>>        void on_stop()
>>        {
>>                if (thread)
>>                {
>>                        thread->Stop();
>>                        thread->Join();
>>                        delete thread;
>>                        thread = 0;
>>                }
>>
>>                if (csound)
>>                        csoundDestroy(csound);
>>        }
>>
>> private:
>>        QMenu *menu;
>>        QAction *playAction;
>>        QAction *stopAction;
>>        CSOUND *csound;
>>        CsoundPerformanceThread *thread;
>> };
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-14 19:45
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I did a quick search on "Qt thread local" and found a bug report that
seems to indicate Qt does use thread local storage.
http://bugreports.qt.nokia.com/browse/QTBUG-9436

I'm not sure what the implications of thread local storage are but if
it was the problem, I'd expect to see it in my app, too.  The only
difference between my app and QuteCsound that seems like it would make
a difference is I'm not using CsoundPerformanceThread for threaded
playback.  I'm using a QThread and calling csoundPerformKsmps from it,
instead.

~ andy.f



On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
 wrote:
> Perhaps thread-local variables, probably in some third party library.
> Does Qt itself use thread-local variables? I know that some Microsoft
> MFC classes do.
>
> On a more hopeful note, this probably is happening because Csound or
> QuteCsound is not cleaning up after a run properly, or cleans up in
> the wrong order, or in the wrong thread, or something.
>
> Regards,
> Mike
>
>
> On Mon, Sep 13, 2010 at 2:52 PM, andy fillebrown
>  wrote:
>> Unfortunately, it seems it was not the bug I was looking for.  I'm
>> still stumped.
>>
>> ~ af
>>
>>
>>
>> On Mon, Sep 13, 2010 at 2:27 PM, Victor Lazzarini
>>  wrote:
>>> that would explain the fact that it only happens on Windows... curse
>>> the day Microsoft chose the backslash as file separator. I've seen so
>>> many of these silly bugs...
>>>
>>> On 13 Sep 2010, at 16:36, Andres Cabrera wrote:
>>>
>>>>> 114  argv[index] = (char *) calloc(fileName1.size()+1, sizeof(char));
>>>>> 115  strcpy(argv[index++],fileName1.toLocal8Bit());
>>>>>
>>>>> If fileName1 is C:\temp\xxx.csd then fileName1.size() returns 15, so
>>>>> the array pointed to by argv[index] is allocated 16 bytes.  At line
>>>>> 115 the string returned by fileName1.toLocal8Bit() is
>>>>> C:\\temp\\xxx.csd, which is 17 bytes (18 including the null
>>>>> terminator).  This results in strcpy overrunning the array pointed to
>>>>> by.argv[index] by two bytes.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-14 20:02
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
AttachmentsNone  None  

What happens if you do use csoudperformancethread?

MKG from cell phone

On Sep 14, 2010 2:46 PM, "andy fillebrown" <andy.fillebrown@gmail.com> wrote:

I did a quick search on "Qt thread local" and found a bug report that
seems to indicate Qt does use thread local storage.
http://bugreports.qt.nokia.com/browse/QTBUG-9436

I'm not sure what the implications of thread local storage are but if
it was the problem, I'd expect to see it in my app, too.  The only
difference between my app and QuteCsound that seems like it would make
a difference is I'm not using CsoundPerformanceThread for threaded
playback.  I'm using a QThread and calling csoundPerformKsmps from it,
instead.

~ andy.f



On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins

<michael.gogins@gmail.com> wrote:

> Perhaps thread-local variables, probably in some third party library.
> Does Qt itself use thread-...


Date2010-09-15 02:14
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Setting up to use CsoundPerformanceThread in my app will take some
time.  I'll see if I can get to it tomorrow.

What is the deal with the msvcrt.dll that comes with the Csound
install.  In all my testing I've never seen it load.  It's always the
much older version from my system32 directory that loads.

~ af



On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
 wrote:
> What happens if you do use csoudperformancethread?
>
> MKG from cell phone
>
> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
> wrote:
>
> I did a quick search on "Qt thread local" and found a bug report that
> seems to indicate Qt does use thread local storage.
> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>
> I'm not sure what the implications of thread local storage are but if
> it was the problem, I'd expect to see it in my app, too.  The only
> difference between my app and QuteCsound that seems like it would make
> a difference is I'm not using CsoundPerformanceThread for threaded
> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
> instead.
>
> ~ andy.f
>
>
>
> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>
>  wrote:
>
>> Perhaps thread-local variables, probably in some third party library.
>> Does Qt itself use thread-...
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-15 03:06
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
About DLL search order, this is complex and depends on Windows
version, configuration, etc. See
http://support.microsoft.com/kb/2389418.

Regards,
Mike

On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
 wrote:
> Setting up to use CsoundPerformanceThread in my app will take some
> time.  I'll see if I can get to it tomorrow.
>
> What is the deal with the msvcrt.dll that comes with the Csound
> install.  In all my testing I've never seen it load.  It's always the
> much older version from my system32 directory that loads.
>
> ~ af
>
>
>
> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>  wrote:
>> What happens if you do use csoudperformancethread?
>>
>> MKG from cell phone
>>
>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>> wrote:
>>
>> I did a quick search on "Qt thread local" and found a bug report that
>> seems to indicate Qt does use thread local storage.
>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>
>> I'm not sure what the implications of thread local storage are but if
>> it was the problem, I'd expect to see it in my app, too.  The only
>> difference between my app and QuteCsound that seems like it would make
>> a difference is I'm not using CsoundPerformanceThread for threaded
>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>> instead.
>>
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>
>>  wrote:
>>
>>> Perhaps thread-local variables, probably in some third party library.
>>> Does Qt itself use thread-...
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-15 03:51
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I can force winxp to attempt to load it but I don't have the libraries
kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
from win7?

~ af



On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
 wrote:
> About DLL search order, this is complex and depends on Windows
> version, configuration, etc. See
> http://support.microsoft.com/kb/2389418.
>
> Regards,
> Mike
>
> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>  wrote:
>> Setting up to use CsoundPerformanceThread in my app will take some
>> time.  I'll see if I can get to it tomorrow.
>>
>> What is the deal with the msvcrt.dll that comes with the Csound
>> install.  In all my testing I've never seen it load.  It's always the
>> much older version from my system32 directory that loads.
>>
>> ~ af
>>
>>
>>
>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>  wrote:
>>> What happens if you do use csoudperformancethread?
>>>
>>> MKG from cell phone
>>>
>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>> wrote:
>>>
>>> I did a quick search on "Qt thread local" and found a bug report that
>>> seems to indicate Qt does use thread local storage.
>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>
>>> I'm not sure what the implications of thread local storage are but if
>>> it was the problem, I'd expect to see it in my app, too.  The only
>>> difference between my app and QuteCsound that seems like it would make
>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>> instead.
>>>
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>
>>>  wrote:
>>>
>>>> Perhaps thread-local variables, probably in some third party library.
>>>> Does Qt itself use thread-...
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-15 04:33
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I profiled qutecsound using depends and it says I'm missing a few
libraries.  All of the implicit libraries are available, but some of
the delay-loaded ones are missing, apparently.

I don't know why msvcrt.dll is included in the installer package,
either, but it's got a lot of missing dependencies, too.

This is on winxp sp3.

~ af



On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
 wrote:
> I can force winxp to attempt to load it but I don't have the libraries
> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
> from win7?
>
> ~ af
>
>
>
> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>  wrote:
>> About DLL search order, this is complex and depends on Windows
>> version, configuration, etc. See
>> http://support.microsoft.com/kb/2389418.
>>
>> Regards,
>> Mike
>>
>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>  wrote:
>>> Setting up to use CsoundPerformanceThread in my app will take some
>>> time.  I'll see if I can get to it tomorrow.
>>>
>>> What is the deal with the msvcrt.dll that comes with the Csound
>>> install.  In all my testing I've never seen it load.  It's always the
>>> much older version from my system32 directory that loads.
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>  wrote:
>>>> What happens if you do use csoudperformancethread?
>>>>
>>>> MKG from cell phone
>>>>
>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>> wrote:
>>>>
>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>> seems to indicate Qt does use thread local storage.
>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>
>>>> I'm not sure what the implications of thread local storage are but if
>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>> difference between my app and QuteCsound that seems like it would make
>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>> instead.
>>>>
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>
>>>>  wrote:
>>>>
>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>> Does Qt itself use thread-...
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-15 05:35
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
does not crash, but exhibits the copy/paste issue.  Csound 5.11
crashes the same way 5.12 does.

Cheers,
~ andy.f



On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
 wrote:
> I profiled qutecsound using depends and it says I'm missing a few
> libraries.  All of the implicit libraries are available, but some of
> the delay-loaded ones are missing, apparently.
>
> I don't know why msvcrt.dll is included in the installer package,
> either, but it's got a lot of missing dependencies, too.
>
> This is on winxp sp3.
>
> ~ af
>
>
>
> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>  wrote:
>> I can force winxp to attempt to load it but I don't have the libraries
>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>> from win7?
>>
>> ~ af
>>
>>
>>
>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>  wrote:
>>> About DLL search order, this is complex and depends on Windows
>>> version, configuration, etc. See
>>> http://support.microsoft.com/kb/2389418.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>  wrote:
>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>> time.  I'll see if I can get to it tomorrow.
>>>>
>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>> install.  In all my testing I've never seen it load.  It's always the
>>>> much older version from my system32 directory that loads.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>  wrote:
>>>>> What happens if you do use csoudperformancethread?
>>>>>
>>>>> MKG from cell phone
>>>>>
>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>> wrote:
>>>>>
>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>> seems to indicate Qt does use thread local storage.
>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>
>>>>> I'm not sure what the implications of thread local storage are but if
>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>> difference between my app and QuteCsound that seems like it would make
>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>> instead.
>>>>>
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>
>>>>>  wrote:
>>>>>
>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>> Does Qt itself use thread-...
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-20 05:13
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Hi all,

I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
function.  Removing the call to fluid_win32_create_window() fixes it.
I updated and tested the attached fluid opcodes test.csd and it worked
fine.

I have not looked further into the fltk copy/paste issue, yet, but
QuteCsound is now stable on my systems when fluidOpcodes.dll is
present in the plugins folder.

Cheers,
~ andy.f



On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
 wrote:
> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
> does not crash, but exhibits the copy/paste issue.  Csound 5.11
> crashes the same way 5.12 does.
>
> Cheers,
> ~ andy.f
>
>
>
> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>  wrote:
>> I profiled qutecsound using depends and it says I'm missing a few
>> libraries.  All of the implicit libraries are available, but some of
>> the delay-loaded ones are missing, apparently.
>>
>> I don't know why msvcrt.dll is included in the installer package,
>> either, but it's got a lot of missing dependencies, too.
>>
>> This is on winxp sp3.
>>
>> ~ af
>>
>>
>>
>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>  wrote:
>>> I can force winxp to attempt to load it but I don't have the libraries
>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>> from win7?
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>  wrote:
>>>> About DLL search order, this is complex and depends on Windows
>>>> version, configuration, etc. See
>>>> http://support.microsoft.com/kb/2389418.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>  wrote:
>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>
>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>> much older version from my system32 directory that loads.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>  wrote:
>>>>>> What happens if you do use csoudperformancethread?
>>>>>>
>>>>>> MKG from cell phone
>>>>>>
>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>> wrote:
>>>>>>
>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>> seems to indicate Qt does use thread local storage.
>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>
>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>> instead.
>>>>>>
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>
>>>>>>  wrote:
>>>>>>
>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>> Does Qt itself use thread-...
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-20 05:18
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Attaching test.csd didn't work.  Here's the updated file ...

================================================================










sr=44100
kr=441
ksmps=100
nchnls=2

giFluidEngine           fluidEngine

giSF_GM      fluidLoad  "C:/Program
Files/Csound/samples/sf_GMbank.sf2", giFluidEngine

fluidProgramSelect    giFluidEngine, 0, giSF_GM, 0, 0

        instr 1 ;untitled

    fluidNote  giFluidEngine, 0, p4, p5

        endin

    instr 10 ; fluid out instrument

aleft, aright   fluidOut   giFluidEngine

    outs aleft * 0dbfs, aright * 0dbfs
    endin





i1 0 2 60 110
i1 0 2 64 110
i1 0 2 67 110

i10 0 6

e







================================================================

On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
 wrote:
> Hi all,
>
> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
> function.  Removing the call to fluid_win32_create_window() fixes it.
> I updated and tested the attached fluid opcodes test.csd and it worked
> fine.
>
> I have not looked further into the fltk copy/paste issue, yet, but
> QuteCsound is now stable on my systems when fluidOpcodes.dll is
> present in the plugins folder.
>
> Cheers,
> ~ andy.f
>
>
>
> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>  wrote:
>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>> crashes the same way 5.12 does.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>  wrote:
>>> I profiled qutecsound using depends and it says I'm missing a few
>>> libraries.  All of the implicit libraries are available, but some of
>>> the delay-loaded ones are missing, apparently.
>>>
>>> I don't know why msvcrt.dll is included in the installer package,
>>> either, but it's got a lot of missing dependencies, too.
>>>
>>> This is on winxp sp3.
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>  wrote:
>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>> from win7?
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>  wrote:
>>>>> About DLL search order, this is complex and depends on Windows
>>>>> version, configuration, etc. See
>>>>> http://support.microsoft.com/kb/2389418.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>  wrote:
>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>
>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>> much older version from my system32 directory that loads.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>
>>>>>>> MKG from cell phone
>>>>>>>
>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>> wrote:
>>>>>>>
>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>
>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>> instead.
>>>>>>>
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>
>>>>>>>  wrote:
>>>>>>>
>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>> Does Qt itself use thread-...
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-20 08:55
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Thanks for taking to the time to find this. This is one of the things
that have a big positive influence on user experience. Have you
already committed to cvs?

Cheers,
Andres

On Mon, Sep 20, 2010 at 5:18 AM, andy fillebrown
 wrote:
> Attaching test.csd didn't work.  Here's the updated file ...
>
> ================================================================
>
>
>
> 
>
> 
>
> 
>
> 
> sr=44100
> kr=441
> ksmps=100
> nchnls=2
>
> giFluidEngine           fluidEngine
>
> giSF_GM      fluidLoad  "C:/Program
> Files/Csound/samples/sf_GMbank.sf2", giFluidEngine
>
> fluidProgramSelect    giFluidEngine, 0, giSF_GM, 0, 0
>
>        instr 1 ;untitled
>
>    fluidNote  giFluidEngine, 0, p4, p5
>
>        endin
>
>    instr 10 ; fluid out instrument
>
> aleft, aright   fluidOut   giFluidEngine
>
>    outs aleft * 0dbfs, aright * 0dbfs
>    endin
>
> 
>
> 
>
> i1 0 2 60 110
> i1 0 2 64 110
> i1 0 2 67 110
>
> i10 0 6
>
> e
>
> 
>
> 
>
>
>
> ================================================================
>
> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>  wrote:
>> Hi all,
>>
>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>> function.  Removing the call to fluid_win32_create_window() fixes it.
>> I updated and tested the attached fluid opcodes test.csd and it worked
>> fine.
>>
>> I have not looked further into the fltk copy/paste issue, yet, but
>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>> present in the plugins folder.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>  wrote:
>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>> crashes the same way 5.12 does.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>  wrote:
>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>> libraries.  All of the implicit libraries are available, but some of
>>>> the delay-loaded ones are missing, apparently.
>>>>
>>>> I don't know why msvcrt.dll is included in the installer package,
>>>> either, but it's got a lot of missing dependencies, too.
>>>>
>>>> This is on winxp sp3.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>  wrote:
>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>> from win7?
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>  wrote:
>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>> version, configuration, etc. See
>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>
>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>> much older version from my system32 directory that loads.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>
>>>>>>>> MKG from cell phone
>>>>>>>>
>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>
>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>> instead.
>>>>>>>>
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>
>>>>>>>>  wrote:
>>>>>>>>
>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourcef

Date2010-09-20 12:22
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
libfluidsynth is a 3rd party dependency of fluidOpcodes.dll, so it's
not in the Csound repository.

Also, when testing QuteCsound running multiple instances of Csound
simultaneously, libfluidsynth is destroying a shared mutex which is
causing a different crash.  Linking the fluidOpcodes plugin to
libfluidsynth statically may fix that, though, or maybe adding some
reference counting in libfluidsynth's DllMain function will do it.
We'll see ...

Cheers,
~ andy.f



On Mon, Sep 20, 2010 at 3:55 AM, Andres Cabrera  wrote:
> Thanks for taking to the time to find this. This is one of the things
> that have a big positive influence on user experience. Have you
> already committed to cvs?
>
> Cheers,
> Andres
>
> On Mon, Sep 20, 2010 at 5:18 AM, andy fillebrown
>  wrote:
>> Attaching test.csd didn't work.  Here's the updated file ...
>>
>> ================================================================
>>
>>
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>> sr=44100
>> kr=441
>> ksmps=100
>> nchnls=2
>>
>> giFluidEngine           fluidEngine
>>
>> giSF_GM      fluidLoad  "C:/Program
>> Files/Csound/samples/sf_GMbank.sf2", giFluidEngine
>>
>> fluidProgramSelect    giFluidEngine, 0, giSF_GM, 0, 0
>>
>>        instr 1 ;untitled
>>
>>    fluidNote  giFluidEngine, 0, p4, p5
>>
>>        endin
>>
>>    instr 10 ; fluid out instrument
>>
>> aleft, aright   fluidOut   giFluidEngine
>>
>>    outs aleft * 0dbfs, aright * 0dbfs
>>    endin
>>
>> 
>>
>> 
>>
>> i1 0 2 60 110
>> i1 0 2 64 110
>> i1 0 2 67 110
>>
>> i10 0 6
>>
>> e
>>
>> 
>>
>> 
>>
>>
>>
>> ================================================================
>>
>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>  wrote:
>>> Hi all,
>>>
>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>> function.  Removing the call to fluid_win32_create_window() fixes it.
>>> I updated and tested the attached fluid opcodes test.csd and it worked
>>> fine.
>>>
>>> I have not looked further into the fltk copy/paste issue, yet, but
>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>> present in the plugins folder.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>  wrote:
>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>> crashes the same way 5.12 does.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>  wrote:
>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>> libraries.  All of the implicit libraries are available, but some of
>>>>> the delay-loaded ones are missing, apparently.
>>>>>
>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>
>>>>> This is on winxp sp3.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>>> from win7?
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>> version, configuration, etc. See
>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>
>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>
>>>>>>>>> MKG from cell phone
>>>>>>>>>
>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>
>>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>>> instead.
>>>>>>>>>
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>
>>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
>
>
> Andrés
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-20 12:41
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem plugins
Maybe libfluidsynth is not completely reentrant?

Victor
On 20 Sep 2010, at 12:22, andy fillebrown wrote:

> libfluidsynth is a 3rd party dependency of fluidOpcodes.dll, so it's
> not in the Csound repository.
>
> Also, when testing QuteCsound running multiple instances of Csound
> simultaneously, libfluidsynth is destroying a shared mutex which is
> causing a different crash.  Linking the fluidOpcodes plugin to
> libfluidsynth statically may fix that, though, or maybe adding some
> reference counting in libfluidsynth's DllMain function will do it.
> We'll see ...
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 20, 2010 at 3:55 AM, Andres Cabrera  
>  wrote:
>> Thanks for taking to the time to find this. This is one of the things
>> that have a big positive influence on user experience. Have you
>> already committed to cvs?
>>
>> Cheers,
>> Andres
>>
>> On Mon, Sep 20, 2010 at 5:18 AM, andy fillebrown
>>  wrote:
>>> Attaching test.csd didn't work.  Here's the updated file ...
>>>
>>> ================================================================
>>>
>>>
>>>
>>> 
>>>
>>> 
>>>
>>> 
>>>
>>> 
>>> sr=44100
>>> kr=441
>>> ksmps=100
>>> nchnls=2
>>>
>>> giFluidEngine           fluidEngine
>>>
>>> giSF_GM      fluidLoad  "C:/Program
>>> Files/Csound/samples/sf_GMbank.sf2", giFluidEngine
>>>
>>> fluidProgramSelect    giFluidEngine, 0, giSF_GM, 0, 0
>>>
>>>        instr 1 ;untitled
>>>
>>>    fluidNote  giFluidEngine, 0, p4, p5
>>>
>>>        endin
>>>
>>>    instr 10 ; fluid out instrument
>>>
>>> aleft, aright   fluidOut   giFluidEngine
>>>
>>>    outs aleft * 0dbfs, aright * 0dbfs
>>>    endin
>>>
>>> 
>>>
>>> 
>>>
>>> i1 0 2 60 110
>>> i1 0 2 64 110
>>> i1 0 2 67 110
>>>
>>> i10 0 6
>>>
>>> e
>>>
>>> 
>>>
>>> 
>>>
>>>
>>>
>>> ================================================================
>>>
>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>  wrote:
>>>> Hi all,
>>>>
>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>> function.  Removing the call to fluid_win32_create_window() fixes  
>>>> it.
>>>> I updated and tested the attached fluid opcodes test.csd and it  
>>>> worked
>>>> fine.
>>>>
>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>> present in the plugins folder.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>  wrote:
>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>> crashes the same way 5.12 does.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>> libraries.  All of the implicit libraries are available, but  
>>>>>> some of
>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>
>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>
>>>>>> This is on winxp sp3.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I can force winxp to attempt to load it but I don't have the  
>>>>>>> libraries
>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the  
>>>>>>> msvcrt
>>>>>>> from win7?
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>> version, configuration, etc. See
>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will  
>>>>>>>>> take some
>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>
>>>>>>>>> What is the deal with the msvcrt.dll that comes with the  
>>>>>>>>> Csound
>>>>>>>>> install.  In all my testing I've never seen it load.  It's  
>>>>>>>>> always the
>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>
>>>>>>>>> ~ af
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>
>>>>>>>>>> MKG from cell phone
>>>>>>>>>>
>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>> >
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug  
>>>>>>>>>> report that
>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>
>>>>>>>>>> I'm not sure what the implications of thread local storage  
>>>>>>>>>> are but if
>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.   
>>>>>>>>>> The only
>>>>>>>>>> difference between my app and QuteCsound that seems like it  
>>>>>>>>>> would make
>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for  
>>>>>>>>>> threaded
>>>>>>>>>> playback.  I'm using a QThread and calling  
>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>> instead.
>>>>>>>>>>
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>
>>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>>> Perhaps thread-local variables, probably in some third  
>>>>>>>>>>> party library.
>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-20 13:24
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
Attachmentsfluid_dll.c  fluidOpcodes.cpp  None  None  
fluidOpcodes.cpp was destroying all fluidsynth instances in
csoundModuleDestroy and leaving dangling fluid_synth_t pointers in the
std::vector.  After fixing my local fluidOpcodes.cpp QuteCsound is
stable when running multiple instance simultaneously.

I've attached my modified fluid_dll.c and fluidOpcodes.cpp.  I don't
think I have cvs access so if someone could commit fluidOpcodes.cpp it
would be much appreciated.  I'll try to contact the fluidsynth devs
regarding fluid_dll.c.

Cheers,
~ andy.f



On Mon, Sep 20, 2010 at 7:41 AM, Victor Lazzarini
 wrote:
> Maybe libfluidsynth is not completely reentrant?
>
> Victor
> On 20 Sep 2010, at 12:22, andy fillebrown wrote:
>
>> libfluidsynth is a 3rd party dependency of fluidOpcodes.dll, so it's
>> not in the Csound repository.
>>
>> Also, when testing QuteCsound running multiple instances of Csound
>> simultaneously, libfluidsynth is destroying a shared mutex which is
>> causing a different crash.  Linking the fluidOpcodes plugin to
>> libfluidsynth statically may fix that, though, or maybe adding some
>> reference counting in libfluidsynth's DllMain function will do it.
>> We'll see ...
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 3:55 AM, Andres Cabrera
>>  wrote:
>>> Thanks for taking to the time to find this. This is one of the things
>>> that have a big positive influence on user experience. Have you
>>> already committed to cvs?
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Mon, Sep 20, 2010 at 5:18 AM, andy fillebrown
>>>  wrote:
>>>> Attaching test.csd didn't work.  Here's the updated file ...
>>>>
>>>> ================================================================
>>>>
>>>>
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> 
>>>> sr=44100
>>>> kr=441
>>>> ksmps=100
>>>> nchnls=2
>>>>
>>>> giFluidEngine           fluidEngine
>>>>
>>>> giSF_GM      fluidLoad  "C:/Program
>>>> Files/Csound/samples/sf_GMbank.sf2", giFluidEngine
>>>>
>>>> fluidProgramSelect    giFluidEngine, 0, giSF_GM, 0, 0
>>>>
>>>>        instr 1 ;untitled
>>>>
>>>>    fluidNote  giFluidEngine, 0, p4, p5
>>>>
>>>>        endin
>>>>
>>>>    instr 10 ; fluid out instrument
>>>>
>>>> aleft, aright   fluidOut   giFluidEngine
>>>>
>>>>    outs aleft * 0dbfs, aright * 0dbfs
>>>>    endin
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> i1 0 2 60 110
>>>> i1 0 2 64 110
>>>> i1 0 2 67 110
>>>>
>>>> i10 0 6
>>>>
>>>> e
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>> ================================================================
>>>>
>>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>>  wrote:
>>>>> Hi all,
>>>>>
>>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>>> it.
>>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>>> worked
>>>>> fine.
>>>>>
>>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>>> present in the plugins folder.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>>  wrote:
>>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>>> crashes the same way 5.12 does.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>>> some of
>>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>>
>>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>>
>>>>>>> This is on winxp sp3.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>>> libraries
>>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>>> msvcrt
>>>>>>>> from win7?
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>>> version, configuration, etc. See
>>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will
>>>>>>>>>> take some
>>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>>
>>>>>>>>>> What is the deal with the msvcrt.dll that comes with the
>>>>>>>>>> Csound
>>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>>> always the
>>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>>
>>>>>>>>>> ~ af
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>>
>>>>>>>>>>> MKG from cell phone
>>>>>>>>>>>
>>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>>> >
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>>> report that
>>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>>
>>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>>> are but if
>>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>>> The only
>>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>>> would make
>>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>>> threaded
>>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>>> instead.
>>>>>>>>>>>
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>>
>>>>>>>>>>>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>>> party library.
>>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

Date2010-09-20 13:47
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
AttachmentsNone  None  

I will integrate this, and thank you.

MKG from cell phone

On Sep 20, 2010 8:24 AM, "andy fillebrown" <andy.fillebrown@gmail.com> wrote:

fluidOpcodes.cpp was destroying all fluidsynth instances in
csoundModuleDestroy and leaving dangling fluid_synth_t pointers in the
std::vector.  After fixing my local fluidOpcodes.cpp QuteCsound is
stable when running multiple instance simultaneously.

I've attached my modified fluid_dll.c and fluidOpcodes.cpp.  I don't
think I have cvs access so if someone could commit fluidOpcodes.cpp it
would be much appreciated.  I'll try to contact the fluidsynth devs
regarding fluid_dll.c.

Cheers,
~ andy.f



On Mon, Sep 20, 2010 at 7:41 AM, Victor Lazzarini

<Victor.Lazzarini@nuim.ie> wrote:

> Maybe libfluidsynth is not completely reentrant?
>
> Victor
> On 20 Sep 2010, at 12:22, andy fille...


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2010-09-21 03:00
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
I found the fltk windows clipboard bug!

In Fl.cxx @ line 493, the destructor
Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
library unloads is arbitrarily calling OleUninitialize even though
fltk may not have called OleInitialize.  When using Qt this means the
OleUninitialize call is paired with Qt's call to OleInitialize instead
of fltk's non-call if no fltk windows have been created, which causes
the clipboard interface in Qt to break (among other things).

Does anyone have advice regarding contacting the fltk developers?  I'm
going to wait until I settle down a bit before I send them a report
since I'm pretty stoked at finally finding the problem right now!!!
Party at my place =)

Cheers,
~ andy.f



On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
 wrote:
> Hi all,
>
> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
> function.  Removing the call to fluid_win32_create_window() fixes it.
> I updated and tested the attached fluid opcodes test.csd and it worked
> fine.
>
> I have not looked further into the fltk copy/paste issue, yet, but
> QuteCsound is now stable on my systems when fluidOpcodes.dll is
> present in the plugins folder.
>
> Cheers,
> ~ andy.f
>
>
>
> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>  wrote:
>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>> crashes the same way 5.12 does.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>  wrote:
>>> I profiled qutecsound using depends and it says I'm missing a few
>>> libraries.  All of the implicit libraries are available, but some of
>>> the delay-loaded ones are missing, apparently.
>>>
>>> I don't know why msvcrt.dll is included in the installer package,
>>> either, but it's got a lot of missing dependencies, too.
>>>
>>> This is on winxp sp3.
>>>
>>> ~ af
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>  wrote:
>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>> from win7?
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>  wrote:
>>>>> About DLL search order, this is complex and depends on Windows
>>>>> version, configuration, etc. See
>>>>> http://support.microsoft.com/kb/2389418.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>  wrote:
>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>
>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>> much older version from my system32 directory that loads.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>
>>>>>>> MKG from cell phone
>>>>>>>
>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>> wrote:
>>>>>>>
>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>
>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>> instead.
>>>>>>>
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>
>>>>>>>  wrote:
>>>>>>>
>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>> Does Qt itself use thread-...
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-21 08:25
FromRory Walsh
SubjectRe: [Cs-dev] Problem plugins
Well done Andy. QCS users worldwide owe you a few beers!

On 21 September 2010 03:00, andy fillebrown  wrote:
> I found the fltk windows clipboard bug!
>
> In Fl.cxx @ line 493, the destructor
> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
> library unloads is arbitrarily calling OleUninitialize even though
> fltk may not have called OleInitialize.  When using Qt this means the
> OleUninitialize call is paired with Qt's call to OleInitialize instead
> of fltk's non-call if no fltk windows have been created, which causes
> the clipboard interface in Qt to break (among other things).
>
> Does anyone have advice regarding contacting the fltk developers?  I'm
> going to wait until I settle down a bit before I send them a report
> since I'm pretty stoked at finally finding the problem right now!!!
> Party at my place =)
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>  wrote:
>> Hi all,
>>
>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>> function.  Removing the call to fluid_win32_create_window() fixes it.
>> I updated and tested the attached fluid opcodes test.csd and it worked
>> fine.
>>
>> I have not looked further into the fltk copy/paste issue, yet, but
>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>> present in the plugins folder.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>  wrote:
>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>> crashes the same way 5.12 does.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>  wrote:
>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>> libraries.  All of the implicit libraries are available, but some of
>>>> the delay-loaded ones are missing, apparently.
>>>>
>>>> I don't know why msvcrt.dll is included in the installer package,
>>>> either, but it's got a lot of missing dependencies, too.
>>>>
>>>> This is on winxp sp3.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>  wrote:
>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>> from win7?
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>  wrote:
>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>> version, configuration, etc. See
>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>
>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>> much older version from my system32 directory that loads.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>
>>>>>>>> MKG from cell phone
>>>>>>>>
>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>
>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>> instead.
>>>>>>>>
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>
>>>>>>>>  wrote:
>>>>>>>>
>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-21 08:53
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Yes! This was a big and hard bug to track down!

Thanks,
Andres

On Tue, Sep 21, 2010 at 8:25 AM, Rory Walsh  wrote:
> Well done Andy. QCS users worldwide owe you a few beers!
>
> On 21 September 2010 03:00, andy fillebrown  wrote:
>> I found the fltk windows clipboard bug!
>>
>> In Fl.cxx @ line 493, the destructor
>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>> library unloads is arbitrarily calling OleUninitialize even though
>> fltk may not have called OleInitialize.  When using Qt this means the
>> OleUninitialize call is paired with Qt's call to OleInitialize instead
>> of fltk's non-call if no fltk windows have been created, which causes
>> the clipboard interface in Qt to break (among other things).
>>
>> Does anyone have advice regarding contacting the fltk developers?  I'm
>> going to wait until I settle down a bit before I send them a report
>> since I'm pretty stoked at finally finding the problem right now!!!
>> Party at my place =)
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>  wrote:
>>> Hi all,
>>>
>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>> function.  Removing the call to fluid_win32_create_window() fixes it.
>>> I updated and tested the attached fluid opcodes test.csd and it worked
>>> fine.
>>>
>>> I have not looked further into the fltk copy/paste issue, yet, but
>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>> present in the plugins folder.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>  wrote:
>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>> crashes the same way 5.12 does.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>  wrote:
>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>> libraries.  All of the implicit libraries are available, but some of
>>>>> the delay-loaded ones are missing, apparently.
>>>>>
>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>
>>>>> This is on winxp sp3.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>>> from win7?
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>> version, configuration, etc. See
>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>
>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>
>>>>>>>>> MKG from cell phone
>>>>>>>>>
>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>
>>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>>> instead.
>>>>>>>>>
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>
>>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/l

Date2010-09-23 13:32
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
After looking at the FLTK code in more detail, it's possible to have
several calls made to OleInitialize in the FLTK library.  Apparently
it was assumed that a single call to OleUnitialize would clean up all
those calls, but it doesn't since Windows keeps a reference count on
them.  The other thing to consider is that when Csound is run from a
separate thread, the call FLTK makes to OleInitialize is made from
that separate thread ...so FLTK's call to OleUnitialize in the main
thread is completely useless.  It doesn't cleanup anything when Csound
is run in a separate thread!

Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
the next Windows release so QuteCsound is stable out of the box?  It's
unlikely to break anything and it's a much better alternative than the
issues we're having now.

Cheers,
~ andy.f



On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
 wrote:
> I found the fltk windows clipboard bug!
>
> In Fl.cxx @ line 493, the destructor
> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
> library unloads is arbitrarily calling OleUninitialize even though
> fltk may not have called OleInitialize.  When using Qt this means the
> OleUninitialize call is paired with Qt's call to OleInitialize instead
> of fltk's non-call if no fltk windows have been created, which causes
> the clipboard interface in Qt to break (among other things).
>
> Does anyone have advice regarding contacting the fltk developers?  I'm
> going to wait until I settle down a bit before I send them a report
> since I'm pretty stoked at finally finding the problem right now!!!
> Party at my place =)
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>  wrote:
>> Hi all,
>>
>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>> function.  Removing the call to fluid_win32_create_window() fixes it.
>> I updated and tested the attached fluid opcodes test.csd and it worked
>> fine.
>>
>> I have not looked further into the fltk copy/paste issue, yet, but
>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>> present in the plugins folder.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>  wrote:
>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>> crashes the same way 5.12 does.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>  wrote:
>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>> libraries.  All of the implicit libraries are available, but some of
>>>> the delay-loaded ones are missing, apparently.
>>>>
>>>> I don't know why msvcrt.dll is included in the installer package,
>>>> either, but it's got a lot of missing dependencies, too.
>>>>
>>>> This is on winxp sp3.
>>>>
>>>> ~ af
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>  wrote:
>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>> from win7?
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>  wrote:
>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>> version, configuration, etc. See
>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>
>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>> much older version from my system32 directory that loads.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>
>>>>>>>> MKG from cell phone
>>>>>>>>
>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>
>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>> instead.
>>>>>>>>
>>>>>>>> ~ andy.f
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>
>>>>>>>>  wrote:
>>>>>>>>
>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>
>>>
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-23 13:41
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem plugins
Shouldn't that be addressed to the FLTK developers?

Victor
On 23 Sep 2010, at 13:32, andy fillebrown wrote:

> After looking at the FLTK code in more detail, it's possible to have
> several calls made to OleInitialize in the FLTK library.  Apparently
> it was assumed that a single call to OleUnitialize would clean up all
> those calls, but it doesn't since Windows keeps a reference count on
> them.  The other thing to consider is that when Csound is run from a
> separate thread, the call FLTK makes to OleInitialize is made from
> that separate thread ...so FLTK's call to OleUnitialize in the main
> thread is completely useless.  It doesn't cleanup anything when Csound
> is run in a separate thread!
>
> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
> the next Windows release so QuteCsound is stable out of the box?  It's
> unlikely to break anything and it's a much better alternative than the
> issues we're having now.
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>  wrote:
>> I found the fltk windows clipboard bug!
>>
>> In Fl.cxx @ line 493, the destructor
>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>> library unloads is arbitrarily calling OleUninitialize even though
>> fltk may not have called OleInitialize.  When using Qt this means the
>> OleUninitialize call is paired with Qt's call to OleInitialize  
>> instead
>> of fltk's non-call if no fltk windows have been created, which causes
>> the clipboard interface in Qt to break (among other things).
>>
>> Does anyone have advice regarding contacting the fltk developers?   
>> I'm
>> going to wait until I settle down a bit before I send them a report
>> since I'm pretty stoked at finally finding the problem right now!!!
>> Party at my place =)
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>  wrote:
>>> Hi all,
>>>
>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>> function.  Removing the call to fluid_win32_create_window() fixes  
>>> it.
>>> I updated and tested the attached fluid opcodes test.csd and it  
>>> worked
>>> fine.
>>>
>>> I have not looked further into the fltk copy/paste issue, yet, but
>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>> present in the plugins folder.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>  wrote:
>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>> crashes the same way 5.12 does.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>  wrote:
>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>> libraries.  All of the implicit libraries are available, but  
>>>>> some of
>>>>> the delay-loaded ones are missing, apparently.
>>>>>
>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>
>>>>> This is on winxp sp3.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I can force winxp to attempt to load it but I don't have the  
>>>>>> libraries
>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the  
>>>>>> msvcrt
>>>>>> from win7?
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>> version, configuration, etc. See
>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take  
>>>>>>>> some
>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>
>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>> install.  In all my testing I've never seen it load.  It's  
>>>>>>>> always the
>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>
>>>>>>>>> MKG from cell phone
>>>>>>>>>
>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>> >
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I did a quick search on "Qt thread local" and found a bug  
>>>>>>>>> report that
>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>
>>>>>>>>> I'm not sure what the implications of thread local storage  
>>>>>>>>> are but if
>>>>>>>>> it was the problem, I'd expect to see it in my app, too.   
>>>>>>>>> The only
>>>>>>>>> difference between my app and QuteCsound that seems like it  
>>>>>>>>> would make
>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for  
>>>>>>>>> threaded
>>>>>>>>> playback.  I'm using a QThread and calling  
>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>> instead.
>>>>>>>>>
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>
>>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>>> Perhaps thread-local variables, probably in some third  
>>>>>>>>>> party library.
>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-23 13:43
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
Shouldn't the call simply be moved to the correct thread?

Regards,
Mike

On Thu, Sep 23, 2010 at 8:32 AM, andy fillebrown
 wrote:
> After looking at the FLTK code in more detail, it's possible to have
> several calls made to OleInitialize in the FLTK library.  Apparently
> it was assumed that a single call to OleUnitialize would clean up all
> those calls, but it doesn't since Windows keeps a reference count on
> them.  The other thing to consider is that when Csound is run from a
> separate thread, the call FLTK makes to OleInitialize is made from
> that separate thread ...so FLTK's call to OleUnitialize in the main
> thread is completely useless.  It doesn't cleanup anything when Csound
> is run in a separate thread!
>
> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
> the next Windows release so QuteCsound is stable out of the box?  It's
> unlikely to break anything and it's a much better alternative than the
> issues we're having now.
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>  wrote:
>> I found the fltk windows clipboard bug!
>>
>> In Fl.cxx @ line 493, the destructor
>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>> library unloads is arbitrarily calling OleUninitialize even though
>> fltk may not have called OleInitialize.  When using Qt this means the
>> OleUninitialize call is paired with Qt's call to OleInitialize instead
>> of fltk's non-call if no fltk windows have been created, which causes
>> the clipboard interface in Qt to break (among other things).
>>
>> Does anyone have advice regarding contacting the fltk developers?  I'm
>> going to wait until I settle down a bit before I send them a report
>> since I'm pretty stoked at finally finding the problem right now!!!
>> Party at my place =)
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>  wrote:
>>> Hi all,
>>>
>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>> function.  Removing the call to fluid_win32_create_window() fixes it.
>>> I updated and tested the attached fluid opcodes test.csd and it worked
>>> fine.
>>>
>>> I have not looked further into the fltk copy/paste issue, yet, but
>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>> present in the plugins folder.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>  wrote:
>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>> crashes the same way 5.12 does.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>  wrote:
>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>> libraries.  All of the implicit libraries are available, but some of
>>>>> the delay-loaded ones are missing, apparently.
>>>>>
>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>
>>>>> This is on winxp sp3.
>>>>>
>>>>> ~ af
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I can force winxp to attempt to load it but I don't have the libraries
>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the msvcrt
>>>>>> from win7?
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>  wrote:
>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>> version, configuration, etc. See
>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take some
>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>
>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>> install.  In all my testing I've never seen it load.  It's always the
>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>
>>>>>>>>> MKG from cell phone
>>>>>>>>>
>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> I did a quick search on "Qt thread local" and found a bug report that
>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>
>>>>>>>>> I'm not sure what the implications of thread local storage are but if
>>>>>>>>> it was the problem, I'd expect to see it in my app, too.  The only
>>>>>>>>> difference between my app and QuteCsound that seems like it would make
>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for threaded
>>>>>>>>> playback.  I'm using a QThread and calling csoundPerformKsmps from it,
>>>>>>>>> instead.
>>>>>>>>>
>>>>>>>>> ~ andy.f
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>
>>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>>> Perhaps thread-local variables, probably in some third party library.
>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://www.michael-gogins.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-23 13:45
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
If we need to patch sources for third party software to get Csound to
behave, we should do it. If it gets more complicated, we will need to
set up a repository in CVS for our patches.

Regards,
Mike

On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini
 wrote:
> Shouldn't that be addressed to the FLTK developers?
>
> Victor
> On 23 Sep 2010, at 13:32, andy fillebrown wrote:
>
>> After looking at the FLTK code in more detail, it's possible to have
>> several calls made to OleInitialize in the FLTK library.  Apparently
>> it was assumed that a single call to OleUnitialize would clean up all
>> those calls, but it doesn't since Windows keeps a reference count on
>> them.  The other thing to consider is that when Csound is run from a
>> separate thread, the call FLTK makes to OleInitialize is made from
>> that separate thread ...so FLTK's call to OleUnitialize in the main
>> thread is completely useless.  It doesn't cleanup anything when Csound
>> is run in a separate thread!
>>
>> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
>> the next Windows release so QuteCsound is stable out of the box?  It's
>> unlikely to break anything and it's a much better alternative than the
>> issues we're having now.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>>  wrote:
>>> I found the fltk windows clipboard bug!
>>>
>>> In Fl.cxx @ line 493, the destructor
>>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>>> library unloads is arbitrarily calling OleUninitialize even though
>>> fltk may not have called OleInitialize.  When using Qt this means the
>>> OleUninitialize call is paired with Qt's call to OleInitialize
>>> instead
>>> of fltk's non-call if no fltk windows have been created, which causes
>>> the clipboard interface in Qt to break (among other things).
>>>
>>> Does anyone have advice regarding contacting the fltk developers?
>>> I'm
>>> going to wait until I settle down a bit before I send them a report
>>> since I'm pretty stoked at finally finding the problem right now!!!
>>> Party at my place =)
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>  wrote:
>>>> Hi all,
>>>>
>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>> it.
>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>> worked
>>>> fine.
>>>>
>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>> present in the plugins folder.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>  wrote:
>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>> crashes the same way 5.12 does.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>> some of
>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>
>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>
>>>>>> This is on winxp sp3.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>> libraries
>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>> msvcrt
>>>>>>> from win7?
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>> version, configuration, etc. See
>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take
>>>>>>>>> some
>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>
>>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>> always the
>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>
>>>>>>>>> ~ af
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>
>>>>>>>>>> MKG from cell phone
>>>>>>>>>>
>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>> >
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>> report that
>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>
>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>> are but if
>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>> The only
>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>> would make
>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>> threaded
>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>> instead.
>>>>>>>>>>
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>
>>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>> party library.
>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-23 13:57
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
They told me that "yes, it's an issue that they'll look into", but
since Csound will create FLTK windows in a performance thread, it
won't matter if they fix it on their end.  It's broken in Csound, too.
 Thinking more about it, we can just do a pre-emptive call to
OleInitialize in QuteCsound before calling csoundCreate.  I just
tested it and it works fine.

Cheers,
~ andy.f



On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini
 wrote:
> Shouldn't that be addressed to the FLTK developers?
>
> Victor
> On 23 Sep 2010, at 13:32, andy fillebrown wrote:
>
>> After looking at the FLTK code in more detail, it's possible to have
>> several calls made to OleInitialize in the FLTK library.  Apparently
>> it was assumed that a single call to OleUnitialize would clean up all
>> those calls, but it doesn't since Windows keeps a reference count on
>> them.  The other thing to consider is that when Csound is run from a
>> separate thread, the call FLTK makes to OleInitialize is made from
>> that separate thread ...so FLTK's call to OleUnitialize in the main
>> thread is completely useless.  It doesn't cleanup anything when Csound
>> is run in a separate thread!
>>
>> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
>> the next Windows release so QuteCsound is stable out of the box?  It's
>> unlikely to break anything and it's a much better alternative than the
>> issues we're having now.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>>  wrote:
>>> I found the fltk windows clipboard bug!
>>>
>>> In Fl.cxx @ line 493, the destructor
>>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>>> library unloads is arbitrarily calling OleUninitialize even though
>>> fltk may not have called OleInitialize.  When using Qt this means the
>>> OleUninitialize call is paired with Qt's call to OleInitialize
>>> instead
>>> of fltk's non-call if no fltk windows have been created, which causes
>>> the clipboard interface in Qt to break (among other things).
>>>
>>> Does anyone have advice regarding contacting the fltk developers?
>>> I'm
>>> going to wait until I settle down a bit before I send them a report
>>> since I'm pretty stoked at finally finding the problem right now!!!
>>> Party at my place =)
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>  wrote:
>>>> Hi all,
>>>>
>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>> it.
>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>> worked
>>>> fine.
>>>>
>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>> present in the plugins folder.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>  wrote:
>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>> crashes the same way 5.12 does.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>  wrote:
>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>> some of
>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>
>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>
>>>>>> This is on winxp sp3.
>>>>>>
>>>>>> ~ af
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>> libraries
>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>> msvcrt
>>>>>>> from win7?
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>  wrote:
>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>> version, configuration, etc. See
>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take
>>>>>>>>> some
>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>
>>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>> always the
>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>
>>>>>>>>> ~ af
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>
>>>>>>>>>> MKG from cell phone
>>>>>>>>>>
>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>> >
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>> report that
>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>
>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>> are but if
>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>> The only
>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>> would make
>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>> threaded
>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>> instead.
>>>>>>>>>>
>>>>>>>>>> ~ andy.f
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>
>>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>> party library.
>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Michael Gogins
>>>>>>>> Irreducible Productions
>>>>>>>> http://www.michael-gogins.com
>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-23 15:05
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
AttachmentsNone  None  

Good thinking.

MKG from cell phone

On Sep 23, 2010 8:57 AM, "andy fillebrown" <andy.fillebrown@gmail.com> wrote:

They told me that "yes, it's an issue that they'll look into", but
since Csound will create FLTK windows in a performance thread, it
won't matter if they fix it on their end.  It's broken in Csound, too.
 Thinking more about it, we can just do a pre-emptive call to
OleInitialize in QuteCsound before calling csoundCreate.  I just
tested it and it works fine.

Cheers,
~ andy.f



On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini

<Victor.Lazzarini@nuim.ie> wrote:

> Shouldn't that be addressed to the FLTK developers?
>
> Victor
> On 23 Sep 2010, at 13:32, andy fi...


Date2010-09-23 15:18
FromAndres Cabrera
SubjectRe: [Cs-dev] Problem plugins
Hi,

Yes, I also second this idea. And many thanks again for finding this.

Cheers,
Andres

On Thu, Sep 23, 2010 at 1:57 PM, andy fillebrown
 wrote:
> They told me that "yes, it's an issue that they'll look into", but
> since Csound will create FLTK windows in a performance thread, it
> won't matter if they fix it on their end.  It's broken in Csound, too.
>  Thinking more about it, we can just do a pre-emptive call to
> OleInitialize in QuteCsound before calling csoundCreate.  I just
> tested it and it works fine.
>
> Cheers,
> ~ andy.f
>
>
>
> On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini
>  wrote:
>> Shouldn't that be addressed to the FLTK developers?
>>
>> Victor
>> On 23 Sep 2010, at 13:32, andy fillebrown wrote:
>>
>>> After looking at the FLTK code in more detail, it's possible to have
>>> several calls made to OleInitialize in the FLTK library.  Apparently
>>> it was assumed that a single call to OleUnitialize would clean up all
>>> those calls, but it doesn't since Windows keeps a reference count on
>>> them.  The other thing to consider is that when Csound is run from a
>>> separate thread, the call FLTK makes to OleInitialize is made from
>>> that separate thread ...so FLTK's call to OleUnitialize in the main
>>> thread is completely useless.  It doesn't cleanup anything when Csound
>>> is run in a separate thread!
>>>
>>> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
>>> the next Windows release so QuteCsound is stable out of the box?  It's
>>> unlikely to break anything and it's a much better alternative than the
>>> issues we're having now.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>>>  wrote:
>>>> I found the fltk windows clipboard bug!
>>>>
>>>> In Fl.cxx @ line 493, the destructor
>>>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>>>> library unloads is arbitrarily calling OleUninitialize even though
>>>> fltk may not have called OleInitialize.  When using Qt this means the
>>>> OleUninitialize call is paired with Qt's call to OleInitialize
>>>> instead
>>>> of fltk's non-call if no fltk windows have been created, which causes
>>>> the clipboard interface in Qt to break (among other things).
>>>>
>>>> Does anyone have advice regarding contacting the fltk developers?
>>>> I'm
>>>> going to wait until I settle down a bit before I send them a report
>>>> since I'm pretty stoked at finally finding the problem right now!!!
>>>> Party at my place =)
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>>  wrote:
>>>>> Hi all,
>>>>>
>>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>>> it.
>>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>>> worked
>>>>> fine.
>>>>>
>>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>>> present in the plugins folder.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>>  wrote:
>>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>>> crashes the same way 5.12 does.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>>> some of
>>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>>
>>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>>
>>>>>>> This is on winxp sp3.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>>> libraries
>>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>>> msvcrt
>>>>>>>> from win7?
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>>> version, configuration, etc. See
>>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take
>>>>>>>>>> some
>>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>>
>>>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>>> always the
>>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>>
>>>>>>>>>> ~ af
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>>
>>>>>>>>>>> MKG from cell phone
>>>>>>>>>>>
>>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>>> >
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>>> report that
>>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>>
>>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>>> are but if
>>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>>> The only
>>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>>> would make
>>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>>> threaded
>>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>>> instead.
>>>>>>>>>>>
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>>
>>>>>>>>>>>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>>> party library.
>>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 


Andrés

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-

Date2010-09-25 19:07
Fromandy fillebrown
SubjectRe: [Cs-dev] Problem plugins
The fluidsynth bug is fixed in svn, and the fltk bug-fix should be
appearing in fltk's weekly snapshot soon.

Cheers,
~ andy.f



On Thu, Sep 23, 2010 at 8:57 AM, andy fillebrown
 wrote:
> They told me that "yes, it's an issue that they'll look into", but
> since Csound will create FLTK windows in a performance thread, it
> won't matter if they fix it on their end.  It's broken in Csound, too.
>  Thinking more about it, we can just do a pre-emptive call to
> OleInitialize in QuteCsound before calling csoundCreate.  I just
> tested it and it works fine.
>
> Cheers,
> ~ andy.f
>
>
>
> On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini
>  wrote:
>> Shouldn't that be addressed to the FLTK developers?
>>
>> Victor
>> On 23 Sep 2010, at 13:32, andy fillebrown wrote:
>>
>>> After looking at the FLTK code in more detail, it's possible to have
>>> several calls made to OleInitialize in the FLTK library.  Apparently
>>> it was assumed that a single call to OleUnitialize would clean up all
>>> those calls, but it doesn't since Windows keeps a reference count on
>>> them.  The other thing to consider is that when Csound is run from a
>>> separate thread, the call FLTK makes to OleInitialize is made from
>>> that separate thread ...so FLTK's call to OleUnitialize in the main
>>> thread is completely useless.  It doesn't cleanup anything when Csound
>>> is run in a separate thread!
>>>
>>> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
>>> the next Windows release so QuteCsound is stable out of the box?  It's
>>> unlikely to break anything and it's a much better alternative than the
>>> issues we're having now.
>>>
>>> Cheers,
>>> ~ andy.f
>>>
>>>
>>>
>>> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>>>  wrote:
>>>> I found the fltk windows clipboard bug!
>>>>
>>>> In Fl.cxx @ line 493, the destructor
>>>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>>>> library unloads is arbitrarily calling OleUninitialize even though
>>>> fltk may not have called OleInitialize.  When using Qt this means the
>>>> OleUninitialize call is paired with Qt's call to OleInitialize
>>>> instead
>>>> of fltk's non-call if no fltk windows have been created, which causes
>>>> the clipboard interface in Qt to break (among other things).
>>>>
>>>> Does anyone have advice regarding contacting the fltk developers?
>>>> I'm
>>>> going to wait until I settle down a bit before I send them a report
>>>> since I'm pretty stoked at finally finding the problem right now!!!
>>>> Party at my place =)
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>>  wrote:
>>>>> Hi all,
>>>>>
>>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>>> it.
>>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>>> worked
>>>>> fine.
>>>>>
>>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>>> present in the plugins folder.
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>>  wrote:
>>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>>> crashes the same way 5.12 does.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>>> some of
>>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>>
>>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>>
>>>>>>> This is on winxp sp3.
>>>>>>>
>>>>>>> ~ af
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>>> libraries
>>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>>> msvcrt
>>>>>>>> from win7?
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>>  wrote:
>>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>>> version, configuration, etc. See
>>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>>  wrote:
>>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take
>>>>>>>>>> some
>>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>>
>>>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>>> always the
>>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>>
>>>>>>>>>> ~ af
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>>  wrote:
>>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>>
>>>>>>>>>>> MKG from cell phone
>>>>>>>>>>>
>>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>>> >
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>>> report that
>>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>>
>>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>>> are but if
>>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>>> The only
>>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>>> would make
>>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>>> threaded
>>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>>> instead.
>>>>>>>>>>>
>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>>
>>>>>>>>>>>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>>> party library.
>>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Michael Gogins
>>>>>>>>> Irreducible Productions
>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-25 22:17
FromMichael Gogins
SubjectRe: [Cs-dev] Problem plugins
That's great, and thank you very much for finding and fixing this bug.

Regards,
Mike

On Sat, Sep 25, 2010 at 2:07 PM, andy fillebrown
 wrote:
> The fluidsynth bug is fixed in svn, and the fltk bug-fix should be
> appearing in fltk's weekly snapshot soon.
>
> Cheers,
> ~ andy.f
>
>
>
> On Thu, Sep 23, 2010 at 8:57 AM, andy fillebrown
>  wrote:
>> They told me that "yes, it's an issue that they'll look into", but
>> since Csound will create FLTK windows in a performance thread, it
>> won't matter if they fix it on their end.  It's broken in Csound, too.
>>  Thinking more about it, we can just do a pre-emptive call to
>> OleInitialize in QuteCsound before calling csoundCreate.  I just
>> tested it and it works fine.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Thu, Sep 23, 2010 at 8:41 AM, Victor Lazzarini
>>  wrote:
>>> Shouldn't that be addressed to the FLTK developers?
>>>
>>> Victor
>>> On 23 Sep 2010, at 13:32, andy fillebrown wrote:
>>>
>>>> After looking at the FLTK code in more detail, it's possible to have
>>>> several calls made to OleInitialize in the FLTK library.  Apparently
>>>> it was assumed that a single call to OleUnitialize would clean up all
>>>> those calls, but it doesn't since Windows keeps a reference count on
>>>> them.  The other thing to consider is that when Csound is run from a
>>>> separate thread, the call FLTK makes to OleInitialize is made from
>>>> that separate thread ...so FLTK's call to OleUnitialize in the main
>>>> thread is completely useless.  It doesn't cleanup anything when Csound
>>>> is run in a separate thread!
>>>>
>>>> Can FLTK's call to OleUnitialize in Fl.cxx @ line 493 be removed for
>>>> the next Windows release so QuteCsound is stable out of the box?  It's
>>>> unlikely to break anything and it's a much better alternative than the
>>>> issues we're having now.
>>>>
>>>> Cheers,
>>>> ~ andy.f
>>>>
>>>>
>>>>
>>>> On Mon, Sep 20, 2010 at 10:00 PM, andy fillebrown
>>>>  wrote:
>>>>> I found the fltk windows clipboard bug!
>>>>>
>>>>> In Fl.cxx @ line 493, the destructor
>>>>> Fl_Win32_At_Exit::~Fl_Win32_At_Exit that gets called when the fltk
>>>>> library unloads is arbitrarily calling OleUninitialize even though
>>>>> fltk may not have called OleInitialize.  When using Qt this means the
>>>>> OleUninitialize call is paired with Qt's call to OleInitialize
>>>>> instead
>>>>> of fltk's non-call if no fltk windows have been created, which causes
>>>>> the clipboard interface in Qt to break (among other things).
>>>>>
>>>>> Does anyone have advice regarding contacting the fltk developers?
>>>>> I'm
>>>>> going to wait until I settle down a bit before I send them a report
>>>>> since I'm pretty stoked at finally finding the problem right now!!!
>>>>> Party at my place =)
>>>>>
>>>>> Cheers,
>>>>> ~ andy.f
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Sep 20, 2010 at 12:13 AM, andy fillebrown
>>>>>  wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I tracked the fluidOpcodes bug down to libfluidsynth's DllMain
>>>>>> function.  Removing the call to fluid_win32_create_window() fixes
>>>>>> it.
>>>>>> I updated and tested the attached fluid opcodes test.csd and it
>>>>>> worked
>>>>>> fine.
>>>>>>
>>>>>> I have not looked further into the fltk copy/paste issue, yet, but
>>>>>> QuteCsound is now stable on my systems when fluidOpcodes.dll is
>>>>>> present in the plugins folder.
>>>>>>
>>>>>> Cheers,
>>>>>> ~ andy.f
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 15, 2010 at 12:35 AM, andy fillebrown
>>>>>>  wrote:
>>>>>>> I just built qutecsound against csound 5.10 and 5.11.  Csound 5.10
>>>>>>> does not crash, but exhibits the copy/paste issue.  Csound 5.11
>>>>>>> crashes the same way 5.12 does.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ~ andy.f
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 14, 2010 at 11:33 PM, andy fillebrown
>>>>>>>  wrote:
>>>>>>>> I profiled qutecsound using depends and it says I'm missing a few
>>>>>>>> libraries.  All of the implicit libraries are available, but
>>>>>>>> some of
>>>>>>>> the delay-loaded ones are missing, apparently.
>>>>>>>>
>>>>>>>> I don't know why msvcrt.dll is included in the installer package,
>>>>>>>> either, but it's got a lot of missing dependencies, too.
>>>>>>>>
>>>>>>>> This is on winxp sp3.
>>>>>>>>
>>>>>>>> ~ af
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Sep 14, 2010 at 10:51 PM, andy fillebrown
>>>>>>>>  wrote:
>>>>>>>>> I can force winxp to attempt to load it but I don't have the
>>>>>>>>> libraries
>>>>>>>>> kernelbase.dll, api-ms-win-core-.dll, etc.  Is this the
>>>>>>>>> msvcrt
>>>>>>>>> from win7?
>>>>>>>>>
>>>>>>>>> ~ af
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Sep 14, 2010 at 10:06 PM, Michael Gogins
>>>>>>>>>  wrote:
>>>>>>>>>> About DLL search order, this is complex and depends on Windows
>>>>>>>>>> version, configuration, etc. See
>>>>>>>>>> http://support.microsoft.com/kb/2389418.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> On Tue, Sep 14, 2010 at 9:14 PM, andy fillebrown
>>>>>>>>>>  wrote:
>>>>>>>>>>> Setting up to use CsoundPerformanceThread in my app will take
>>>>>>>>>>> some
>>>>>>>>>>> time.  I'll see if I can get to it tomorrow.
>>>>>>>>>>>
>>>>>>>>>>> What is the deal with the msvcrt.dll that comes with the Csound
>>>>>>>>>>> install.  In all my testing I've never seen it load.  It's
>>>>>>>>>>> always the
>>>>>>>>>>> much older version from my system32 directory that loads.
>>>>>>>>>>>
>>>>>>>>>>> ~ af
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Sep 14, 2010 at 3:02 PM, Michael Gogins
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> What happens if you do use csoudperformancethread?
>>>>>>>>>>>>
>>>>>>>>>>>> MKG from cell phone
>>>>>>>>>>>>
>>>>>>>>>>>> On Sep 14, 2010 2:46 PM, "andy fillebrown" >>>>>>>>>>> >
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> I did a quick search on "Qt thread local" and found a bug
>>>>>>>>>>>> report that
>>>>>>>>>>>> seems to indicate Qt does use thread local storage.
>>>>>>>>>>>> http://bugreports.qt.nokia.com/browse/QTBUG-9436
>>>>>>>>>>>>
>>>>>>>>>>>> I'm not sure what the implications of thread local storage
>>>>>>>>>>>> are but if
>>>>>>>>>>>> it was the problem, I'd expect to see it in my app, too.
>>>>>>>>>>>> The only
>>>>>>>>>>>> difference between my app and QuteCsound that seems like it
>>>>>>>>>>>> would make
>>>>>>>>>>>> a difference is I'm not using CsoundPerformanceThread for
>>>>>>>>>>>> threaded
>>>>>>>>>>>> playback.  I'm using a QThread and calling
>>>>>>>>>>>> csoundPerformKsmps from it,
>>>>>>>>>>>> instead.
>>>>>>>>>>>>
>>>>>>>>>>>> ~ andy.f
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Sep 13, 2010 at 3:12 PM, Michael Gogins
>>>>>>>>>>>>
>>>>>>>>>>>>  wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Perhaps thread-local variables, probably in some third
>>>>>>>>>>>>> party library.
>>>>>>>>>>>>> Does Qt itself use thread-...
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Michael Gogins
>>>>>>>>>> Irreducible Productions
>>>>>>>>>> http://www.michael-gogins.com
>>>>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net