[Bug 223882] New: LSB: GtkMenu-related test segfaults
https://bugzilla.novell.com/show_bug.cgi?id=223882 Summary: LSB: GtkMenu-related test segfaults Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: jdluhos@novell.com QAContact: qa@suse.de Two of GtkMenu-related LSB tests segfault when run on SL10.2. I have tried to build a test case which segfaults on SL10.2 and not on SL10.1; hopefully it is the same thing :-) Please find it attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 ------- Comment #1 from jdluhos@novell.com 2006-11-27 08:00 MST ------- Created an attachment (id=107045) --> (https://bugzilla.novell.com/attachment.cgi?id=107045&action=view) The test case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |federico@ximian.com ------- Comment #2 from jpr@novell.com 2006-12-15 07:04 MST ------- real_title is NULL in the test case. Its NULL because even though gtk_menu_set_title is called, its called with "" and the check to see if the title has changed in gtk_menu_set_title is: strcmp (title ? title : "", priv->title ? priv->title : "") != 0 ie, if title is "" and priv->title is NULL, the title won't be set because the comparison will be 0. I think this is a bug in gtk unless "" is supposed to be handled specially as a title. What do you think Federico? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 ------- Comment #3 from federico@ximian.com 2006-12-15 12:38 MST ------- The ChangeLog only says "Convert GtkMenu to g_type_class_add_private", and that change got sneaked in with no further comment. I guess the intention is to try to always have a meaningful title for tearoff menus --- setting NULL and "" for the title are equivalent, and they both lead to the tearoff menu trying to use the title of the parent's label. I'll ask Matthias about this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 ------- Comment #4 from federico@ximian.com 2006-12-15 13:10 MST ------- Created an attachment (id=109935) --> (https://bugzilla.novell.com/attachment.cgi?id=109935&action=view) gtk2-223882-lsb-gtk-menu-set-title.diff The change in behavior was unintentional. This patch is in upstream CVS now. Hmm, how do we make this available for 10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 federico@ximian.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|federico@ximian.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jdluhos@novell.com ------- Comment #5 from jpr@novell.com 2007-02-14 13:09 MST ------- Jiri, do we need an update for this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882 jdluhos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jdluhos@novell.com | ------- Comment #6 from jdluhos@novell.com 2007-02-19 02:44 MST ------- Is the patch available (or will be) for SLES10 SP1? If it is, we are okay and can close this bug as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223882#c7 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Federico Mena Quintero <federico@novell.com> 2007-08-06 13:10:43 MST --- (In reply to comment #6 from Jiri Dluhos)
Is the patch available (or will be) for SLES10 SP1? If it is, we are okay and can close this bug as fixed.
The patch isn't needed in SLES10 SP1; the menu code there doesn't have this bug. I'll close the bug, since this cannot be fixed for 10.2 - and it is already fixed in 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com