[PATCH] tevent-glib-glue

Ralph Böhme slow at samba.org
Wed Mar 27 19:46:28 UTC 2019


Am 27.03.2019 um 17:33 schrieb Ralph Böhme via samba-technical <samba-technical at lists.samba.org>:
> Am 27.03.2019 um 16:54 schrieb Noel Power <nopower at suse.com>:
>> I wonder is it a glib version issue 2.54.3 here (and 2.40 I *think* on
>> sn-devel (sorry not very ubuntu enabled),
> 
> Yes. I've now build that glib version on my system
> 
> ▸ git describe 
> 2.40.2-2-ge98baaa54
> 
> and build Samba against it. Voilà, instant hang:
> 
> ▸ source3/tevent_glib_glue_test
> /mainloop/timeouts: OK
> /mainloop/glib_ev_source: OK
> /mainloop/tevent_ev_source: OK
> /mainloop/unix-fd:
> ...hangs...

I've tracked this down to bug https://bugzilla.gnome.org/show_bug.cgi?id=11059. Commit b3e3ed73864143e732c4d65441eaec086a3ab83e fixes the issue. The fix is part of glib2 2.43.1.

Looks like we have to call dispatch unconditionally at this time.

-slow




More information about the samba-technical mailing list