List Info

Thread: trunk and res_jabber segfault




trunk and res_jabber segfault
user name
2006-05-25 16:26:45
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:paramsml:ns
mpp-t
ls"/>

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><mech
anisms 
xmlns="urn:ietf:paramsml:ns
mpp-s
asl"><mechanism>PLAIN</mechanism></m
echanisms></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:paramsml:ns
mpp-t
ls"/>

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><mech
anisms 
xmlns="urn:ietf:paramsml:ns
mpp-s
asl"><mechanism>PLAIN</mechanism></m
echanisms></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/><r
esource>asterisk</resource><digest>xxxxx</
digest></query><error 
code="400"
type="modify"><bad-request 
xmlns="urn:ietf:paramsml:ns
mpp-s
tanzas"/></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
trunk and res_jabber segfault
user name
2006-05-25 16:31:50
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:paramsml:ns
mpp-t
ls"/>
>
> 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><mech
anisms 
> xmlns="urn:ietf:paramsml:ns
mpp-s
asl"><mechanism>PLAIN</mechanism></m
echanisms></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:paramsml:ns
mpp-t
ls"/>
>
> 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><mech
anisms 
> xmlns="urn:ietf:paramsml:ns
mpp-s
asl"><mechanism>PLAIN</mechanism></m
echanisms></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/><r
esource>asterisk</resource><digest>xxxxx</
digest></query><error 
> code="400"
type="modify"><bad-request 
> xmlns="urn:ietf:paramsml:ns
mpp-s
tanzas"/></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 
mogormandigium.com over jabber or email
thanks
mog
_______________________________________________
--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
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )