GNOME Bugzilla – Bug 130114
Sometimes hangs when pressin Fuzzy-button in toolbar
Last modified: 2004-12-22 21:47:04 UTC
Hi! I got the following report in the Debian BTS (http://bugs.debian.org/225239) -------------------------------------------- I can not reproduce this every time, but it has happened so often that I'm beginning to see a pattern. Sometimes gtranslator seems to lose track of missing and fuzzy items, the button in toolbar is not greyed out when the last such item is translated. So Fuzzy-button can be pressed when there are no fuzzy items left, and in this situation gtranslator hangs and has to be killed. I also get: (gtranslator:21444): Gtk-WARNING **: Locale not supported by C library. ** (gtranslator:21444): CRITICAL **: file pango-color.c: line 952 (pango_color_parse): assertion `spec != NULL' failed Not sure if those errors are relevant.
Created attachment 23176 [details] [review] This patch attempts to fix a reproductible crash when repeatedly toggling the fuzzy status.
The submitted patch is incomplete. It only fixes a crash I'm having (CVS HEAD) when toggling fuzzy status. I tought it might be related to this bug. The patch does not address the fuzzy button's sensitivity (somehow it's always disabled for me) nor the fuzzy message count (it goes negative at times). Hope it helps...
The above patch has been applied to CVS. Now, if you repeatedly toggle the fuzzy status, it seems to work except the fuzzy message counter keeps going down to zero. As it no longer hangs, as per this bug report, I'll open a seperate bug report for the counter problem.