Bug 313685 (MONO53181)

Summary: Dialog constructed by Glade# with Style crashes after eighth Response
Product: [Mono] gtk# Reporter: David Makovský <yakeen>
Component: otherAssignee: Gtk# Bugs List <gtk-sharp-bugs>
Status: RESOLVED FIXED QA Contact: Gtk# Bugs List <gtk-sharp-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: 1.0   
Target Milestone: 1.0   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: testcase
updated testcase

Description Thomas Wiest 2007-09-15 18:25:19 UTC


---- Reported by yakeen@sannyas-on.net 2004-01-21 15:23:24 MST ----

Creating dialog with Glade#, using Style to change its color.
After eight create when calling Destroy() getting NullReferenceException.

Unhandled Exception: System.NullReferenceException: A null value was found
where an object instance was requiredin (unmanaged) (wrapper
managed-to-native) Gtk.Widget:gtk_widget_destroy(intptr)in <0x00004>
(wrapper managed-to-native) Gtk.Widget:gtk_widget_destroy(intptr)in
<0x0001f> Gtk.Widget:Destroy ()

Without using style works perfectly.
 found on mono 0.28, 0.29 and  gtk-sharp 0.14, 0.15, today CVS (01/21/2004).



---- Additional Comments From yakeen@sannyas-on.net 2004-01-21 15:29:00 MST ----

Created an attachment (id=165522)
testcase




---- Additional Comments From mkestner@ximian.com 2004-05-05 17:18:23 MST ----

*** https://bugzilla.novell.com/show_bug.cgi?id=MONO55863 has been marked as a duplicate of this bug. ***



---- Additional Comments From mkestner@ximian.com 2004-06-07 12:00:21 MST ----

No idea what format this attachment was is, gnome tries to open it
with file roller and fails.  tar and tar -z fail. unzip fails.  Can
you clarify what format it's in so I can try it?  Or can you try it
again with a recent Gtk# and see if this is fixed already.  We've
fixed a lot of refcount issues since January. 



---- Additional Comments From mkestner@ximian.com 2004-08-24 17:19:33 MST ----

can't reproduce this.  closing.



---- Additional Comments From yakeen@sannyas-on.net 2004-11-04 17:25:34 MST ----

Created an attachment (id=165523)
updated testcase




---- Additional Comments From yakeen@sannyas-on.net 2004-11-04 17:26:18 MST ----

tried it today with mono 1.1.2 and gtk 1.0.2 bug still presented, try
modifed testcase (tar.gz)



---- Additional Comments From mkestner@ximian.com 2005-05-11 09:51:00 MST ----

fixed on trunk

Imported an attachment (id=165522)
Imported an attachment (id=165523)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>FC2</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".