[Mono-bugs] [Bug 553021] New: "Key Duplication" exception when running a winforms app remotely

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 5 16:41:29 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=553021


           Summary: "Key Duplication" exception when running a winforms
                    app remotely
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 1.0.x
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: martin at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: jpobst at novell.com, jhill at novell.com
          Found By: Component Test


Description of Problem:
"Key Duplication" exception when running a winforms app remotely. See below for
the full error.

This was found in MonoVS 1.0p6 (r4406) on WinXP i586 -> MonoVS VM.


Steps to reproduce the problem:
1. Create a new solution based on the C# Winforms template project
2. In Tools / Options / Mono / Debugging Options that IOMAP is checked
3. Click Mono / Run remotely in Mono
4. Notice the exception


Actual Results:
Exception.


Expected Results:
No exception.


How often does this happen? 
every time.


Additional Information:
---------------------------

---------------------------
System.ArgumentException: Key duplication when adding: MONO_IOMAP

Server stack trace: 
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object
value, Boolean overwrite) [0x00137] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Collections/Hashtable.cs:821 
  at System.Collections.Hashtable.Add (System.Object key, System.Object value)
[0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Collections/Hashtable.cs:466 
  at System.Collections.Specialized.ProcessStringDictionary.Add (System.String
key, System.String value) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System/System.Collections.Specialized/ProcessStringDictionary.cs:88 
  at
Mono.VisualStudio.Mdb.DebuggerManager.Mono.VisualStudio.Mdb.IMdbManager.RunSession
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x000b0] in
/usr/src/packages/BUILD/monovs-server-1.0/MonoVS.DebugServer/DebuggerManager.cs:149 
  at (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
(System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x000a4] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:147 

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at Mono.VisualStudio.Mdb.IMdbManager.RunSession(DebuggingSession session)
   at Novell.MonoVS.RunRemotelyRunner.Run()
   at Novell.MonoVS.Package.RunRemotelyCallback(Object sender, EventArgs e)
---------------------------
OK   
---------------------------

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list