[Home]

Summary:ASTERISK-07919: Asterisk crash when receving or sending out call for Google Talk
Reporter:Vincent (scarykidsscaringkids)Labels:
Date Opened:2006-10-12 03:13:59Date Closed:2011-06-07 14:00:22
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_jabber
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt_full3.txt
( 1) bt.txt
( 2) errorlog.txt
Description:JABBER: gtalk_account INCOMING: 8000" bitrate="13300"/><payload-type id="106" name="telephone-event" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>
*** glibc detected *** asterisk: munmap_chunk(): invalid pointer: 0xb7de1bf6 ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x17b)[0x63d51f]
/usr/lib/asterisk/modules/chan_gtalk.so[0xbc26d2]
/usr/lib/asterisk/modules/chan_gtalk.so[0xbc30f6]
/usr/local/lib/libiksemel.so.3(iks_filter_packet+0x129)[0x4387a9]
/usr/lib/asterisk/modules/res_jabber.so[0x3c3a32]
/usr/local/lib/libiksemel.so.3[0x436984]
/usr/local/lib/libiksemel.so.3(iks_parse+0x5a0)[0x434a40]
/usr/local/lib/libiksemel.so.3(iks_recv+0x98)[0x436328]
/usr/lib/asterisk/modules/res_jabber.so[0x3c235a]
asterisk[0x80eb15b]
/lib/libpthread.so.0[0x92d3b6]
/lib/libc.so.6(__clone+0x5e)[0x69e33e]
======= Memory map: ========
00111000-00118000 r-xp 00000000 fd:00 1703977    /usr/lib/asterisk/modules/res_musiconhold.so
00118000-00119000 rwxp 00007000 fd:00 1703977    /usr/lib/asterisk/modules/res_musiconhold.so
00119000-001a0000 r-xp 00000000 fd:00 19318647   /usr/local/lib/libnetsnmp.so.15.0.0
001a0000-001a2000 rwxp 00087000 fd:00 19318647   /usr/local/lib/libnetsnmp.so.15.0.0
001a2000-001c1000 rwxp 001a2000 00:00 0
001c1000-0021c000 r-xp 00000000 fd:00 19308475   /usr/lib/librpm-4.4.so
0021c000-0021f000 rwxp 0005a000 fd:00 19308475   /usr/lib/librpm-4.4.so
0021f000-00252000 rwxp 0021f000 00:00 0
00252000-00265000 r-xp 00000000 fd:00 19304909   /usr/lib/libelf-0.119.so
00265000-00266000 rwxp 00013000 fd:00 19304909   /usr/lib/libelf-0.119.so
00266000-0026c000 r-xp 00000000 fd:00 1703968    /usr/lib/asterisk/modules/res_adsi.so
0026c000-0026d000 rwxp 00006000 fd:00 1703968    /usr/lib/asterisk/modules/res_adsi.so
0026d000-0026e000 r-xp 00000000 fd:00 1705423    /usr/lib/asterisk/modules/func_language.so
0026e000-0026f000 rwxp 00001000 fd:00 1705423    /usr/lib/asterisk/modules/func_language.so
0026f000-00274000 r-xp 00000000 fd:00 1703979    /usr/lib/asterisk/modules/res_snmp.so
00274000-00275000 rwxp 00005000 fd:00 1703979    /usr/lib/asterisk/modules/res_snmp.so
00275000-002ea000 r-xp 00000000 fd:00 19303692   /usr/lib/librpmio-4.4.so
002ea000-002ed000 rwxp 00074000 fd:00 19303692   /usr/lib/librpmio-4.4.so
002ed000-00310000 rwxp 002ed000 00:00 0
00310000-00315000 r-xp 00000000 fd:00 5538909    /lib/libcrypt-2.4.so
00315000-00316000 r-xp 00004000 fd:00 5538909    /lib/libcrypt-2.4.so
00316000-00317000 rwxp 00005000 fd:00 5538909    /lib/libcrypt-2.4.so
00317000-0033e000 rwxp 00317000 00:00 0
0033e000-00379000 r-xp 00000000 fd:00 19310536   /usr/lib/libbeecrypt.so.6.4.0
00379000-0037c000 rwxp 0003a000 fd:00 19310536   /usr/lib/libbeecrypt.so.6.4.0
0037c000-0039a000 r-xp 00000000 fd:00 19303748   /usr/lib/libneon.so.25.0.5
0039a000-0039b000 rwxp 0001e000 fd:00 19303748   /usr/lib/libneon.so.25.0.5
0039b000-003ba000 r-xp 00000000 fd:00 5538893    /lib/libexpat.so.0.5.0
003ba000-003bc000 rwxpAborted
Comments:By: Serge Vecher (serge-v) 2006-10-12 08:32:11

could you please check out the latest 1.4 branch from svn and see if the issue is still present?

By: Terry Wilson (twilson) 2006-10-12 09:12:50

I would bet this is a dup of 7764, which I have a patch that fixes it sitting there that no one is touching... :-)

By: Terry Wilson (twilson) 2006-10-12 09:14:29

ScaryKidsScaringKids - Could you try the patch 'chan_gtalk_free_fix.patch.txt" on bug 7764 and see if it fixes it for you?

By: Serge Vecher (serge-v) 2006-10-12 15:46:57

check out revision 44982 of 1.4 branch from svn -> the patch in 7764 was committed today.

By: rdlang (rdlang) 2006-10-12 17:18:47

I seem to have the same issue for some time now, moved to reporting at 7764 when my own issue was closed. Now 7764 is closed, but the patch does not work for me. I tried latest svn checkout as well. Because this seems to be the best place now, i attatched "bt_full3.txt" and will attatch bt.txt as well for debugging purposes. I did disable optimizations before building it.

By: Vincent (scarykidsscaringkids) 2006-10-13 21:28:46

Patch from 7764 does not work. And using the latest branch from svn, I got this when starting asterisk.

Same thing goes for the branch.



By: Anthony LaMantia (alamantia) 2006-10-17 16:03:29

ScaryKidsScaringKids, can you post a console debug log from the crash when it happens. while using the latest 1.4 svnbranch?

By: Vincent (scarykidsscaringkids) 2006-10-17 20:08:39

Uploaded file "errorlog". This is the error with the latest branch Asterisk SVN-branch-1.4-r45125.

By: Anthony LaMantia (alamantia) 2006-10-19 11:08:27

can you try turning off TLS inside your jabber configuration. also try the patch from 8164 that allows you to spcify an bindaddr for gtalk incase you are having audio problems.

By: Anthony LaMantia (alamantia) 2006-10-19 11:11:55

http://bugs.digium.com/file_download.php?file_id=11924&type=bug

you may also want to try the patch above and see if it resolves any problems for you.

By: Joshua C. Colp (jcolp) 2006-11-16 17:52:06.000-0600

It's been almost a month and still no reply, if this is still an issue with the latest 1.4, and after following alamantia's suggestions, then please feel free to reopen this bug. Peace!