Windows Unicode Release Runtime Error opening preferences

7 messages Options
Embed this post
Permalink
Gale (Audacity Team)

Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink

In my Unicode Release build of 1.3.8, built with VS2008 and
using the VS2008-built wx2.8.10 dlls, I always get the
following when trying to open Preferences, though
Preferences opens and saves correctly after OK'ing the
warning:

   Runtime Error!

   Program: C:\Program Files...

   R6034
   An application has made an attempt to load the C runtime library
   incorrectly. Please contact the application's support team for more
   information.

ANSI Release does not have this issue. Not yet built Unicode Debug
but will do so.



Gale




------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Greg Williams-2

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
I recently made changes to the Preferences pane using the new portmidi
library, which doesn't support Unicode Debug or Unicode Release yet.
Although the fact that your error is runtime and not compile-time
leads me to believe that this isn't the problem, check that
EXPERIMENTAL_MIDI_OUT is off when building these two configurations,
just to be sure.

-Greg

On Jul 2, 2009, at 11:57 AM, [hidden email] wrote:

>
> In my Unicode Release build of 1.3.8, built with VS2008 and
> using the VS2008-built wx2.8.10 dlls, I always get the
> following when trying to open Preferences, though
> Preferences opens and saves correctly after OK'ing the
> warning:
>
>  Runtime Error!
>
>  Program: C:\Program Files...
>
>  R6034
>  An application has made an attempt to load the C runtime library
>  incorrectly. Please contact the application's support team for more
>  information.
>
> ANSI Release does not have this issue. Not yet built Unicode Debug
> but will do so.
>
>
>
> Gale
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Leland (Audacity Team)

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
In reply to this post by Gale (Audacity Team)
Gale,

Are you certain you have built VS2008/2.8.10 Unicode DLL versions of the
libraries?  Also, make sure any others aren't being picked up in the path.
Another thing that makes preferences special is that it loads FFmpeg and
Lame libraries.  I wonder if those might be causing you pain.

Leland

[hidden email] wrote:

> In my Unicode Release build of 1.3.8, built with VS2008 and
> using the VS2008-built wx2.8.10 dlls, I always get the
> following when trying to open Preferences, though
> Preferences opens and saves correctly after OK'ing the
> warning:
>
>    Runtime Error!
>
>    Program: C:\Program Files...
>
>    R6034
>    An application has made an attempt to load the C runtime library
>    incorrectly. Please contact the application's support team for more
>    information.
>
> ANSI Release does not have this issue. Not yet built Unicode Debug
> but will do so.
>
>
>
> Gale
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>


------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale (Audacity Team)

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
In reply to this post by Greg Williams-2

| From Greg Williams <[hidden email]>
| Fri, 3 Jul 2009 09:45:32 -0700
| Subject: [Audacity-devel] Windows Unicode Release Runtime Error opening preferences
> I recently made changes to the Preferences pane using the new portmidi
> library, which doesn't support Unicode Debug or Unicode Release yet.
> Although the fact that your error is runtime and not compile-time
> leads me to believe that this isn't the problem, check that
> EXPERIMENTAL_MIDI_OUT is off when building these two configurations,
> just to be sure.
>
> -Greg

Thanks, Greg.  EXPERIMENTAL_MIDI_OUT is off (I had not changed
that).


Gale

 

> On Jul 2, 2009, at 11:57 AM, [hidden email] wrote:
>
> >
> > In my Unicode Release build of 1.3.8, built with VS2008 and
> > using the VS2008-built wx2.8.10 dlls, I always get the
> > following when trying to open Preferences, though
> > Preferences opens and saves correctly after OK'ing the
> > warning:
> >
> >  Runtime Error!
> >
> >  Program: C:\Program Files...
> >
> >  R6034
> >  An application has made an attempt to load the C runtime library
> >  incorrectly. Please contact the application's support team for more
> >  information.
> >
> > ANSI Release does not have this issue. Not yet built Unicode Debug
> > but will do so.
> >
> >
> >
> > Gale
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > audacity-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel



------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale (Audacity Team)

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
In reply to this post by Leland (Audacity Team)

| From Leland <[hidden email]>
| Fri, 03 Jul 2009 12:21:17 -0500
| Subject: [Audacity-devel] Windows Unicode Release Runtime Error opening preferences
> Are you certain you have built VS2008/2.8.10 Unicode DLL versions of the
> libraries?  Also, make sure any others aren't being picked up in the path.
> Another thing that makes preferences special is that it loads FFmpeg and
> Lame libraries.  I wonder if those might be causing you pain.
>
> Leland

I think everything is in order. I got rid of VS2005 and wx2.8.9 before I
did anything, I have a correct-looking D:\wxWidgets-2.8.10\build\msw\vc_mswudll
folder, the system and user PATH looks fine, and I reset cfg so that
neither LAME nor FFmpeg loads.

If this means no-one else is seeing this in Unicode Release then all I
can do is redownload and rebuild wx2.8.10 and see if it makes any
difference, or see if the same happens if I build on the Vista machine.
Is the .NET version going to make any difference? I have 3.5 SP1
(as installed by VS 2009).    

 
Gale


