[asterisk-dev] trunk and res_jabber segfault

mogorman mogorman at digium.com
Thu May 25 09:31:50 MST 2006


Julian Lyndon-Smith wrote:

> Downloaded the latest trunk of asterisk (30271), because I was wanting 
> to test the jabber functionality.
>
> I've set up a jabber connection, but when * gets a response back from 
> the jabber server, it segfaults.
>
> Asterisk Ready.
> *CLI>
> JABBER: asterisk INCOMING: <proceed 
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
>
> JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream 
> xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
> to='jmls' version='1.0'>
>
> JABBER: asterisk INCOMING: <?xml version='1.0' 
> encoding='UTF-8'?><stream:stream 
> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
> from="xxx.xxxx.co.uk" id="589b7cbe" xml:lang="en" 
> version="1.0"><stream:features><mechanisms 
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms></stream:features> 
>
> Segmentation fault (core dumped)
>
> A) if I comment out usesasl in /etc/asterisk/jabber.conf then there is 
> no segfault. There is no debug output. But there is no connection made 
> either :)
>
> B) If I uncomment usetls then I get
>
> JABBER: asterisk INCOMING: <proceed 
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
>
> JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream 
> xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
> to='jmls' version='1.0'>
>
> JABBER: asterisk INCOMING: <?xml version='1.0' 
> encoding='UTF-8'?><stream:stream 
> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
> from="xxxx.xxxx.co.uk" id="c74b2fd0" xml:lang="en" 
> version="1.0"><stream:features><mechanisms 
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms></stream:features> 
>
>
> JABBER: asterisk OUTGOING: <iq type='set' id='aaaaa' to='jmls'><query 
> xmlns='jabber:iq:auth'><username/><resource>asterisk</resource><digest>xxxxx</digest></query></iq> 
>
>
> JABBER: asterisk INCOMING: <iq type="error" id="aaaaa" from="jmls" 
> to="mike.tessera.co.uk/c74b2fd0"><query 
> xmlns="jabber:iq:auth"><username/><resource>asterisk</resource><digest>xxxxx</digest></query><error 
> code="400" type="modify"><bad-request 
> xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
>
> (commented out the digest)
>
> C) I tried to start with asterisk -vvvvvvvvvvvvgc, get the core 
> dumped. But gdb gives me
>
> This GDB was configured as "i386-redhat-linux-gnu"..."/tmp/core.3020": 
> not in executable format: File format not recognized
>
> and I can't do a bt
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

woohoo people testing it ! can you please contact me directly 
mogorman at digium.com over jabber or email
thanks
mog



More information about the asterisk-dev mailing list