[Mono-bugs] [Bug 656605] New: Soft debugger crash in iPhone simulator.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 30 12:24:43 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=656605

https://bugzilla.novell.com/show_bug.cgi?id=656605#c0


           Summary: Soft debugger crash in iPhone simulator.
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: x86
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Debugger
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: clementj at exactmodus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet
           Blocker: No


Created an attachment (id=402744)
 --> (http://bugzilla.novell.com/attachment.cgi?id=402744)
MonoDevelop solution that cause the bug.

Description of Problem:
I have attached a project where the debugger fails to start. I have removed
many files to this project in order to nail down the problem without success.
The only workaround I've found is to stop referencing the SharedCode assembly
and use link files instead.

I have tried with two Mac Mini (Intel Core 2 Duo) with the same result. I have
tried on a iPhone device and it works. So it seems to be related to the
simulator.

Components version I use:
MonoTouch v3.1.3
MonoDevelop v2.4.1
Mono v2.8.1
iOS 4.1

Steps to reproduce the problem:
1. Start the attached project in debug mode on the simulator = Exception.
2. Remove a file from SharedCode assembly (ex: BaseClass.cs or MapableMath.cs)
and the debugger is working fine!

Actual Results: Can't start. We get an exception during loading.

Loaded assembly: /Users/exactmodus/Library/Application Support/iPhone
Simulator/4.1/Applications/F4F5F530-5CB8-4437-98EF-713B0BA94B40/CRASH_SOFTDEBUG.app/monotouch.dll
[External]
Mono.Debugger.Soft.VMDisconnectedException: Exception of type
'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32
command, Mono.Debugger.Soft.PacketWriter packet) [0x00000] in <filename
unknown>:0 
  at Mono.Debugger.Soft.Connection.Assembly_GetName (Int64 id) [0x00000] in
<filename unknown>:0 
  at Mono.Debugger.Soft.AssemblyMirror.GetName () [0x00000] in <filename
unknown>:0 
  at Mono.Debugging.Soft.SoftDebuggerSession.UpdateAssemblyFilters
(Mono.Debugger.Soft.AssemblyMirror asm) [0x00000] in <filename unknown>:0 
  at Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e, Boolean dequeuing) [0x00000] in <filename
unknown>:0 
  at Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e) [0x00000] in <filename unknown>:0 
  at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler () [0x00000] in
<filename unknown>:0 

Expected Results: Start a debugging session


How often does this happen?  Always


Additional Information:

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


More information about the mono-bugs mailing list