Summary:ASTERISK-17913: Asterisk crashed on app_queue random
Reporter:Evandro César Arruda (ecarruda)Labels:
Date Opened:2011-05-24 07:47:10Date Closed:2011-06-08 20:20:26
Versions: Frequency of
Environment:Attachments:( 0) backtrace_full_optimized.txt
( 1) gdb_core_bt_btfull.txt

My asterisk crashed running in production after 8 days.

This system uses app_queue a lot and the error has relationship with this.

I'm sending my bt and bt full without the DEBUG enabled on asterisk compilation, because, i can't reproduce this error.
Comments:By: Leif Madsen (lmadsen) 2011-05-27 11:02:41

I'm going to mark this as Acknowledged, but because your backtrace is optimized it may not be useful for a developer. If you can reproduce this please attach an unoptimized backtrace.


By: Evandro César Arruda (ecarruda) 2011-05-27 11:29:00

lmadsen, sorry, but i know about the backtrage generation, i can't reproduce this, i enabled DONT OPTIMIZE to get a complete backtrace but i didn't give this  more times.

By: Evandro César Arruda (ecarruda) 2011-05-27 11:32:23

i'm sending now the old core file with all threads backtrace

By: Evandro César Arruda (ecarruda) 2011-05-27 11:44:56

The problems indicate some error on format_sln.c on the line 45:

       if ((res = fread(s->fr.data.ptr, 1, s->fr.datalen, s->f)) < 1) {

By: Russell Bryant (russell) 2011-06-07 15:34:49.729-0500

The problem is not obvious here.  Given that and that we aren't officially supporting Asterisk 1.6.2 anymore, please test Asterisk 1.8.  If you're not able to reproduce it there, we'll have to close this out.

By: Evandro César Arruda (ecarruda) 2011-06-08 12:26:02.891-0500

Hey Russell,

Thanks for your attention, i tried many times to reproduce this problem but i was failed with that.

My customer spoken to me about the problem momment and we have this scene:

  1. One person using Agent channel logged on the Polycom first line.
  2. This person received a call on the second line
  3. When one new call on the queue goes to this person, everthing stopped, crash on the system.

I tried to find something wrong on frames sync or somehting about that, but, i failed.

We can close this, this problem happened just one time with this description, i will test with the latest version of 1.8 to get the full support on this problems.

Many thanks for your attention and time.

Best Regards,
Evandro Arruda