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 368233 - thaw_idle function is not properly locked / unlocked for threads
thaw_idle function is not properly locked / unlocked for threads
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Rendering
3.14.x
Other All
: Normal critical
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
Depends on:
Blocks: 365258
 
 
Reported: 2006-10-31 11:22 UTC by Xavier Conde
Modified: 2014-12-02 01:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Xavier Conde 2006-10-31 11:22:12 UTC
Steps to reproduce:
1. Running a multithreaded application, where one thread is modifiying the GtkHTML widget and the other thread is running thaw_idle from the glib idle loop handler.



Stack trace:


Other information:
I've fixed it by adding a wrapper function like this:

thaw_idle2 ()
{
GDK_THREADS_ENTER ();

  thaw_idle ();

GDK_THREADS_LEAVE ();
}

and replacing the function that is called throught gtk_idle_add:

gtk_idle_add (thaw_idle2);

Regards
Comment 1 Xavier Conde 2006-10-31 11:26:39 UTC
This bug is related to:

http://bugzilla.gnome.org/show_bug.cgi?id=365258
Comment 2 Matthew Barnes 2008-03-11 01:04:38 UTC
Bumping version to a stable release.
Comment 3 André Klapper 2014-08-30 15:26:46 UTC
This ticket has not seen any updates or duplicates since 2010.
Is this still a problem in a recently released version?
If not, this ticket might get closed as obsolete.
(Furthermore, GtkHtml is slowly getting superseded by WebKit in Evolution.)
Comment 4 André Klapper 2014-12-02 01:05:27 UTC
Since version 3.6, Evolution uses WebKit instead of GtkHtml for displaying messages. (And for completeness, Evolution 3.14 is planned to use WebKit also for composing and editing messages so GtkHtml will not receive any fixes anymore.)

Hence I am closing this GtkHtml rendering bug report.
We are sorry that your request was not handled in time when it was reported but unfortunately manpower is very limited (and does not allow testing every single reported issue separately again either).

Please feel free to reopen this report (and move it to the "Evolution" product and the "Mail" component) if the problem described in this bug report still happens in a recent supported Evolution version which uses WebKit (the current stable Evolution version is 3.12).