The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=299 ====================================================================== Reported By: darkrain42 Assigned To: ====================================================================== Project: Raptor RDF Parsing and Serializing Library Issue ID: 299 Category: installation Reproducibility: always Severity: crash Priority: normal Status: new Parsing/Serializing Syntax: ====================================================================== Date Submitted: 2009-04-20 18:17 Last Modified: 2009-04-20 18:17 ====================================================================== Summary: raptor registers global SAX structured error handler, breaks other programs not expecting this Description: (apologies, I'm unsure which category is appropriate for this)
libraptor sets the global libxml2 structured error handler (via xmlSetStructuredErrorFunc) when parsing documents. Due to a bug in libxml2 [0], this global error handlers overrides any context-specific structured error handler. libraptor is used by liblrdf, which is in turn used by the gstreamer ladspa plugin, which is in turn initialized because Pidgin uses gstreamer for sound support. Pidgin's XMPP protocol support uses a SAX parser and, when structured errors occur, crashes because libxml2 calls libraptor's handler [1] [2]. Ideally, your library would not be registering libxml2 global error handers, but instead would be initializing the per-context serror function. [0] http://bugzilla.gnome.org/show_bug.cgi?id=564217 [1] http://developer.pidgin.im/ticket/8830 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519112 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2009-04-20 18:17 darkrain42 New Issue ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
