[asterisk-bugs] [Asterisk 0018220]: EWS Write Causes Segfault

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 11 12:14:24 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18220 
====================================================================== 
Reported By:                parisioa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18220
Category:                   Resources/res_calendar
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.0 
JIRA:                       SWP-2494 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-27 10:02 CDT
Last Modified:              2010-11-11 12:14 CST
====================================================================== 
Summary:                    EWS Write Causes Segfault
Description: 
If i try and do a write to the calendar it fails and segfaults.  Also
calendar show calendar does not properly show busy state as if it is unable
to read from the calendar either.  

Console will intermittently show connection errors like this but not
crash:
Unable to communicate with Exchange Web Service at
'https://mail.mydomain.com/ews/Exchange.asmx': Could not read status line:
connection timed out

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

---------------------------------------------------------------------- 
 (0128788) parisioa (reporter) - 2010-11-11 12:14
 https://issues.asterisk.org/view.php?id=18220#c128788 
---------------------------------------------------------------------- 
So i started digging around in neon, and having commented out line 208 * no
longer segfaults.  I ended up changing:

ne_set_error(sess, "%s: %s", doing ,ne_sock_error(sess->socket) );
to 
ne_set_error(sess, "%s: On line 208", doing);

Now it cleanly errors out, but I still have no idea why the calendaring
plugin doesn't work.  I'm running a contact directory out of EWS that is
working fine and uses the exact same services.wsdl/exchange.asmx with NTLM
authentication, running from the same host (but doesn't use neon).    

Now it spits this out instead of segfaulting:
[Nov 10 13:40:18] WARNING[22973]: res_calendar_ews.c:530
send_ews_request_and_parse: Unable to communicate with Exchange Web Service
at 'https://mail.csgchannels.com/ews/services.wsdl': Could not read status
line: On line 208

So it really to be an issue in neon causing the segfault. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-11 12:14 parisioa       Note Added: 0128788                          
======================================================================




More information about the asterisk-bugs mailing list