After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 130114 - Sometimes hangs when pressin Fuzzy-button in toolbar
Sometimes hangs when pressin Fuzzy-button in toolbar
Status: RESOLVED FIXED
Product: gtranslator
Classification: Other
Component: Generally bug'd
1.0
Other Linux
: Normal normal
: 1.0
Assigned To: Ross Golder
Fatih Demir
Depends on:
Blocks:
 
 
Reported: 2003-12-28 01:20 UTC by Jordi Mallach
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This patch attempts to fix a reproductible crash when repeatedly toggling the fuzzy status. (1.09 KB, patch)
2004-01-09 19:06 UTC, Dan Damian
none Details | Review

Description Jordi Mallach 2003-12-28 01:20:39 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.
Comment 1 Dan Damian 2004-01-09 19:06:35 UTC
Created attachment 23176 [details] [review]
This patch attempts to fix a reproductible crash when repeatedly toggling the fuzzy status.
Comment 2 Dan Damian 2004-01-09 19:12:39 UTC
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...
Comment 3 Ross Golder 2004-01-28 05:36:04 UTC
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.