[Mono-bugs] [Bug 571151] New: Mono.Debugger.TargetMemoryException at address 0x00000004

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 15 15:21:34 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=571151#c0


           Summary: Mono.Debugger.TargetMemoryException at address
                    0x00000004
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 32bit
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bkesecker at augustasystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6)
Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6

I have two (nearly identical) machines running this same configuration, both
exhibit the same behavior described here (no VMs involved).  This exception is
displayed in the MonoVS Log Viewer when Remote Debugging is chosen from a
Visual Studio 2008 instance running a test application (one with just a form).

The machine running VS has an activated version of Mono Tools for Visual Studio
at version 1.0 (the lastest as of this writing) running Windows 7.

This exception looks like something I will be unable to debug in VS.

This test application does, however, work fine in the openSuSE VM image.

[10:09:45:5599770] Using config file:
/usr/lib/monovs-server/monovs-debug-server.exe.config
[10:09:48:5604900] EXCEPTION: Mono.Debugger.TargetMemoryException: Cannot read
4 bytes from target memory at address 0x00000004
[10:09:48:5608350]   at Mono.Debugger.Backend.Inferior.read_buffer
(TargetAddress address, Int32 size) [0x00047] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/Inferior.cs:884 
[10:09:48:5609880]   at Mono.Debugger.Backend.Inferior.ReadInteger
(TargetAddress address) [0x0000c] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/Inferior.cs:919 
[10:09:48:5611190]   at
Mono.Debugger.Languages.Mono.MonoRuntime.MonoMethodGetToken
(Mono.Debugger.TargetMemoryAccess memory, TargetAddress method) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/languages/mono/MonoRuntime.cs:195 
[10:09:48:5612440]   at (wrapper remoting-invoke-with-check)
Mono.Debugger.Languages.Mono.MonoRuntime:MonoMethodGetToken
(Mono.Debugger.TargetMemoryAccess,Mono.Debugger.TargetAddress)
[10:09:48:5613680]   at
Mono.Debugger.Languages.Mono.MonoLanguageBackend.ReadMonoMethod
(Mono.Debugger.TargetMemoryAccess memory, TargetAddress address) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/languages/mono/MonoLanguageBackend.cs:487 
[10:09:48:5614970]   at
Mono.Debugger.Languages.Mono.MonoLanguageBackend.reached_main
(Mono.Debugger.TargetMemoryAccess target, TargetAddress method) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/languages/mono/MonoLanguageBackend.cs:481 
[10:09:48:5616440]   at
Mono.Debugger.Languages.Mono.MonoLanguageBackend.Notification
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, NotificationType type, TargetAddress
data, Int64 arg) [0x00080] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/languages/mono/MonoLanguageBackend.cs:1396 
[10:09:48:5618120]   at (wrapper remoting-invoke-with-check)
Mono.Debugger.Languages.Mono.MonoLanguageBackend:Notification
(Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,Mono.Debugger.Backend.NotificationType,Mono.Debugger.TargetAddress,long)
[10:09:48:5619550]   at
Mono.Debugger.Backend.MonoThreadManager.HandleChildEvent
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, Mono.Debugger.Backend.ChildEvent&
cevent, System.Boolean& resume_target) [0x003d9] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/MonoThreadManager.cs:373 
[10:09:48:5620810]   at Mono.Debugger.Backend.ThreadManager.HandleChildEvent
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, Mono.Debugger.Backend.ChildEvent&
cevent, System.Boolean& resume_target) [0x00121] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/ThreadManager.cs:210 
[10:09:48:5622050]   at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.ThreadManager:HandleChildEvent
(Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,Mono.Debugger.Backend.Inferior/ChildEvent&,bool&)
[10:09:48:5623310]   at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent
(Mono.Debugger.Backend.ChildEvent cevent) [0x0021e] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/SingleSteppingEngine.cs:216 
[10:09:48:5624570]   at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent
(Int32 status) [0x0000c] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/SingleSteppingEngine.cs:155 
[10:09:48:5625810]   at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.SingleSteppingEngine:ProcessEvent (int)
[10:09:48:5627130]   at Mono.Debugger.Backend.ThreadManager.engine_thread_main
() [0x000cd] in
/usr/src/packages/BUILD/mono-debugger-2.4.2.2/backend/ThreadManager.cs:333 

Reproducible: Always

Steps to Reproduce:
1. Load VS test project
2. Compile project (make sure no errors)
3. Select Debug Remotely in Mono from Mono menu
4. View message in remote MonoVS GUI Server Log Viewer window
Actual Results:  
The exception as described above.

Expected Results:  
Application starts.

-- 
Configure bugmail: http://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