On 28/03/2025 11:20, Sam Edge via Cygwin wrote:
On 28/03/2025 11:00, Sam Edge via Cygwin wrote:

I've had a weird regression with syslog-ng recently. Dunno if it's
related to a new release of the Cygwin DLL because I've only just
spotted it.

When I try to start syslog-ng as a service recently it fails to load
with the following in /var/log/syslog-ng.log.

cat /var/log/syslog-ng.log
**
GLib:ERROR:../glib/gmain.c:4090:g_main_context_check_unlocked: assertion
failed: (i <= 0 || fds[i - 1].fd < fds[i].fd)
Bail out! GLib:ERROR:../glib/gmain.c:4090:g_main_context_check_unlocked:
assertion failed: (i <= 0 || fds[i - 1].fd < fds[i].fd)

I've attached my cygcheck and the contents of /etc/syslog-ng.

Any ideas?

The failing machine is running Windows 11 Pro I'm using the UDP output
of syslog-ng to generate warning emails when successful sshd/http logins
occur from public IP addresses on the heavily armoured syslog server so
I'm loathe to do it but I'll try upgrading the Cygwin DLL on another
non-critical but Windows 10 machine to see how that goes.

Okay, a bit more info.

I've just upgraded my Cygwin installation on a Windows 10 machine & it
too is now exhibiting the fault.

Attached are the pre- & post-upgrade cygchecks. Doing a diff it appears
that libglib2.0_0 has also been upgraded, amongst other things, so maybe
that's the source of the new error.

Ah-ha! If I downgrade libglib2.0_0 from 2.84.0-1 back to 2.64.6-1 the
problem goes away.

--
Sam Edge



Calling the maintainer for syslog-ng and/or libglib2.0. The latest Cygwin release of these packages are still exhibiting the same assertion.

If syslog-ng has become orphaned could someone please let me know and I'll check it out myself and try to locate the problem.

--
Sam Edge

Attachment: OpenPGP_0x8AC2CEBF54528E30.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
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

Reply via email to