So, just to be clear: if you move these two DLLs out of that directory, there is no problem? Victor ----- Original Message ----- From: Michael Gogins Date: Wednesday, September 1, 2010 12:09 am Subject: Re: [Cs-dev] Holdup on Windows installers To: Developer discussions > In the development environment all shared libraries in the Csound > directory are loaded and interrogated for module entry points. Then > they are unloaded. > > All modules that are loaded for use also are unloaded > (FreeLibrary on > Windows, problematic) at the end of the CSound run. > > Regards, > Mike > > On Tue, Aug 31, 2010 at 5:55 PM, > wrote: > > But tclcsound.dll is not a Csound plugin. How does that happen? > > > > ----- Original Message ----- > > From: Michael Gogins > > Date: Tuesday, August 31, 2010 10:46 pm > > Subject: Re: [Cs-dev] Holdup on Windows installers > > To: Developer discussions > > > >> I'm pretty sure there is an interaction with FLTK. In GCC and MinGW > >> and TDM MinGW, the code for handling exceptions across image > >> boundaries in multi-threaded code has been in flux for two > >> years. I'm > >> beginning to wonder why it ever worked. I'm going to revert the > >> compiler and see if that helps. > >> > >> Unloading libraries has also been an issue, I may just omit > that step > >> on Windows and see what happens. > >> > >> Note that at this point I am building FLTK itself, PortAudio, and > >> Csound with the same options for threading and exception handling. > >> > >> The same exception happens in tclcsound.dll and in rtpa.dll > even if > >> all plugins and modules that link with FLTK are removed from > the path > >> (though I hope I didn't miss anyway). > >> > >> On Tue, Aug 31, 2010 at 4:47 PM, > >> wrote: > >> > I'm not sure that is the case. I think it's Csound calling the > >> FLTK function. > >> > > >> > ----- Original Message ----- > >> > From: Felipe Sateler > >> > Date: Tuesday, August 31, 2010 6:42 pm > >> > Subject: Re: [Cs-dev] Holdup on Windows installers > >> > To: Developer discussions > >> > > >> >> What suprises me is that rtpa wants to call code from fltk. > >> >> > >> >> On Tue, Aug 31, 2010 at 13:34, andy fillebrown > >> >> wrote: > >> >> > Looks to me like the fltk threading issue reported earlier. > >> >> > > >> >> > Cheers, > >> >> > ~andy.f > >> >> > > >> >> > > >> >> > > >> >> > On Tue, Aug 31, 2010 at 1:25 PM, Michael Gogins > >> >> > wrote: > >> >> >> I've run into a serious roadblock on preparing the Csound > >> >> 5.12 windows > >> >> >> installer. > >> >> >> > >> >> >> The module loading and module unloading code causes > >> segmentation>> >> violations with some libraries including > >> tclcsound.dll and > >> >> rtpa.dll.>> This in turn causes Csound not to be re-startable. > >> >> And that means > >> >> >> QuteCsound and other hosts do not work. > >> >> >> > >> >> >> The problem appears to be exhibited in this stack trace and > >> >> seems to > >> >> >> have something to do with thread local storage in > MinGW. I > >> am using > >> >> >> the Twilight Dragon Media build of MinGW but I will try > >> the regular > >> >> >> build of MinGW now. > >> >> >> > >> >> >> #0 ?? () at C:/utah/opt/fltk-1.1.10/FL/Fl_Repeat_Button.H:33 > >> >> >> #1 0x6f082ee8 in __mingwthr_run_key_dtors () > >> >> >> from D:\utah\home\mkg\csound\head\rtpa.dll > >> >> >> #2 0x6f082f26 in __mingw_TLScallback () > >> >> >> from D:\utah\home\mkg\csound\head\rtpa.dll > >> >> >> #3 0x6f082943 in __dyn_tls_dtor@12 () > >> >> >> from D:\utah\home\mkg\csound\head\rtpa.dll > >> >> >> #4 0x77c597a0 in > >> >> ntdll!RtlQueryInformationActiveActivationContext () > >> >> >> from C:\Windows\system32\ntdll.dll > >> >> >> #5 0x6f080000 in ?? () > >> >> >> #6 0x77c9d9a4 in ntdll!AlpcMaxAllowedMessageLength () > >> >> >> from C:\Windows\system32\ntdll.dll > >> >> >> #7 0x6f082920 in __tlregdtor () from > >> >> D:\utah\home\mkg\csound\head\rtpa.dll>> #8 0x77c99a29 in > >> >> ntdll!AlpcMaxAllowedMessageLength () > >> >> >> from C:\Windows\system32\ntdll.dll > >> >> >> #9 0x00000000 in ?? () > >> >> >> > >> >> >> > >> >> >> Any hints, anyone? > >> >> >> > >> >> >> Regards, > >> >> >> Mike > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Michael Gogins > >> >> >> Irreducible Productions > >> >> >> http://www.michael-gogins.com > >> >> >> Michael dot Gogins at gmail dot com > >> >> >> > >> >> >> -------------------------------------------------------- > --- > >> --- > >> >> ---------------- > >> >> >> 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 > >> >> >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> >> >> > >> >> > > >> >> > --------------------------------------------------------- > --- > >> --- > >> >> --------------- > >> >> > 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 > >> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> > >> >> Saludos, > >> >> Felipe Sateler > >> >> > >> >> ----------------------------------------------------------- > --- > >> --- > >> >> ------------- > >> >> 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 > >> >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > > >> > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music, > >> > National University of Ireland, Maynooth > >> > > >> > > >> > ------------------------------------------------------------ > --- > >> --------------- > >> > 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 > >> > https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > > >> > >> > >> > >> -- > >> Michael Gogins > >> Irreducible Productions > >> http://www.michael-gogins.com > >> Michael dot Gogins at gmail dot com > >> > >> -------------------------------------------------------------- > --- > >> ------------- > >> 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 > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music, > > National University of Ireland, Maynooth > > > > --------------------------------------------------------------- > --------------- > > 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 > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > ----------------------------------------------------------------- > ------------- > 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 > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini, Senior Lecturer, Dept. of Music, National University of Ireland, Maynooth