On 2025-05-04 13:14, Sam Edge via Cygwin wrote:
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.
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.

Check the package sources for status:

        https://cygwin.com/packages/summary/syslog-ng-src.html

which are based on sources from 2011 that no longer appear to be available online, although other old releases appear to be available from github: latest is 4.8.1 under L/GPL;

        https://cygwin.com/packages/summary/glib2.0-src.html

which recently jumped 20 minor versions in 2 years!

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                -- Antoine de Saint-Exupéry

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