[asterisk-bugs] [JIRA] (ASTERISK-21046) res_xmpp refcount issue

marcelloceschia (JIRA) noreply at issues.asterisk.org
Thu Feb 14 07:04:58 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

marcelloceschia updated ASTERISK-21046:
---------------------------------------

    Attachment: refs.tar.gz

I added the refs log file from /tmp.
As you can see
{noformat}
cat refs | grep "xmpp_client_reconnect"
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]

cat refs | grep "0x19d4778"
0x19d4778 =1   res_xmpp.c:585:xmpp_config_alloc ()
0x19d4778 +1   config_options.c:424:apply_config () [@1]
0x19d4778 +1   res_xmpp.c:645:xmpp_config_post_apply () [@2]
0x19d4778 -1   res_xmpp.c:645:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 -1   config_options.c:556:aco_process_config (ao2_cleanup) [@2]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 +1   res_xmpp.c:4084:xmpp_show_clients () [@2]
0x19d4778 -1   res_xmpp.c:4084:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:4160:xmpp_show_buddies () [@2]
0x19d4778 -1   res_xmpp.c:4160:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:3968:xmpp_cli_create_collection () [@2]
0x19d4778 -1   res_xmpp.c:3968:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:3800:xmpp_cli_list_pubsub_nodes () [@2]
0x19d4778 -1   res_xmpp.c:3800:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:4008:xmpp_cli_create_leafnode () [@2]
0x19d4778 -1   res_xmpp.c:4008:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:3931:xmpp_cli_delete_pubsub_node () [@2]
0x19d4778 -1   res_xmpp.c:3931:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 +1   res_xmpp.c:3886:xmpp_cli_purge_pubsub_nodes () [@2]
0x19d4778 -1   res_xmpp.c:3886:_dtor_cfg (ao2_cleanup) [@3]
0x19d4778 -1   res_xmpp.c:3407:_dtor_cfg (ao2_cleanup) [@2]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 -1   res_xmpp.c:3407:_dtor_cfg (ao2_cleanup) [@2]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 -1   res_xmpp.c:3407:_dtor_cfg (ao2_cleanup) [@2]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 -1   res_xmpp.c:3407:_dtor_cfg (ao2_cleanup) [@2]
0x19d4778 +1   res_xmpp.c:3407:xmpp_client_reconnect () [@1]
0x19d4778 -1   res_xmpp.c:3407:_dtor_cfg (ao2_cleanup) [@2]
{noformat}

0x19d4778 does not reached 0.
This log was created after applying the patch.
                
> res_xmpp refcount issue
> -----------------------
>
>                 Key: ASTERISK-21046
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21046
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: 11.2.1
>         Environment: i386 Linux
>            Reporter: marcelloceschia
>            Assignee: marcelloceschia
>            Severity: Critical
>         Attachments: ASTERISK-21046-11.diff, refs.tar.gz
>
>
> xmpp_client_reconnect does not release obj reference

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list