[Home]

Summary:ASTERISK-25658: Random segmentation fault for asterisk webrtc
Reporter:Marius Cojocariu (marius)Labels:
Date Opened:2016-01-04 08:40:29.000-0600Date Closed:2016-01-04 08:58:42.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:13.5.0 Frequency of
Occurrence
Frequent
Related
Issues:
duplicatesASTERISK-25275 A11 SIGSEGV from pjnpath check_cached_response (ast_rtcp_read -> pj_stun_session_on_rx_pkt)
Environment:Attachments:( 0) bt_full.txt
( 1) bt.txt
( 2) crash_asterisk_13.tar.gz
( 3) thread_apply_all_bt.txt
Description:I get random segmentation faults when using res_http_websocket and pjsip.
Comments:By: Asterisk Team (asteriskteam) 2016-01-04 08:40:31.533-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Marius Cojocariu (marius) 2016-01-04 08:44:24.293-0600

Attached results for bt, bt full, thread apply all bt gdb commands.

By: Marius Cojocariu (marius) 2016-01-04 08:47:48.036-0600

Asterisk was compiled with:
{noformat}
./configure --with-unixodbc --libdir=/usr/lib64 --with-vorbis --with-srtp --with-speex --with-ogg --with-newt --with-gsm --with-ilbc CFLAGS='-mtune=generic'
{noformat}

And in menuselect - flags:
* enabled DONT_OPTIMIZE
* enabled LOADABLE_MODULES
* enabled BETTER_BACKTRACES
* enabled OPTIONAL_API
* everything else disabled

Using a virtual machine kvm powered - linode.

By: Rusty Newton (rnewton) 2016-01-04 08:52:40.898-0600

Thanks, also if you get further crashes it would be nice to have a debug log showing the last few minutes of the crash. Even better if it has a packet trace running (pjsip set logger on).

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

I'm wondering if this may be related to https://issues.asterisk.org/jira/browse/ASTERISK-25275. I'll ping a developer to take a look.


By: Rusty Newton (rnewton) 2016-01-04 08:58:42.833-0600

So, yes it does appear to be a duplicate of ASTERISK-25275. Closing this out as duplicate.

Please follow along on ASTERISK-25275. You can attach your debug and output on that issue in an archive file (so as not to confuse them with the original reporters) and comment there.