[PATCH] tevent-glib-glue

Noel Power nopower at suse.com
Thu Mar 28 09:12:56 UTC 2019


Hi Ralph
On 27/03/2019 19:46, Ralph Böhme wrote:
> 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.
yep, maybe not a bad thing to have the processing similar to
g_main_context_iteration in any case, good work!!
>
> -slow
>
>
Noel




More information about the samba-technical mailing list