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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 1 16:21:58 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 16:21 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

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

---------------------------------------------------------------------- 
 (0128531) parisioa (reporter) - 2010-11-01 16:21
 https://issues.asterisk.org/view.php?id=18220#c128531 
---------------------------------------------------------------------- 
I installed a clean debian box, neon .29.5, and 1.8.0.  Segfaults, but it
doesn't say data optimized out now:


https://issues.asterisk.org/view.php?id=0  0xb749f4f3 in strlen () from
/lib/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=1  0xb746c1e4 in vfprintf () from
/lib/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=2  0xb7490464 in vsnprintf () from
/lib/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=3  0xb6d0266a in ne_vsnprintf (
    str=0xd3c9e64 "Could not read status line: connection timed out",
    size=512, fmt=0xb6d11e82 "%s: %s", ap=0xb289a548 "ú\037Ѷ$\020")
    at ne_string.c:531
https://issues.asterisk.org/view.php?id=4  0xb6d01fa8 in ne_set_error
(sess=0xd3c9d90, format=0xb6d11e82 "%s:
%s")
    at ne_session.c:353
https://issues.asterisk.org/view.php?id=5  0xb6cfeaac in aborted (req=<value
optimized out>,
    doing=0xb6d11ffa "Could not read status line", code=-1) at
ne_request.c:208
https://issues.asterisk.org/view.php?id=6  0xb6cffe76 in send_request
(req=0xd510ea8, request=0xd510408)
    at ne_request.c:896
https://issues.asterisk.org/view.php?id=7  0xb6d00fe0 in ne_begin_request
(req=0xd510ea8) at ne_request.c:1189
https://issues.asterisk.org/view.php?id=8  0xb6d0ad1d in ne_xml_dispatch_request
(req=0xd510ea8,
parser=0xd4fd990)
    at ne_xmlreq.c:87
https://issues.asterisk.org/view.php?id=9  0xb6cfcca7 in
send_ews_request_and_parse (request=0xd513888,
    ctx=0xb289a768) at res_calendar_ews.c:528
https://issues.asterisk.org/view.php?id=10 0xb6cfd082 in ewscal_write_event
(event=0xd513828)
    at res_calendar_ews.c:624
https://issues.asterisk.org/view.php?id=11 0xb6fc39ca in calendar_write_exec
(chan=0xd50d7c0,
    cmd=0xb289a920 "CALENDAR_WRITE", data=0xb289a92f "testcalendar",
    value=0xb289ab03 " \"My
event\",\"mailto:andrewp at mydomain.com\",228383580---Type <return> to
continue, or q <return> to quit---
,228383640,1)") at res_calendar.c:1353
https://issues.asterisk.org/view.php?id=12 0x0813cbf6 in ast_func_write
(chan=0xd50d7c0,
    function=0xb289a9e0
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0xb289ab03 " \"My
event\",\"mailto:andrewp at mydomain.com\",228383580,228383640,1)") at
pbx.c:3572
https://issues.asterisk.org/view.php?id=13 0x08150084 in
pbx_builtin_setvar_helper (chan=0xd50d7c0,
    name=0xb289aac0
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)",
    value=0xb289ab03 " \"My
event\",\"mailto:andrewp at mydomain.com\",228383580,228383640,1)") at
pbx.c:9488
https://issues.asterisk.org/view.php?id=14 0x08150572 in pbx_builtin_setvar
(chan=0xd50d7c0,
    data=0xb289cd68
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= \"My
event\",\"mailto:andrewp at mydomain.com\",228383580,228383640,1)") at
pbx.c:9562
https://issues.asterisk.org/view.php?id=15 0x08135280 in pbx_exec (c=0xd50d7c0,
app=0x9f74098,
    data=0xb289cd68
"CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= \"My
event\",\"mailto:andrewp at mydomain.com\",228383580,228383640,1)") at
pbx.c:1399
https://issues.asterisk.org/view.php?id=16 0x0813e380 in pbx_extension_helper
(c=0xd50d7c0, con=0x0,
    context=0xd50db2c "from-staff", exten=0xd50db7c "1", priority=1,
    label=0x0, callerid=0xd4f8e50 "1500", action=E_SPAWN,
found=0xb289f260,
    combined_find_spawn=1) at pbx.c:4078
---Type <return> to continue, or q <return> to quit---
https://issues.asterisk.org/view.php?id=17 0x0813fc31 in ast_spawn_extension
(c=0xd50d7c0,
    context=0xd50db2c "from-staff", exten=0xd50db7c "1", priority=1,
    callerid=0xd4f8e50 "1500", found=0xb289f260, combined_find_spawn=1)
    at pbx.c:4577
https://issues.asterisk.org/view.php?id=18 0x081405c7 in __ast_pbx_run
(c=0xd50d7c0, args=0x0) at pbx.c:4675
https://issues.asterisk.org/view.php?id=19 0x0814204c in pbx_thread
(data=0xd50d7c0) at pbx.c:4986
https://issues.asterisk.org/view.php?id=20 0x081936df in dummy_start
(data=0xd510418) at utils.c:971
https://issues.asterisk.org/view.php?id=21 0xb72d94c0 in start_thread () from
/lib/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=22 0xb750984e in clone () from
/lib/i686/cmov/libc.so.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-01 16:21 parisioa       Note Added: 0128531                          
======================================================================




More information about the asterisk-bugs mailing list