[asterisk-bugs] [Asterisk 0016576]: PrivacyManager generates a core dump when testing
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 21 14:47:43 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16576
======================================================================
Reported By: uxbod
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16576
Category: Applications/app_privacy
Reproducibility: always
Severity: crash
Priority: normal
Status: acknowledged
Asterisk Version: 1.6.2.0
JIRA: SWP-1166
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-01-11 10:21 CST
Last Modified: 2010-04-21 14:47 CDT
======================================================================
Summary: PrivacyManager generates a core dump when testing
Description:
Create a test dialplan extension:
exten => 8100,1,Set(CALLERID(num)="")
exten => 8100,n,Answer()
exten => 8100,n,PrivacyManager()
exten => 8100,n,GotoIf(${[${PRIVACYMGRSTATUS} = FAILED]}?:nocid)
exten => 8100,n,NoOp(Number is ${CALLERID(num)})
exten => 8100,n,Hangup()
exten => 8100,n(nocid),Playback(vm-goodbye)
exten => 8100,n,NoOp(Number is ${CALLERID(num)})
exten => 8100,n,Hangup()
Dial the extension and enter a number. Once entered Asterisk core dumps;
and the following is within the console:
== Using SIP RTP CoS mark 5
-- Executing [8100 at test:1] Answer("SIP/1001-00000000", "") in new stack
-- Executing [8100 at test:2] Set("SIP/1001-00000000", "CALLERID(all)=""")
in new stack
-- Executing [8100 at test:3] PrivacyManager("SIP/1001-00000000", "") in
new stack
-- <SIP/1001-00000000> Playing 'privacy-unident.g729' (language 'en')
-- <SIP/1001-00000000> Playing 'privacy-prompt.g729' (language 'en')
voip*CLI>
Disconnected from Asterisk server
/usr/sbin/safe_asterisk: line 146: 21648 Segmentation fault
A backtrace shows:
Core was generated by `asterisk -cvvvdg'.
Program terminated with signal 11, Segmentation fault.
[New process 22183]
[New process 22179]
[New process 22178]
[New process 22177]
[New process 22176]
[New process 22155]
[New process 22147]
[New process 22140]
[New process 22139]
[New process 22138]
[New process 22137]
[New process 22136]
[New process 22135]
[New process 22130]
[New process 22129]
[New process 22128]
[New process 22127]
[New process 22126]
[New process 22125]
[New process 22124]
[New process 22123]
[New process 22122]
[New process 22121]
[New process 22120]
[New process 22119]
[New process 22118]
[New process 22117]
[New process 22116]
[New process 22115]
[New process 22114]
[New process 22113]
[New process 22111]
[New process 22110]
[New process 22109]
[New process 22108]
[New process 22107]
[New process 22106]
[New process 22105]
[New process 22104]
[New process 22103]
[New process 22102]
[New process 22100]
https://issues.asterisk.org/view.php?id=0 0x006b6b58 in privacy_exec
(chan=0xb76a27a8, data=0x817c80e) at
/usr/src/build/asterisk-1.6.2.0/include/asterisk/strings.h:65
65 return (!s || (*s == '\0'));
======================================================================
----------------------------------------------------------------------
(0120717) geoff_stitt (reporter) - 2010-04-21 14:47
https://issues.asterisk.org/view.php?id=16576#c120717
----------------------------------------------------------------------
I am having the same issue. I'm running 1.6.2.6 on x86 hardware with an
error similar to below:
/usr/sbin/safe_asterisk: line 117: 20528 Segmentation fault (core dumped)
nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
>&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Using PrivacyManager(3) stops it from crashing as well.
Issue History
Date Modified Username Field Change
======================================================================
2010-04-21 14:47 geoff_stitt Note Added: 0120717
======================================================================
More information about the asterisk-bugs
mailing list