[asterisk-bugs] [JIRA] Commented: (ASTERISK-20361) XMPP segfaults

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Mon Sep 10 16:10:07 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196879#comment-196879 ] 

Jonathan Rose commented on ASTERISK-20361:
------------------------------------------

Hey Noah, if you still have the core dump, I would appreciate figuring out what one of the struct pointers contained from that backtrace. It looks like what is causing our crash is probably an attempt to run ast_strdupa on a NULL string for message->message, but I'm not quite sure since the value of message->message isn't visible.

Here are the steps to get what I need:

gdb asterisk <nameOfCoreDump>
frame 1
print *message

It's important to include the * in front of message since it will just give me the value of the pointer otherwise.  Including the * should display the full contents of the struct including the names and values of all its fields.

When you use this core dump, make sure you are using the version of Asterisk that you generated it with.

> XMPP segfaults
> --------------
>
>                 Key: ASTERISK-20361
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20361
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: SVN
>         Environment: CentOS 6.3.  XMPP clients including Pidgin 2.10.6 and Trillian.  OpenFire server, tried both versions 3.6.4 and 3.7.1
>            Reporter: Noah Engelberth
>            Severity: Critical
>         Attachments: extensions.conf, xmpp.conf, xmpp-segfault-backtrace.txt
>
>
> Getting fairly frequent segfaults on my test box running Asterisk 11 SVN.  Trying to get res_xmpp working as an "interactive XMPP menu" for my internal users.  Both XMPP clients I've tested seem to send a message with a body of "(null)" when the XMPP client is starting a new message (but before the new message is actually sent).  I have my dialplan set up to filter these out and not fully receive them, but Asterisk is segfaulting somewhere in this filtering process.  Not 100% reproducible, but happens in long spurts when it does happen.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list