Summary:ASTERISK-21156: Asterisk crashes with XMPP\Google Voice config where username is missing hostname portion
Reporter:Rakesh Mehta (amsoft2001)Labels:
Date Opened:2013-02-23 08:13:04.000-0600Date Closed:2013-03-12 15:07:51
Versions:11.2.1 Frequency of
Environment:UbuntuAttachments:( 0) backtrace.txt
( 1) backtrace.txt
( 2) backtrace-all-thread.txt
( 3) xmpp.conf.txt
Description:Was trying to setting up Google Voice. So followed this WIKI


But asterisk is crashing every time I try to start it ...
Comments:By: Rakesh Mehta (amsoft2001) 2013-02-23 08:13:42.444-0600


By: Matt Jordan (mjordan) 2013-02-23 08:45:45.201-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

Your backtrace has most of its symbols optimized out. Please provide a full backtrace using the instructions on the wiki. It may be helpful as well to enable BETTER_BACKTRACES.

Please also provide your res_xmpp.conf.

By: Rakesh Mehta (amsoft2001) 2013-02-23 09:19:46.212-0600

xmpp config file

By: Rakesh Mehta (amsoft2001) 2013-02-23 09:20:23.222-0600

Hi Matt,

The backtrace and xmpp.conf is uploaded.

By: Matt Jordan (mjordan) 2013-02-23 13:14:59.675-0600

The backtrace is still showing this:

#1  0xb6aec792 in xmpp_client_authenticate_sasl (client=0x9948c9c, node=0xb6e1573c, cfg=<optimized out>, type=<optimized out>) at res_xmpp.c:2604
       features = <optimized out>
       len = <optimized out>
       auth = <optimized out>
       combined = <optimized out>
       base64 = <optimized out>

Did you select DONT_OPTIMIZE and BETTER_BACKTRACES in menuselect? Can you provide a backtrace that shows the state of all threads in the system, as the wiki article states?

By: Rakesh Mehta (amsoft2001) 2013-02-25 05:21:35.206-0600

New Backtrace as requested

By: Rakesh Mehta (amsoft2001) 2013-02-25 05:31:45.706-0600

Backtrace - All Threads

By: Joshua C. Colp (jcolp) 2013-02-25 05:57:52.406-0600

This is a configuration issue which shouldn't cause a crash, but ultimately fixing this won't fix your configuration. The username field needs to be the complete username including @gmail.com at the end.

By: Rakesh Mehta (amsoft2001) 2013-02-25 06:42:39.848-0600

Hi Matt,

Thank you, that worked!