Re: syslog-ng service fails to start with GLib "assertion failed" errors

Annihilannic via Cygwin <[email protected]> Thu, 30 Apr 2026 09:37:51 +1000
Newsgroups gmane.os.cygwin
Message-ID <TYCPR01MB8787E35FA3F5CF8F3036D97DC1342@TYCPR01MB8787.jpnprd01.prod.outlook.com>
On 18/02/2026 10:12, Annihilannic wrote:
> Since about April 2025 my syslog-ng service has been failing to start 
> with these messages:
> 
> **
> GLib:ERROR:../glib/gmain.c:4266:g_main_context_check_unlocked: assertion 
> failed: (i <= 0 || fds[i - 1].fd < fds[i].fd)
> Bail out! GLib:ERROR:../glib/gmain.c:4266:g_main_context_check_unlocked: 
> assertion failed: (i <= 0 || fds[i - 1].fd < fds[i].fd)
> 
> I was hoping this problem would just go away as I updated Cygwin 
> occasionally since then, but it hasn't.  'cygcheck -svr' output 
> attached, with username redacted.  Any suggestions, please?

Bumping this one, since I'm still stuck.

This is the line of code with the assertion failure:

https://gitlab.gnome.org/GNOME/glib/-/blob/2.87.0/glib/gmain.c?ref_type=tags#L4266

I see no recent changes around that line in the current codebase:

https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gmain.c?ref_type=heads#L4292

I'm not sure whether updating to a later release (2.87.5 or 2.88.0) 
might help?  Is this more likely to be a cygwin bug or a glib bug that I 
should report there?  Any suggestions appreciated!

Regards,
Scott

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple