[asterisk-bugs] [JIRA] Commented: (ASTERISK-20221) seg fault when register via websocket

James Mortensen (JIRA) noreply at issues.asterisk.org
Tue Aug 14 12:49:07 CDT 2012


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

James Mortensen commented on ASTERISK-20221:
--------------------------------------------

I attached james_output.txt, which shows the SIP Debug logging as well as the crash. While I wait to hear more information, I'm going to dig into the code and see if I can get more logging or debug information. Thank you, James

> seg fault when register via websocket
> -------------------------------------
>
>                 Key: ASTERISK-20221
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20221
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/WebSocket
>    Affects Versions: 11.0.0-beta1
>         Environment: debian wheezy: Linux debian 3.2.0-3-686-pae running in a virtual machine
>            Reporter: Sven Beisiegel
>         Attachments: asterisk-20221-ws-family-filter.diff, crash_when_register_via_websocket.txt, james_output.txt
>
>
> Asterisk has been compiled with option "--disable-asteriskssl", "DON'T OPTIMIZE"-Flag and "BETTER_BACKTRACES"-Flag
> A default configuration has been created with "make samples"
> The default configuration has been adjusted like in the three files below (link to pastbin)
> httpd.conf: http://pastebin.com/UMmkJqxt
> extensions.conf: http://pastebin.com/kKa4Mqvi
> sip.conf: http://pastebin.com/JysvnpS8
> The following scenario crashes Asterisk every time: 
> - Register with user 100 or 101 with correct credentials for digest authentication. For registration via websockets, two clients have been used. 1) SIPML5, 2.) SIP-JS (http://code.google.com/p/sip-js)
> The following does not crash Asterisk at all:
> - Use a wrong user-id or password for digest authentication, Asterisk tells me that digest credentials are wrong (403 Forbidden - Auth)
> - Try to register with user credentials where the user is not configured for registration via websockets, Asterisk sends a forbidden as well.
> The backtrace can be found at pastebin: http://pastebin.com/bhy3RjgC
> best regards,
> Sven

--
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