[asterisk-bugs] [Asterisk 0016576]: [patch] PrivacyManager generates a core dump when testing

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 12 11:23:29 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16576 
====================================================================== 
Reported By:                uxbod
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16576
Category:                   Applications/app_privacy
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1166 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-11 10:21 CST
Last Modified:              2010-05-12 11:23 CDT
====================================================================== 
Summary:                    [patch] 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'));


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-12 11:23 svnbot         Status                   ready for testing =>
assigned
2010-05-12 11:23 svnbot         Status                   assigned => resolved
2010-05-12 11:23 svnbot         Resolution               reopened => fixed   
======================================================================




More information about the asterisk-bugs mailing list