osmo-sip-connector in bad state

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Tue Mar 7 15:06:23 UTC 2017


Hi Holger,

On Mon, Mar 06, 2017 at 10:08:57PM +0100, Holger Freyther wrote:

> glib/gmain.c:g_main_context_query
> 
>       /* In direct contradiction to the Unix98 spec, IRIX runs into
>        * difficulty if you pass in POLLERR, POLLHUP or POLLNVAL
>        * flags in the events field of the pollfd while it should
>        * just ignoring them. So we mask them out here.
>        */
>       events = pollrec->fd->events & ~(G_IO_ERR|G_IO_HUP|G_IO_NVAL);

I think we should try to get this fixed in upstream.  If there's an IRIX
work-around, then it shuold be a compile-time decision and only enabled
on IRIX, right?

It won't help the problem in the short term, as fixed/updated glib would
first have to dissipate through their next release, get picked up by
distributions, etc. - but sooner or later somebody else will run into
the same trap, with glib disabling POLERR on Linux and thus destroying
quite a bit of capability the operating system offers.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list