Open Schnappatmer opened 8 years ago
Using app_swift with asterisk 13.8.2~dfsg-1 (Ubuntu 16.04 LTS and other 13.x from Debian Jessie) causes a segfault.
Asterisk 11.x does not cause any problem.
The complete backtrace is attached separately.
#13 0x00007fbfe5635ccd in app_exec (chan=0x7fc01400ca28, data=0x7fbfd8578c20 "Test") at app_swift.c:383 res = 0 max_digits = 0 timeout = 0 alreadyran = 0 ms = -1 len = 0 availatend = 0 argv = {0x7fc054000000 " ", 0x2 <error: Cannot access memory at address 0x2>, 0x10 <error: Cannot access memory at address 0x10>} text = 0x7fbfd85784e0 "Test" rc = 0x0 tmp_exten = "\000" results = '\000' <repeats 19 times> u = 0x7fc0540027b0 f = 0x55e400000001 next = {tv_sec = 140464019743784, tv_usec = 94440999475153} ps = 0x7fc0540027d0 parse = 0x7fbfd85784e0 "Test" old_writeformat = 0x0 args = {argc = 1, argv = 0x7fbfd8578618, text = 0x7fbfd85784e0 "Test", timeout = 0x0, max_digits = 0x0} myf = {f = {frametype = 0, subclass = {integer = 0, format = 0x0, frame_ending = 0}, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = {ptr = 0x0, uint32 = 0, pad = "\000\000\000\000\000\00 0\000"}, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0}, offset = '\000' <repeats 63 times>, frdata = {0 <repeats 20 times>}} engine = 0x7fc0540012d0 port = 0x0 voice = 0x7ffd0ab40def params = 0x0 sresult = -1036888781 tts_stream = 0xffffffff event_mask = 32703 vvoice = 0x0 __PRETTY_FUNCTION__ = "app_exec"
backtrace.txt
Using app_swift with asterisk 13.8.2~dfsg-1 (Ubuntu 16.04 LTS and other 13.x from Debian Jessie) causes a segfault.
Asterisk 11.x does not cause any problem.
The complete backtrace is attached separately.
backtrace.txt