> [hidden email] wrote:
> > In my Unicode Release build of 1.3.8, built with VS2008 and
> > using the VS2008-built wx2.8.10 dlls, I always get the
> > following when trying to open Preferences, though
> > Preferences opens and saves correctly after OK'ing the
> > warning:
> >
> >    Runtime Error!
> >
> >    Program: C:\Program Files...
> >
> >    R6034
> >    An application has made an attempt to load the C runtime library
> >    incorrectly. Please contact the application's support team for more
> >    information.
> >
> > ANSI Release does not have this issue. Not yet built Unicode Debug
> > but will do so.
> >
> >
> >
> > Gale
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > audacity-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/audacity-devel
> >
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel



------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Vaughan Johnson

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
Gale, as a data point, I'm not seeing that problem on my WinXP system
with a fresh checkout.

- Vaughan


Gale Andrews wrote:

> | From Leland <[hidden email]>
> | Fri, 03 Jul 2009 12:21:17 -0500
> | Subject: [Audacity-devel] Windows Unicode Release Runtime Error opening preferences
>  
>> Are you certain you have built VS2008/2.8.10 Unicode DLL versions of the
>> libraries?  Also, make sure any others aren't being picked up in the path.
>> Another thing that makes preferences special is that it loads FFmpeg and
>> Lame libraries.  I wonder if those might be causing you pain.
>>
>> Leland
>>    
>
> I think everything is in order. I got rid of VS2005 and wx2.8.9 before I
> did anything, I have a correct-looking D:\wxWidgets-2.8.10\build\msw\vc_mswudll
> folder, the system and user PATH looks fine, and I reset cfg so that
> neither LAME nor FFmpeg loads.
>
> If this means no-one else is seeing this in Unicode Release then all I
> can do is redownload and rebuild wx2.8.10 and see if it makes any
> difference, or see if the same happens if I build on the Vista machine.
> Is the .NET version going to make any difference? I have 3.5 SP1
> (as installed by VS 2009).    
>
>  
> Gale
>
>
>  
>> [hidden email] wrote:
>>    
>>> In my Unicode Release build of 1.3.8, built with VS2008 and
>>> using the VS2008-built wx2.8.10 dlls, I always get the
>>> following when trying to open Preferences, though
>>> Preferences opens and saves correctly after OK'ing the
>>> warning:
>>>
>>>    Runtime Error!
>>>
>>>    Program: C:\Program Files...
>>>
>>>    R6034
>>>    An application has made an attempt to load the C runtime library
>>>    incorrectly. Please contact the application's support team for more
>>>    information.
>>>
>>> ANSI Release does not have this issue. Not yet built Unicode Debug
>>> but will do so.
>>>
>>>
>>>
>>> Gale
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> audacity-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>>      
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>    
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>  

------------------------------------------------------------------------------
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale (Audacity Team)

Re: Windows Unicode Release Runtime Error opening preferences

Reply Threaded More More options
Print post
Permalink
Vaughan Johnson wrote:
> Gale, as a data point, I'm not seeing that problem on my WinXP system
> with a fresh checkout.

It seems the problem was the actual version of lame_enc.dll I had in the build folder, combined with the fact that I had not added in the Microsoft.VC80.CRT.manifest (I always trash the build folder now with every build to be safe). The lame_enc.dll version I had was not from us, but one someone had reported as recognised by 1.3.7 but causing a crash. So I tested it to see if the fixes in 1.3.8 meant this dll worked in that version. It does, but after installing .NET 3.5 SP1 that comes with VS 2009, only as long as the Audacity installation folder contains the manifest. The dll from us happens to give no problem even if the manifest is missing. Sorry for the non-issue, and it doesn't affect the nightly builds which have always had the manifest file.



Gale


Gale Andrews wrote:
> | From Leland <leland@audacityteam.org>
> | Fri, 03 Jul 2009 12:21:17 -0500
> | Subject: [Audacity-devel] Windows Unicode Release Runtime Error opening preferences
>  
>> Are you certain you have built VS2008/2.8.10 Unicode DLL versions of the
>> libraries?  Also, make sure any others aren't being picked up in the path.
>> Another thing that makes preferences special is that it loads FFmpeg and
>> Lame libraries.  I wonder if those might be causing you pain.
>>
>> Leland
>>    
>
> I think everything is in order. I got rid of VS2005 and wx2.8.9 before I
> did anything, I have a correct-looking D:\wxWidgets-2.8.10\build\msw\vc_mswudll
> folder, the system and user PATH looks fine, and I reset cfg so that
> neither LAME nor FFmpeg loads.
>
> If this means no-one else is seeing this in Unicode Release then all I
> can do is redownload and rebuild wx2.8.10 and see if it makes any
> difference, or see if the same happens if I build on the Vista machine.
> Is the .NET version going to make any difference? I have 3.5 SP1
> (as installed by VS 2009).    
>
>  
> Gale
>
>
>  
>> gale@audacityteam.org wrote:
>>    
>>> In my Unicode Release build of 1.3.8, built with VS2008 and
>>> using the VS2008-built wx2.8.10 dlls, I always get the
>>> following when trying to open Preferences, though
>>> Preferences opens and saves correctly after OK'ing the
>>> warning:
>>>
>>>    Runtime Error!
>>>
>>>    Program: C:\Program Files...
>>>
>>>    R6034
>>>    An application has made an attempt to load the C runtime library
>>>    incorrectly. Please contact the application's support team for more
>>>    information.
>>>
>>> ANSI Release does not have this issue. Not yet built Unicode Debug
>>> but will do so.
>>>
>>>
>>>
>>> Gale