[Mono-bugs] [Bug 75960][Nor] New - Stack traces seem incorrect
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Sep 2 08:44:03 EDT 2005
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 miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75960
--- shadow/75960 2005-09-02 08:44:03.000000000 -0400
+++ shadow/75960.tmp.10587 2005-09-02 08:44:03.000000000 -0400
@@ -0,0 +1,142 @@
+Bug#: 75960
+Product: Mono: Debugger
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: backend
+AssignedTo: toshok at ximian.com
+ReportedBy: miguel at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Stack traces seem incorrect
+
+I tried debugging a problem with aspnetedit, when I click on a button in
+aspnetedit, I get the following stack trace on the command line:
+
+free(): invalid pointer 0x8958138!
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+Gtk.FileChooserDialog:gtk_file_chooser_dialog_new (intptr,intptr,int,intptr)
+in <0x000fa> Gtk.FileChooserDialog:.ctor (System.String title, Gtk.Window
+parent, FileChooserAction action, System.Object[] button_data)in <0x0009d>
+AspNetEdit.SampleHost.SampleHost:toolboxAddButton_Clicked (System.Object
+sender, System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
+in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) Gtk.Application:gtk_main ()
+in <0x00007> Gtk.Application:Run ()
+in <0x00c9e> AspNetEdit.SampleHost.SampleHost:Main ()
+
+So about 11 levels deep. If I run this with mdb, I get:
+
+free(): invalid pointer 0x89affa8!
+Process @4 received signal 11 at #0: 0x40315ded.
+0x40315ded mov 0x4(%eax),%edx
+(mdb) where
+(*) #0: 0x40315ded
+ #1: 0x4031622b
+ #2: 0x447c20db
+ #3: 0x447c2702
+ #4: 0x447c5389
+ #5: 0x447cb05f
+ #6: 0x43b4e9b7
+ #7: 0x43b57dd9
+ #8: 0x447c90a3
+ #9: 0x447c87be
+ #10: 0x4474bcdc
+ #11: 0x41b2aac1
+ #12: 0x4191710b
+ #13: 0x41917254
+ #14: 0x4191760f
+ #15: 0x419158a8
+ #16: 0x443dab68
+ #17: 0x443db506
+ #18: 0x418f9875
+ #19: 0x418e6bc4
+ #20: 0x418e7271
+ #21: 0x418e77e4
+ #22: 0x418ea66f
+ #23: 0x41d1feac
+ #24: 0x41d20414
+ #25: 0x41d2054a
+ #26: 0x418ee9a5
+ #27: 0x418efcb9
+ #28: 0x41d1feac
+ #29: 0x41d203b8
+ #30: 0x41d2054a
+ #31: 0x418e3a10
+ #32: 0x41d1feac
+ #33: 0x41d20414
+ #34: 0x41d2054a
+ #35: 0x418e3cc0
+ #36: 0x418e3d45
+ #37: 0x431d459e
+ #38: 0x431d42e9
+ #39: 0x431d3a76 in
+AspNetEdit.SampleHost.SampleHost.toolboxAddButton_Clicked(System.Object,System.EventArgs)+0xc6
+at /home/cvs/aspeditor/src/aspnetedit/SampleHost.cs:306
+ #40: 0x41e823ba in <(wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)>+0x52 at 46
+ #41: 0x4305c4f8 in
+GLib.Signal.voidObjectCallback(System.IntPtr,System.IntPtr)+0xc0 at
+/home/cvs/gtk-sharp/glib/Signal.cs:175
+ #42: 0x41e71abe in <(wrapper native-to-managed)
+GLib.Signal:voidObjectCallback (intptr,intptr)>+0x36 at 13
+ #43: 0x41d287b1
+ #44: 0x41d19d9b
+ #45: 0x41d2b286
+ #46: 0x41d2c371
+ #47: 0x41d2c575
+ #48: 0x41a061bd
+ #49: 0x41d287b1
+ #50: 0x41d19d9b
+ #51: 0x41d2aca0
+ #52: 0x41d2c371
+ #53: 0x41d2c6a2
+ #54: 0x418714af
+ #55: 0x418726d7
+ #56: 0x41d287b1
+ #57: 0x41d19a87
+ #58: 0x41d19d9b
+ #59: 0x41d2aae2
+ #60: 0x41d2c371
+ #61: 0x41d2c6a2
+ #62: 0x418713fc
+ #63: 0x4187251d
+ #64: 0x41941c8c
+ #65: 0x41d19a87
+ #66: 0x41d19d9b
+ #67: 0x41d2b0d6
+ #68: 0x41d2c0cc
+ #69: 0x41d2c6a2
+ #70: 0x41a5f89e
+ #71: 0x41a5f3d6
+ #72: 0x41940061
+ #73: 0x4193eb9d
+ #74: 0x41b7f1e1
+ #75: 0x40257e87
+ #76: 0x4025a5c7
+ #77: 0x4025b7b7
+ #78: 0x4193e25d
+ #79: 0x431d2289 in <(wrapper managed-to-native)
+Gtk.Application:gtk_main ()>+0x29 at 9
+ #80: 0x431d2248 in Gtk.Application.Run()+0x8 at
+/home/cvs/gtk-sharp/gtk/Application.cs:100
+ #81: 0x40d9dc1e in AspNetEdit.SampleHost.SampleHost.Main()+0x13ae at
+/home/cvs/aspeditor/src/aspnetedit/SampleHost.cs:197
+
+So 81 frames, so my feeling is that there is something wrong on that stack
+trace
More information about the mono-bugs
mailing list