[Home]

Summary:ASTERISK-23073: Asterisk crashes randomly when using chan_unistim
Reporter:niurkin sil (niurkinfa)Labels:
Date Opened:2013-12-26 15:02:08.000-0600Date Closed:2014-03-12 04:55:21
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_unistim
Versions:11.7.0 Frequency of
Occurrence
Related
Issues:
Environment:FreePBX Distro 11.7.0Attachments:( 0) backtrace.txt
( 1) debug1.txt
( 2) debug2.txt
( 3) gdb.txt
Description:Hi, we are using latest freepbx distro updatadet to asterisk 11.7.0 and we are experience ramdon asterisk crash using unistim driver. The erros are listed below:

Thread 1 (Thread 0x7f8e5ff83700 (LWP 24099)):
#0  0x00007f8ead5f2140 in key_call (pte=0x7f8e74041720, keycode=84 'T') at chan_unistim.c:3320
#1  0x00007f8ead5f5d42 in process_request (size=14, buf=0x2f0d6a0 "", pte=0x7f8e74041720) at chan_unistim.c:4400
#2  0x00007f8ead5f69f1 in parsing (size=14, buf=0x2f0d6a0 "", pte=0x7f8e74041720, addr_from=0x7f8e5ff82cb0)
   at chan_unistim.c:4598
#3  0x00007f8ead5f80c5 in unistimsock_read (id=0x7f8e74000920, fd=49, events=1, ignore=0x0)
   at chan_unistim.c:4991
#4  0x00000000004ffeef in ast_io_wait (ioc=0x2eb9050, howlong=1000) at io.c:292
#5  0x00007f8ead5faaaa in do_monitor (data=0x0) at chan_unistim.c:5729
#6  0x000000000059c07a in dummy_start (data=0x2e78a60) at utils.c:1162
#7  0x00007f8f0785f9d1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8f08e26b6d in clone () from /lib64/libc.so.6



Comments:By: Igor Goncharovsky (igorg) 2013-12-26 23:35:06.565-0600

Does it mean that this crash can not be reproduced by some sequence of actions with same phone? Other crash traces shows failure at the same place of code? can you put here asterisk console output at the crash time?

By: niurkin sil (niurkinfa) 2013-12-27 16:52:55.435-0600

Hi Igor, i found the issue, basically happens when i put a call on hold and later  i want to transfer the call pressing the softkey "transfer"; after that, asterisk restart. Attached more information about the problem.

By: Rusty Newton (rnewton) 2013-12-30 19:24:17.980-0600

@niurkin sil,

Please remove your long debug excerpts from the *comments* field and attach them as .txt files to the issue (More Actions > Attach Files). This helps us prevent the comments from getting very long resulting in lots of scrolling for people reading the issue.

By: niurkin sil (niurkinfa) 2013-12-30 21:14:34.412-0600

Thanks for your recommendation Rusty, i did the changes as you suggested.

By: Steve Pask (steve@laurenrichards.com) 2014-03-04 08:12:01.230-0600

Hi, Any updates on this issue?
I am running 11.6 and get the same crashes when transferring between unistim phones.

Cheers,

Steve

By: Igor Goncharovsky (igorg) 2014-03-04 20:38:29.935-0600

Steve, I am working on it. I think that fix for this and some other minor issues should be commited on this week.

By: Steve Pask (steve@laurenrichards.com) 2014-03-12 04:42:54.211-0500

Tested Igor's latest update and it fixes the transfer issue. I had similar problems when using ring groups and these now appear to work also.
Thanks,

Steve