[Mono-bugs] [Bug 74470][Maj] New - mdb can't debug a gtk+glade app

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 6 Apr 2005 22:32:47 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by f@rtfs.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74470

--- shadow/74470	2005-04-06 22:32:47.000000000 -0400
+++ shadow/74470.tmp.2229	2005-04-06 22:32:47.000000000 -0400
@@ -0,0 +1,92 @@
+Bug#: 74470
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: cli
+AssignedTo: toshok@ximian.com                            
+ReportedBy: f@rtfs.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mdb can't debug a gtk+glade app
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. compile the program (I used monodevelop)
+2. mdb simple.exe
+3. press "r"
+4. press "c"
+
+Actual Results:
+the gui does not show
+the debuggers hangs
+(ctrl-c works)
+
+Expected Results:
+a gui should show up
+
+How often does this happen? 
+always
+
+Additional Information:
+uses gtk-sharp-1.9.2 and glade-sharp-1.9.2
+
+The error must be something with the glade file contents.
+E.g. it worked for a very simple glade file with only a window.
+
+
+console output:
+
+mdb simple.exe
+Mono Debugger
+(mdb) r
+Starting program: simple.exe
+Could not find file
+"/usr/lib/mono/gac/gtk-sharp/2.0.0.0__35e10195dab3c99f/gtk-sharp.dll.mdb".
+Could not find file
+"/usr/lib/mono/gac/glib-sharp/2.0.0.0__35e10195dab3c99f/glib-sharp.dll.mdb".
+Could not find file
+"/usr/lib/mono/gac/atk-sharp/2.0.0.0__35e10195dab3c99f/atk-sharp.dll.mdb".
+Process @3 stopped at #0: 0xb775f3bb in GladeApp.Main(System.String[])+0xb
+at /home/sturm/simple/Main.cs:13.
+  13            new GladeApp (args);
+(mdb) c
+Could not find file
+"/usr/lib/mono/gac/glade-sharp/2.0.0.0__35e10195dab3c99f/glade-sharp.dll.mdb".
+Could not find file
+"/usr/lib/mono/gac/gdk-sharp/2.0.0.0__35e10195dab3c99f/gdk-sharp.dll.mdb".
+Cannot read DWARF debugging info from symbol file
+`/usr/lib/X11/locale/lib/common/xlcDef.so.2':
+Mono.Debugger.Architecture.DwarfException:
+/usr/lib/X11/locale/lib/common/xlcDef.so.2: Can't find DWARF 2 debugging info
+in [0x00037] (at /home/sturm/src/svn/debugger/arch/DwarfReader.cs:613)
+Mono.Debugger.Architecture.DwarfReader:create_reader_func (System.Object
+user_data)
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_object_object
+(object)
+in [0x00072] (at /home/sturm/src/svn/debugger/classes/ObjectCache.cs:118)
+Mono.Debugger.ObjectCache:get_Data ()
+in [0x0000c] (at /home/sturm/src/svn/debugger/arch/DwarfReader.cs:645)
+Mono.Debugger.Architecture.DwarfReader:get_DebugPubnamesReader ()
+in [0x00001] (at /home/sturm/src/svn/debugger/arch/DwarfReader.cs:577)
+Mono.Debugger.Architecture.DwarfReader:read_pubnames ()
+in [0x001a1] (at /home/sturm/src/svn/debugger/arch/DwarfReader.cs:163)
+Mono.Debugger.Architecture.DwarfReader:.ctor
+(Mono.Debugger.Architecture.Bfd bfd, Mono.Debugger.Module module,
+Mono.Debugger.SourceFileFactory factory)
+in [0x00049] (at /home/sturm/src/svn/debugger/arch/Bfd.cs:645)
+Mono.Debugger.Architecture.Bfd:load_dwarf ()Process @3 stopped at #0:
+0xffffe410.
+0xffffe410      pop    %ebp
+(mdb) q
+The program is running.  Exit anyway? (y or n) y