[Mono-bugs] [Bug 532385] Suspends while compiling code with CSharpCodeProvider ONLY when debugging

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 20 07:37:08 EDT 2009


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

User lluis at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532385#c1


Lluis Sanchez <lluis at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|C# Binding                  |backend
         AssignedTo|mkrueger at novell.com         |martin at novell.com
            Product|MonoDevelop                 |Mono: Debugger
          QAContact|monodevelop-bugs at lists.ximi |mono-bugs at lists.ximian.com
                   |an.com                      |




--- Comment #1 from Lluis Sanchez <lluis at novell.com>  2009-08-20 05:37:06 MDT ---
This is a bug in the debugger. I tried running with mdb and I got this:

lluis at linux-nesp:~/Projects/borra377/borra377/bin/Debug> mdb borra377.exe
Mono Debugger
(mdb) r
Starting program: borra377.exe 
Process #1 created new thread @4.
Thread @1 stopped at #0: 0xb700c30b in prg.Program.Main(string[])+0x53 at
/home/lluis/Projects/borra377/borra377/Main.cs:42.
  42             CSharpCodeProvider csc = new CSharpCodeProvider ();
(mdb) c
Compiling...
Process #1 created new thread @5.
Process #1 created new thread @6.
Process #1 created new thread @7.
Cannot load symbol file `data-0xb6407b28': System.IO.FileNotFoundException:
File '/home/lluis/Projects/borra377/borra377/bin/Debug/data-0xb6407b28' not
found.
File name: '/home/lluis/Projects/borra377/borra377/bin/Debug/data-0xb6407b28'
  at Mono.Cecil.Binary.ImageReader.Read (System.String file) [0x0008b] in
/home/lluis/work/mcs/class/Mono.Cecil/Mono.Cecil.Binary/ImageReader.cs:90 
  at Mono.Cecil.AssemblyFactory.GetAssembly (System.String file) [0x00000] in
/home/lluis/work/mcs/class/Mono.Cecil/Mono.Cecil/AssemblyFactory.cs:65 
  at Mono.Debugger.Languages.Mono.MonoSymbolFile..ctor
(Mono.Debugger.Languages.Mono.MonoLanguageBackend language,
Mono.Debugger.Backend.ProcessServant process, Mono.Debugger.TargetMemoryAccess
memory, TargetAddress address) [0x00142] in
/home/lluis/nowork/mono-2-4/debugger/languages/mono/MonoSymbolFile.cs:230 
EXCEPTION: System.NullReferenceException: Object reference not set to an
instance of an object
  at Mono.Debugger.Languages.Mono.MonoLanguageBackend.Notification
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, NotificationType type, TargetAddress
data, Int64 arg) [0x000b7] in
/home/lluis/nowork/mono-2-4/debugger/languages/mono/MonoLanguageBackend.cs:1403 
  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)
  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) [0x003e4] in
/home/lluis/nowork/mono-2-4/debugger/backend/MonoThreadManager.cs:377 
  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
/home/lluis/nowork/mono-2-4/debugger/backend/ThreadManager.cs:210 
  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&)
  at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent
(Mono.Debugger.Backend.ChildEvent cevent) [0x00237] in
/home/lluis/nowork/mono-2-4/debugger/backend/SingleSteppingEngine.cs:221 
  at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Int32 status)
[0x0000c] in
/home/lluis/nowork/mono-2-4/debugger/backend/SingleSteppingEngine.cs:155 
  at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.SingleSteppingEngine:ProcessEvent (int)
  at Mono.Debugger.Backend.ThreadManager.engine_thread_main () [0x000cd] in
/home/lluis/nowork/mono-2-4/debugger/backend/ThreadManager.cs:333 
^C^C^C(mdb)

-- 
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