Thanks, I got a debug log by specifying a <debug> path in router.xml,
but it doesn't say "XML parser error"; am I missing something from
stderr that doesn't make it to the logfile?

Or, if that file has everything, could I mail you the relevant section
surrounding from this morning?  I can't find anything obviously
broken.

Justin

On Sun, Oct 27, 2013 at 10:03:34PM +0100, Tomasz Sterna wrote:
> Dnia 2013-10-25, piÄ… o godzinie 14:17 -0700, Justin T Pryzby pisze:
> > router:
> > Fri Oct 25 11:45:48 2013 [notice] error from router: XML parse error
> > (junk after document element)
> > That could be related to bad data in AD, but I don't believe any users
> > were changed by anyone but myself, and don't see anything wrong.
> 
> Here's what I do, to debug such obscure issues:
> 
> 1. rebuild jabberd with --enable-debug
> 2. hang router and sm on screen with -D enabled
> 3. wait for a crash
> 
> Usually there is an offending stanza visible right after I reattach to
> the screen of crashed process.
> 
> I've caught several parser/serializer bugs using this method. 


Reply via email to