|Summary:||ASTERISK-07947: Crash in res_jabber|
|Reporter:||Morten Isaksen (misaksen)||Labels:|
|Date Opened:||2006-10-18 01:09:11||Date Closed:||2006-11-09 15:07:18.000-0600|
|Environment:||Attachments:||( 0) btfull.txt|
|Description:||Asterisk had crashed during the night.|
A backtrace from gdb:
#0 0x0077e041 in strcasecmp () from /lib/i686/libc.so.6
#1 0x001ce6b2 in aji_handle_presence (client=0x88a4368, pak=0x89561b8) at res_jabber.c:1152
#2 0x001cf448 in aji_act_hook (data=0x88a4368, type=1912328, node=0x895613c) at res_jabber.c:633
#3 0x001dbfbb in tagHook (data=0x88a47dc, name=0x894c2d0 "presence", atts=0x88abfe8, type=2) at stream.c:275
#4 0x001da36e in iks_parse (prs=0x88a481c,
data=0x88a9940 "<presence from=\"email@example.com\" to=\"firstname.lastname@example.org\" type=\"unavailable\"/>",
len=87, finish=0) at sax.c:323
ASTERISK-1 0x001dba84 in iks_recv (prs=0x88a481c, timeout=87) at stream.c:465
ASTERISK-2 0x001cdf31 in aji_recv_loop (data=0x88a4368) at res_jabber.c:1491
ASTERISK-3 0x080f0215 in dummy_start (data=0xc1) at utils.c:544
ASTERISK-4 0x00254ce1 in pthread_start_thread () from /lib/i686/libpthread.so.0
ASTERISK-5 0x007d9b3a in clone () from /lib/i686/libc.so.6
|Comments:||By: jmls (jmls) 2006-10-18 02:52:49|
a couple of points:
A bt full should always be attached as an attachment (!) when reporting a crash
there's been a few bug fixes in 1.4 since 1.4 beta2. try using the latest 1.4 subversion.
Also, if you have usetls=yes in your jabber.conf you are asking for trouble. See ASTERISK-7473 for more info
By: Morten Isaksen (misaksen) 2006-10-18 02:59:30
As you can see above I am not using beta2 but SVN rev 45363.
I will try to disable tls and see what happens.
By: jmls (jmls) 2006-10-18 03:21:30
sorry, I just saw the 1.4.0-beta2 tag ..
By: jmls (jmls) 2006-10-19 11:49:06
any luck with usetls=no in jabber.conf ?
By: Morten Isaksen (misaksen) 2006-10-19 12:44:53
I enabled TLS again in order to do some teste in bug 8156 and forgot to disable it again. So my Asterisk has been stable the last 24 hour with TLS enabled.
I do not think this is related to bug 7672. In 7572 the bt indicates a crash ind gnytls or a dependent library and in my case it en in native asterisk function.
By: jmls (jmls) 2006-10-19 14:32:31
do you have a bt full we can look at ?
By: Morten Isaksen (misaksen) 2006-10-19 14:46:02
Sure. I've just uploadet it.
By: jmls (jmls) 2006-10-19 14:54:22
did all your jabber clients have a resource (email@example.com/SomeClient) ?
By: Morten Isaksen (misaksen) 2006-10-19 14:59:47
I am not sure what you are asking for. I am testing with the gtalk windows client. I can not find any settings about resources.
I just installed gtalk and I have not used a jabber client before - just msn. :-)
By: jmls (jmls) 2006-11-06 10:00:47.000-0600
I thought that gtalk required tls ? Or am I mistaken ?
have you tried the latest versions of 1.4 svn trunk ?
/me is trying to close out 1.4 bugs :)
By: Morten Isaksen (misaksen) 2006-11-09 15:01:57.000-0600
There has been no crash recently due to res_jabber in rev 45329.
Just close this.
By: Anthony LaMantia (alamantia) 2006-11-09 15:07:17.000-0600