GNOME Bugzilla – Bug 579640
Prefer per-context error handler to global structured error handler
Last modified: 2021-07-05 13:24:32 UTC
When a structured error occurs, it would be preferable if libxml2 would prioritize a per-context error handler above the global structured error handler if there is no per-context serror. Due to http://bugzilla.gnome.org/show_bug.cgi?id=564217 on top of a dependency of a dependency of Pidgin (libraptor) registering a global SAX error handler, Pidgin started crashing when attempting to log in to XMPP accounts because libxml2 would call libraptor's global error handler. (see http://d.pidgin.im/ticket/8830) This also requires Pidgin to start defining serror handlers for all SAX parsers in order to keep libxml2 from calling libraptor's handler.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.