List Info

Thread: New release -- DllNotFound exception for msvcrt




New release -- DllNotFound exception for msvcrt
user name
2007-02-23 17:20:16
Hello all,

Congratulations on the new release!  I'm so excited to see it!  I built the source, and am running into a problem when I try to launch, it complains that it can't find msvcrt.

Here's the exception details:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.GettextCatalog ---> System.DllNotFoundException: msvcrt
  at (wrapper managed-to-native) Mono.Unix.Native.Stdlib:free (intptr)
  at Mono.Unix.UnixMarshal.FreeHeap (IntPtr ptr) [0x00000] in /home/ben/workspaces/mono/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs:119
  at Mono.Unix.Catalog.Init (System.String package, System.String localedir) [0x00061] in /home/ben/workspaces/mono/mcs/class/Mono.Posix/Mono.Unix/Catalog.cs:65
  at MonoDevelop.Core.GettextCatalog..cctor () [0x00000] --- End of inner exception stack trace ---

&nbsp; at <0x00000> <unknown method>
  at MonoDevelop.Core.ServiceManager.FetchService (System.Type serviceType) [0x00000]
  at MonoDevelop.Core.ServiceManager.GetService (System.Type serviceType) [0x00000]
  at MonoDevelop.Core.Runtime.get_Properties () [0x00000]
  at MonoDevelop.Core.AddIns.Setup.SetupService.get_UserConfigPath () [0x00000]
  at MonoDevelop.Core.AddIns.Setup.SetupService.get_UserAddinPath () [0x00000]
  at MonoDevelop.Core.AddIns.Setup.SetupService.Initialize (System.String[] addInDirs, Boolean ignoreDefaultPath) [0x00000]
  at MonoDevelop.Core.AddIns.AddInService.Initialize () [0x00000]

I know of at least one other person who is having this problem.&nbsp; Anyone know why it might be happening?

--
ben joldersma
http://ben.creationsnetwork.org
Re: New release -- DllNotFound exception for msvcrt
country flaguser name
Belgium
2007-02-24 02:58:58

On Fri, 2007-02-23 at 15:20 -0800, Ben Joldersma wrote:
Hello all,

Congratulations on the new release!&nbsp; I'm so excited to see it!  I built the source, and am running into a problem when I try to launch, it complains that it can't find msvcrt.

I have the same problem.
I have 2 parallel mono installations, one just for running, one used as a development tree. After having the problem in my run tree, I started upgrading the development tree piece by piece to see where the problem occurred.
No problems after the libgdiplus upgrade, but after the mono upgrade everything stopped working and complained about the missing DLL.

I did an upgrade of everything just now and the problem is still there, so I would think this is a mono related issue.

Someone on IRC suggested that it might be a problem of mismapped or linked DLL's, but I have no idea why this would happen, I can't see a significant change to required DLL's from the mono installation I had from Thursday, to the one from Friday.

Regards,
Jensen
Re: New release -- DllNotFound exception for msvcrt
user name
2007-02-26 05:46:22
Well msvcrt is a native (Windows-only) runtime library for
programs
compiled with MS C/C++ compiler. Seems like someone is
p/invoking into
it to use 'free()' so a Mono.Posix.dll.config is needed to
redirect it
to call free() on libc.so.

I'm heaving dns-related problems to access the svn
repository, so I
can't check it directly, so please post a bug case for mono
(not
monodevelop), for it. It may just be a packaging issue, or
the config
file may be outdated.

Thanks,

On 2/24/07, Jensen Somers <jensen.somersgmail.com> wrote:
>
>  Hi,
>
>  On Fri, 2007-02-23 at 15:20 -0800, Ben Joldersma
wrote:
>
>  Hello all,
>
>  Congratulations on the new release!  I'm so excited to
see it!  I built the
> source, and am running into a problem when I try to
launch, it complains
> that it can't find msvcrt.
>
>  I have the same problem.
>  I have 2 parallel mono installations, one just for
running, one used as a
> development tree. After having the problem in my run
tree, I started
> upgrading the development tree piece by piece to see
where the problem
> occurred.
>  No problems after the libgdiplus upgrade, but after
the mono upgrade
> everything stopped working and complained about the
missing DLL.
>
>  I did an upgrade of everything just now and the
problem is still there, so
> I would think this is a mono related issue.
>
>  Someone on IRC suggested that it might be a problem of
mismapped or linked
> DLL's, but I have no idea why this would happen, I
can't see a significant
> change to required DLL's from the mono installation I
had from Thursday, to
> the one from Friday.
>
>  Regards,
>  Jensen
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-listlists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the
unreasonable one
persists in trying to adapt the world to himself. Therefore
all
progress depends on the unreasonable man." George
Bernard Shaw
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )