[Home]

Summary:ASTERISK-24420: segfault when Zoiper joins ConfBridge
Reporter:John Wulff (jwulff)Labels:
Date Opened:2014-10-14 12:55:48Date Closed:2014-11-16 17:29:48.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:13.0.0-beta2 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-24489 Crash: Asterisk crashes when converting RTCP packet to JSON for res_hep_rtcp and report blocks are greater than 1
duplicatesASTERISK-24498 Segmentation fault in res_hep_rtcp on attended transfer
is duplicated byASTERISK-24629 Asterisk crashing randomly, appears related to res_hep_rtcp
Environment:Client: Zoiper Premium 1.3 for iPhone. Library version 21367 Server: VM on VMWare ESXi Ubuntu 14.04.1 LTS Linux version 3.13.0-24-generic (buildd@batsu) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 built 13.0.0-beta2 from sourceAttachments:( 0) gdb.txt
Description:Consistently reproducible segfault when Zoiper joins a ConfBridge on 13.0.0-beta2 (built from source). Other types of calls seem ok. After downgrading to Asterisk 12.6.0 (built from source on same machine in same environment with same packages) the problem is NOT reproducible.

segfaults in syslog, each line is a result of fresh Asterisk instance with Zoiper client joining ConfBridge:
Oct 14 09:25:04 sea-pbx-1 kernel: [1198906.890440] asterisk[3428]: segfault at 14 ip 000000000057d618 sp 00007f0e72d21c80 error 4 in asterisk[400000+270000]
Oct 14 09:30:23 sea-pbx-1 kernel: [1199225.632121] asterisk[18979]: segfault at 14 ip 000000000057d618 sp 00007fa73f36dc80 error 4 in asterisk[400000+270000]
Oct 14 09:32:13 sea-pbx-1 kernel: [1199335.257760] asterisk[19640]: segfault at 14 ip 000000000057d618 sp 00007f48ab8f5c80 error 4 in asterisk[400000+270000]
Oct 14 09:44:09 sea-pbx-1 kernel: [1200051.237079] asterisk[19859]: segfault at 14 ip 000000000057d618 sp 00007fc47d092c80 error 4 in asterisk[400000+270000]
Oct 14 09:46:08 sea-pbx-1 kernel: [1200169.617942] asterisk[3301]: segfault at 14 ip 000000000057d618 sp 00007f96d5cbac80 error 4 in asterisk[400000+270000]
Comments:By: Matt Jordan (mjordan) 2014-10-14 13:47:10.603-0500

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace



By: Rusty Newton (rnewton) 2014-11-03 12:39:07.970-0600

On top of the backtrace can you provide a PCAP( viewable in wireshark) showing traffic up to the crash?

By: Taylor Hawkes (antiochIst) 2014-11-16 14:43:26.235-0600

I'm seeing this issue with Zoiper on 13.0.0 as well. I have attached my backtrace.

By: Matt Jordan (mjordan) 2014-11-16 17:29:48.837-0600

Based on the {{gdb}} backtrace provided (and that Zoiper is being used), this is a duplicate of ASTERISK-24489/ASTERISK-24498. This is fixed in 12/13 SVN, and will be in the next release.