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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 1 14:03:47 CDT 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:                     new
Asterisk Version:           1.8.0 
JIRA:                        
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-01 14:03 CDT
====================================================================== 
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

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

---------------------------------------------------------------------- 
 (0128508) parisioa (reporter) - 2010-11-01 14:03
 https://issues.asterisk.org/view.php?id=18220#c128508 
---------------------------------------------------------------------- 
I tested against Neon .29.1 through .29.5, the previous post was .29.5

This is the output when compiled against neon .29.1, same end result:

https://issues.asterisk.org/view.php?id=0  0x00007fdd755660b0 in strlen () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=1  0x00007fdd75532ae0 in vfprintf ()
from /lib/libc.so.6
https://issues.asterisk.org/view.php?id=2  0x00007fdd7555826a in vsnprintf ()
from /lib/libc.so.6
https://issues.asterisk.org/view.php?id=3  0x00007fdd4bb13e29 in ne_vsnprintf
(str=0x1038 <Address 0x1038 out of
bounds>, size=140588434465401, fmt=0x40b8eb98 "8\020", ap=0x0) at
ne_string.c:531
https://issues.asterisk.org/view.php?id=4  0x00007fdd4bb137c7 in ne_set_error
(sess=<value optimized out>,
format=<value optimized out>) at ne_session.c:351
https://issues.asterisk.org/view.php?id=5  0x00007fdd4bb1099d in aborted
(req=<value optimized out>,
doing=0x7fdd4bb223e7 "Could not read status line", code=<value optimized
out>) at ne_request.c:208
https://issues.asterisk.org/view.php?id=6  0x00007fdd4bb11abf in send_request
(req=0x2538d30, request=<value
optimized out>) at ne_request.c:875
https://issues.asterisk.org/view.php?id=7  0x00007fdd4bb129b1 in
ne_begin_request (req=0x2538d30) at
ne_request.c:1168
https://issues.asterisk.org/view.php?id=8  0x00007fdd4bb1ba25 in
ne_xml_dispatch_request (req=0x2538d30,
parser=0x253af50) at ne_xmlreq.c:87
https://issues.asterisk.org/view.php?id=9  0x00007fdd4bb0ee38 in
send_ews_request_and_parse
(request=0x7fdd46439ed0, ctx=0x40b8ee60) at res_calendar_ews.c:528
https://issues.asterisk.org/view.php?id=10 0x00007fdd4bb0f20e in
ewscal_write_event (event=0x7fdd46485728) at
res_calendar_ews.c:624
https://issues.asterisk.org/view.php?id=11 0x00007fdd6da0e969 in
calendar_write_exec (chan=0x2530788,
cmd=0x40b8f160 "CALENDAR_WRITE", data=0x40b8f16f "testcalendar",
value=0x40b8f3e3 " \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)")
    at res_calendar.c:1353
https://issues.asterisk.org/view.php?id=12 0x0000000000504d8b in ast_func_write
(chan=0x2530788,
function=0x40b8f270
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0x40b8f3e3 " \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)") at
pbx.c:3572
https://issues.asterisk.org/view.php?id=13 0x000000000051920c in
pbx_builtin_setvar_helper (chan=0x2530788,
name=0x40b8f3a0
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0x40b8f3e3 " \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)") at
pbx.c:9488
https://issues.asterisk.org/view.php?id=14 0x0000000000519719 in
pbx_builtin_setvar (chan=0x2530788,
data=0x40b91700
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)") at
pbx.c:9562
https://issues.asterisk.org/view.php?id=15 0x00000000004fcb09 in pbx_exec
(c=0x2530788, app=0x7fdd70058280,
data=0x40b91700
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)")
    at pbx.c:1399
https://issues.asterisk.org/view.php?id=16 0x00000000005066b0 in
pbx_extension_helper (c=0x2530788, con=0x0,
context=0x2530ce0 "from-staff", exten=0x2530d30 "1", priority=1, label=0x0,
callerid=0x252e970 "1500", action=E_SPAWN, found=0x40b93ed0,
combined_find_spawn=1)
    at pbx.c:4078
https://issues.asterisk.org/view.php?id=17 0x000000000050806e in
ast_spawn_extension (c=0x2530788,
context=0x2530ce0 "from-staff", exten=0x2530d30 "1", priority=1,
callerid=0x252e970 "1500", found=0x40b93ed0, combined_find_spawn=1) at
pbx.c:4577
https://issues.asterisk.org/view.php?id=18 0x0000000000508b15 in __ast_pbx_run
(c=0x2530788, args=0x0) at
pbx.c:4675
https://issues.asterisk.org/view.php?id=19 0x000000000050a79d in pbx_thread
(data=0x2530788) at pbx.c:4986
https://issues.asterisk.org/view.php?id=20 0x000000000055ed0b in dummy_start
(data=0x24dcfe0) at utils.c:971
https://issues.asterisk.org/view.php?id=21 0x00007fdd74d75fc7 in start_thread ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=22 0x00007fdd755ba64d in clone () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=23 0x0000000000000000 in ?? () 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-01 14:03 parisioa       Note Added: 0128508                          
======================================================================




More information about the asterisk-bugs mailing list