[Home]

Summary:ASTERISK-24302: Crash with PJSIP, WebRTC configuration in pjproject - pjsip_fromto_hdr_clone from /usr/local/lib/libpjsip.so
Reporter:Ankit Mani (ankit.mani)Labels:
Date Opened:2014-09-08 05:27:57Date Closed:2014-12-22 12:50:49.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:pjproject/pjsip Resources/res_pjsip
Versions:SVN Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 12.04 x86_64Attachments:( 0) backtrace.txt
( 1) backtrace.txt
( 2) extensions.conf
( 3) pjsip.conf
( 4) pjsip.log
( 5) sipml5_expert.png
( 6) sipml5.png
( 7) valgrind.txt
Description:We are using pjsip channel for asterisk webrtc implementation. sipML5 is used as a sip client. Client Successfully registers to asterisk server but when a call is made to a registered user it crashes.
Comments:By: Rusty Newton (rnewton) 2014-09-11 16:03:51

Please describe how to reproduce the crash.

Provide:

* configuration of SIPML5
* configuration of pjsip.conf
* dialplan used in reproduction
* description of steps to take when reproducing the issue (dial X, call extension X)
* Another backtrace, following the instructions [on the wiki|https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace] making sure to use the DONT_OPTIMIZE AND BETTER_BACKTRACES compiler flags.


By: Ankit Mani (ankit.mani) 2014-09-14 01:02:51.323-0500

Sorry For the late reply...

I used asterisk cli to place call on estension 6004.
console dial 6004

and config files are attached


By: Rusty Newton (rnewton) 2014-09-29 16:15:39.604-0500

Thanks, I'm not sure, but it looks like the crash may be in pjproject. What pjproject version (github commit) or tarball release are you using?

By: Rusty Newton (rnewton) 2014-09-29 16:16:04.344-0500

Also, remember to hit Enter Feedback or Send Back when replying so we'll see it sooner. Thanks!

By: Ankit Mani (ankit.mani) 2014-10-01 09:59:41.576-0500

I had used tarball v2.2 and v2.3.... and followed installation steps as in
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject

By: Matt Jordan (mjordan) 2014-12-18 11:49:04.132-0600

[~ankitgupta.nt]: There was a memory corruption in the WebSocket handling code that was fixed in 13.0.2 (via ASTERISK-24472). Can you re-test with that version or 13.1.0 and see if you still have this issue?

By: Ankit Mani (ankit.mani) 2014-12-19 00:11:41.257-0600

Sorry, i cann't test it as i have switched my job and is no longer working on asterisk.
Thank You

By: Kevin Harwell (kharwell) 2014-12-22 12:48:35.368-0600

Using the given configuration files I was unable to reproduce this problem on the Asterisk version/revision listed nor in Asterisk 13.  Without more information, I am going to assume this issue is unreproducible and/or has been fixed in 13 and am going to close this issue for now.  If the problem is observed again we can reopen if needed.