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 674612 - [regression] g_output_stream_write_async() doesn't complete in idle
[regression] g_output_stream_write_async() doesn't complete in idle
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-04-23 10:02 UTC by Guillaume Desmottes
Modified: 2012-04-27 13:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2012-04-23 10:02:59 UTC
With current master (a44e80198340d7169197fe7627868383dc4df06c), g_output_stream_write_async() doesn't return in an idle callback as it used to do (works fine with 2.32.1) leading to a failing telepathy-glib test: https://bugs.freedesktop.org/show_bug.cgi?id=49072

That's because the WriteApp struct created in g_output_stream_real_write_async() doesn't set op->need_idle to TRUE.

I'm not providing a patch as I don't know the code well enough to be sure that's the right fix.
Comment 1 Guillaume Desmottes 2012-04-23 10:04:22 UTC
I'm pretty sure the regression has been introduced by 00ee06e6a332d1415baf5533e34f05a83d64cb02
Comment 2 Guillaume Desmottes 2012-04-27 12:10:33 UTC
This also affects Wocky (telepathy-gabble's XMPP library): https://bugs.freedesktop.org/show_bug.cgi?id=49214
Comment 3 Dan Winship 2012-04-27 13:29:18 UTC
Sorry, didn't notice this bug the other day... fixed now