[asterisk-bugs] [JIRA] (ASTERISK-28010) PJSIP: Crash with MWI implicit subscription replaced by explicit

Sean Bright (JIRA) noreply at issues.asterisk.org
Sun Mar 15 09:39:25 CDT 2020


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

Sean Bright updated ASTERISK-28010:
-----------------------------------

    Description: 
It looks like there's an issue with MWI subscriptions and the topic somehow ends up NULL. This could be due to implicit subscriptions changing to explicit. There could be a race condition when things are being set up and the call is hung up almost immediately.

{noformat}
[2018-08-13 08:41:31] ERROR[96783] astobj2.c: FRACK!, Failed assertion user_data is NULL (0)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: Got 27 backtrace records
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #0: [0x5fcc55] asterisk __ast_assert_failed() (0x5fcbd1+84)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #1: [0x45ccf4] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #2: [0x45cdbc] asterisk __ao2_lock() (0x45cd91+2B)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #3: [0x5c80af] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #4: [0x5c7afd] asterisk stasis_unsubscribe() (0x5c7a9d+60)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #5: [0x5c7d25] asterisk stasis_unsubscribe_and_join() (0x5c7cee+37)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #6: [0x7f7251109e8d] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #7: [0x7f7251109f9a] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #8: [0x7f725110a0ca] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #9: [0x7f725110a28d] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #10: [0x7f72b080ad68] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #11: [0x7f72b080cf57] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #12: [0x7f72b080dee0] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #13: [0x7f7300edc4e5] libasteriskpj.so.2 pjsip_endpt_process_rx_data() (0x7f7300edc339+1AC)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #14: [0x7f72733943b1] res_pjsip.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #15: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #16: [0x5ee123] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #17: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #18: [0x5ec3fa] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #19: [0x5eda99] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #20: [0x5ed852] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #21: [0x5f9c08] asterisk <unknown>()
{noformat}

  was:
It looks like there's an issue with MWI subscriptions and the topic somehow ends up NULL. This could be due to implicit subscriptions changing to explicit. There could be a race condition when things are being set up and the call is hung up almost immediately.

[2018-08-13 08:41:31] ERROR[96783] astobj2.c: FRACK!, Failed assertion user_data is NULL (0)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: Got 27 backtrace records
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #0: [0x5fcc55] asterisk __ast_assert_failed() (0x5fcbd1+84)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #1: [0x45ccf4] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #2: [0x45cdbc] asterisk __ao2_lock() (0x45cd91+2B)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #3: [0x5c80af] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #4: [0x5c7afd] asterisk stasis_unsubscribe() (0x5c7a9d+60)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #5: [0x5c7d25] asterisk stasis_unsubscribe_and_join() (0x5c7cee+37)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #6: [0x7f7251109e8d] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #7: [0x7f7251109f9a] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #8: [0x7f725110a0ca] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #9: [0x7f725110a28d] res_pjsip_mwi.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #10: [0x7f72b080ad68] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #11: [0x7f72b080cf57] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #12: [0x7f72b080dee0] res_pjsip_pubsub.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #13: [0x7f7300edc4e5] libasteriskpj.so.2 pjsip_endpt_process_rx_data() (0x7f7300edc339+1AC)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #14: [0x7f72733943b1] res_pjsip.so <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #15: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #16: [0x5ee123] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #17: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #18: [0x5ec3fa] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #19: [0x5eda99] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #20: [0x5ed852] asterisk <unknown>()
[2018-08-13 08:41:31] VERBOSE[96783] logger.c: #21: [0x5f9c08] asterisk <unknown>()


> PJSIP: Crash with MWI implicit subscription replaced by explicit
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-28010
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28010
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip_mwi
>    Affects Versions: 13.22.0
>         Environment: Sangoma SNG7, FreePBX14, asterisk 13.22.0
>            Reporter: David Watson
>            Assignee: Unassigned
>              Labels: pjsip
>         Attachments: core.pbxchc.jadeworld.com-2018-08-13T08-41-35+1200-brief.txt, core.pbxchc.jadeworld.com-2018-08-13T08-41-35+1200-full.txt, core.pbxchc.jadeworld.com-2018-08-13T08-41-35+1200-locks.txt, core.pbxchc.jadeworld.com-2018-08-13T08-41-35+1200-thread1.txt, freepbx.log, full-20180814
>
>
> It looks like there's an issue with MWI subscriptions and the topic somehow ends up NULL. This could be due to implicit subscriptions changing to explicit. There could be a race condition when things are being set up and the call is hung up almost immediately.
> {noformat}
> [2018-08-13 08:41:31] ERROR[96783] astobj2.c: FRACK!, Failed assertion user_data is NULL (0)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: Got 27 backtrace records
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #0: [0x5fcc55] asterisk __ast_assert_failed() (0x5fcbd1+84)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #1: [0x45ccf4] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #2: [0x45cdbc] asterisk __ao2_lock() (0x45cd91+2B)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #3: [0x5c80af] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #4: [0x5c7afd] asterisk stasis_unsubscribe() (0x5c7a9d+60)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #5: [0x5c7d25] asterisk stasis_unsubscribe_and_join() (0x5c7cee+37)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #6: [0x7f7251109e8d] res_pjsip_mwi.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #7: [0x7f7251109f9a] res_pjsip_mwi.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #8: [0x7f725110a0ca] res_pjsip_mwi.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #9: [0x7f725110a28d] res_pjsip_mwi.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #10: [0x7f72b080ad68] res_pjsip_pubsub.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #11: [0x7f72b080cf57] res_pjsip_pubsub.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #12: [0x7f72b080dee0] res_pjsip_pubsub.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #13: [0x7f7300edc4e5] libasteriskpj.so.2 pjsip_endpt_process_rx_data() (0x7f7300edc339+1AC)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #14: [0x7f72733943b1] res_pjsip.so <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #15: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #16: [0x5ee123] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #17: [0x5e4965] asterisk ast_taskprocessor_execute() (0x5e4858+10D)
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #18: [0x5ec3fa] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #19: [0x5eda99] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #20: [0x5ed852] asterisk <unknown>()
> [2018-08-13 08:41:31] VERBOSE[96783] logger.c: #21: [0x5f9c08] asterisk <unknown>()
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list