[asterisk-bugs] [JIRA] (ASTERISK-22897) WebSocket connection from JsSIP or SIPML5 generate a segmentation fault(core dumped)

Max E. Reyes Vera J. (JIRA) noreply at issues.asterisk.org
Thu Nov 28 14:30:03 CST 2013


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

Max E. Reyes Vera J. commented on ASTERISK-22897:
-------------------------------------------------

Hi thanks Joshua, already patched with the provided code and its working fine until I execute the pjsip qualify <endpoint> it provoque a core dumped again, but I'm not sure if that apply as the same issue. Here is the cli output(I'm not attaching the new backtrace since I don't know if this is a "new issue" or not).

*CLI> pjsip qualify 5001
Sending qualify to endpoint 5001
 contact sip:5001 at 10.0.1.102:36357;transport=ws;rtcweb-breaker=yes
<--- Transmitting SIP request (487 bytes) to WS:10.0.1.102:36357 --->
OPTIONS sip:5001 at 10.0.1.102:36357;transport=ws;rtcweb-breaker=yes SIP/2.0
Via: SIP/2.0/WS 10.0.1.102:36357;rport;branch=z9hG4bKPjb53060a6-e271-4bfa-a8de-e62286cf125f
From: <sip:4710dba4-729b-4d8a-b827-46719092cd99 at Airo-Shaka>;tag=709ca5ad-c301-44f6-8575-34d6dc527ecf
To: <sip:5001 at 10.0.1.102;rtcweb-breaker=yes>
Contact: <sip:4710dba4-729b-4d8a-b827-46719092cd99 at Airo-Shaka:5060;transport=WS>
Call-ID: 6d636ef6-f1bf-464e-9111-a5a869763082
CSeq: 1432 OPTIONS
Content-Length:  0


 contact sip:vf9s9h5p at 10.0.1.102:35493;transport=ws
[Nov 28 14:22:14] WARNING[8485]: pjsip:0 <?>: 	tsx0x7f7cc804c .Failed to send Request msg OPTIONS/cseq=23037 (tdta0x7f7cc8039a50)! err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT))
[Nov 28 14:22:14] ERROR[8485]: res_pjsip/pjsip_options.c:267 qualify_contact: Unable to send request to qualify contact sip:vf9s9h5p at 10.0.1.102:35493;transport=ws
[Nov 28 14:22:14] ERROR[8485]: astobj2.c:166 INTERNAL_OBJ: bad magic number for object 0x7f7cc806ed70. Object is likely destroyed.
*CLI> asterisk: ../src/pj/os_core_unix.c:1287: pj_mutex_unlock: Assertion `mutex->owner == pj_thread_this()' failed.
Aborted (core dumped)

                
> WebSocket connection from JsSIP or SIPML5 generate a segmentation fault(core dumped)
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22897
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22897
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 12.0.0-beta1
>         Environment: Fedora 17, Linux version 3.8.11-100.fc17.x86_64
>            Reporter: Max E. Reyes Vera J.
>            Assignee: Joshua Colp
>            Severity: Minor
>         Attachments: backtrace.txt
>
>
> Every time a websocket connection came from jssip or sipml5 asterisk crashes with the core dumped
> Here is the output of the backtrace--->http://pastebin.com/48gRGM4f
> Note: Asterisk was compiled with debugh_threads,better_backtraces and dont_optimize however there is the value <optimized out> in the backtrace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list