[Mono-dev] Registry Bug still around?

Cory Foy usergroup at cornetdesign.com
Sat May 27 18:08:29 EDT 2006


Hi All,

I've got the latest version of Mono, and it looks like the Registry bug 
is still around on Linux. I've created a test case which is attached to 
this email. Here's what I get while running it:

foyc at dilbert ~/workspace/monobugs $ mono -V
Mono JIT compiler version 1.1.15, (C) 2002-2005 Novell, Inc and 
Contributors. www.mono-project.com
         TLS:           normal
         GC:            Included Boehm (with typed GC)
         SIGSEGV:       normal
         Disabled:      none
foyc at dilbert ~/workspace/monobugs $ mono regtest.exe
Setting Values
Clearing Names

Unhandled Exception: System.InvalidCastException: Cannot cast from 
source type to destination type.
in <0x0008a> Microsoft.Win32.UnixRegistryApi:DeleteValue 
(Microsoft.Win32.RegistryKey rkey, System.String value, Boolean 
throw_if_missing)
in <0x00035> Microsoft.Win32.RegistryKey:DeleteValue (System.String 
value, Boolean shouldThrowWhenKeyMissing)
in <0x0000f> Microsoft.Win32.RegistryKey:DeleteValue (System.String value)
in (wrapper remoting-invoke-with-check) 
Microsoft.Win32.RegistryKey:DeleteValue (string)
in <0x00120> RegBug:Main (System.String[] args)


I know before this hadn't made it into the trunk, so I'm wondering if 
perhaps it still hasn't. Can anyone provide some insight into it? Thanks!

-- 
Cory Foy
http://www.cornetdesign.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regtest.cs
Type: text/x-csharp
Size: 666 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060527/5cf0648d/attachment.bin 


More information about the Mono-devel-list mailing list