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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 27 15:26: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-10-27 15:26 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

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

---------------------------------------------------------------------- 
 (0128428) parisioa (reporter) - 2010-10-27 15:26
 https://issues.asterisk.org/view.php?id=18220#c128428 
---------------------------------------------------------------------- 
Here is a backtrace, dont_opt & debug threads were enabled.


https://issues.asterisk.org/view.php?id=0  0x00007f7e21dc00b0 in strlen () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=1  0x00007f7e21d8cae0 in vfprintf ()
from /lib/libc.so.6
https://issues.asterisk.org/view.php?id=2  0x00007f7e21db226a in vsnprintf ()
from /lib/libc.so.6
https://issues.asterisk.org/view.php?id=3  0x00007f7df834fef9 in ne_vsnprintf
(str=0x1038 <Address 0x1038 out of
bounds>,
    size=140179011920729, fmt=0x40d95b98 "8\020", ap=0x0) at
ne_string.c:531
https://issues.asterisk.org/view.php?id=4  0x00007f7df834f897 in ne_set_error
(sess=<value optimized out>,
format=<value optimized out>)
    at ne_session.c:353
https://issues.asterisk.org/view.php?id=5  0x00007f7df834c99d in aborted
(req=<value optimized out>,
    doing=0x7f7df835e4cf "Could not read status line", code=<value
optimized out>)
    at ne_request.c:208
https://issues.asterisk.org/view.php?id=6  0x00007f7df834dabe in send_request
(req=0x88b8f10, request=0x8886fb0)
at ne_request.c:896
https://issues.asterisk.org/view.php?id=7  0x00007f7df834ea81 in
ne_begin_request (req=0x88b8f10) at
ne_request.c:1189
https://issues.asterisk.org/view.php?id=8  0x00007f7df8357af5 in
ne_xml_dispatch_request (req=0x88b8f10,
parser=0x88a9340) at ne_xmlreq.c:87
https://issues.asterisk.org/view.php?id=9  0x00007f7df834ae38 in
send_ews_request_and_parse
(request=0x7f7e1c6ea810, ctx=0x40d95e60)
    at res_calendar_ews.c:528
https://issues.asterisk.org/view.php?id=10 0x00007f7df834b20e in
ewscal_write_event (event=0x7f7e1c6d1358) at
res_calendar_ews.c:624
https://issues.asterisk.org/view.php?id=11 0x00007f7e1a24a969 in
calendar_write_exec (chan=0x7f7e1c6813a8,
cmd=0x40d96160 "CALENDAR_WRITE",
    data=0x40d9616f "testcalendar",
    value=0x40d963e3 " \"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=0x7f7e1c6813a8,
    function=0x40d96270
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0x40d963e3 " \"My
event\",\"mailto:andrewp at csgchannels.com\",228383580,228383640,1)")
---Type <return> to continue, or q <return> to quit---
    at pbx.c:3572
https://issues.asterisk.org/view.php?id=13 0x000000000051920c in
pbx_builtin_setvar_helper (chan=0x7f7e1c6813a8,
    name=0x40d963a0
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0x40d963e3 " \"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=0x7f7e1c6813a8,
    data=0x40d98700
"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=0x7f7e1c6813a8, app=0x7f7e1c4c56d0,
    data=0x40d98700
"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=0x7f7e1c6813a8,
con=0x0,
    context=0x7f7e1c681900 "from-staff", exten=0x7f7e1c681950 "1",
priority=1, label=0x0,
    callerid=0x7f7e1c6a8570 "1500", action=E_SPAWN, found=0x40d9aed0,
combined_find_spawn=1)
    at pbx.c:4078
https://issues.asterisk.org/view.php?id=17 0x000000000050806e in
ast_spawn_extension (c=0x7f7e1c6813a8,
    context=0x7f7e1c681900 "from-staff", exten=0x7f7e1c681950 "1",
priority=1,
    callerid=0x7f7e1c6a8570 "1500", found=0x40d9aed0,
combined_find_spawn=1) at pbx.c:4577
https://issues.asterisk.org/view.php?id=18 0x0000000000508b15 in __ast_pbx_run
(c=0x7f7e1c6813a8, args=0x0) at
pbx.c:4675
https://issues.asterisk.org/view.php?id=19 0x000000000050a79d in pbx_thread
(data=0x7f7e1c6813a8) at pbx.c:4986
https://issues.asterisk.org/view.php?id=20 0x000000000055ed0b in dummy_start
(data=0x7f7e1c6e52c0) at
utils.c:971
https://issues.asterisk.org/view.php?id=21 0x00007f7e215cffc7 in start_thread ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=22 0x00007f7e21e1464d in clone () from
/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
https://issues.asterisk.org/view.php?id=23 0x0000000000000000 in ?? () 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-27 15:26 parisioa       Note Added: 0128428                          
======================================================================




More information about the asterisk-bugs mailing list