[Bug 564567] Review Request: gwaei - A Japanese dictionary for Gnome

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=564567

--- Comment #7 from Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx> 2010-02-21 10:36:14 EST ---
Created an attachment (id=395349)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=395349)
gdb log with setting G_DEBUG=fatal_criticals

Well, I don't see what you attached. Before gwaei starts to
download dictonaries, gwaei segfaults.

After some quick investigation, G_MODULE_EXPORT void do_dictionary_install()
in src/settings-callbacks-gtk.c shows:
------------------------------------------------------------
   467  G_MODULE_EXPORT void do_dictionary_install (GtkWidget *widget, gpointer
data)
   468  {
   469      //Make sure the files are clean
   470      do_dictionary_remove(widget, data);
   471  
   472      //Create the name string
   473      char name[100];
   474      gw_parse_widget_name(name, widget, TRUE);
------------------------------------------------------------

With this it seems that "name" should be a string like "Kanji" or "English"
or so, while on my system name is "'tkButton". Perhaps related to this,
when trying to doing the action written in comment 4, I see some warnings like:
-------------------------------------------------------------
(gwaei:30494): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL
(label)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET
(widget)' failed

(gwaei:30494): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion
`GTK_IS_WIDGET (widget)' failed
-------------------------------------------------------------

So I set "G_DEBUG=fatal_criticals" and tried the process in my comment 4,
then gwaei segfaults as attached. It seems that there is some serious
mishandling of GTK widgets in gwaei, however I am not familiar with this area.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]