AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
4 stars 2 forks source link

channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509 #262

Closed tsawyer closed 6 months ago

tsawyer commented 6 months ago

From git pull this date to the 2509 test system. On branch Master. After keyup. No core file found.

[2024-01-02 17:58:42.919] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:44.199] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:45.479] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:46.759] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:48.039] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:49.319] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:50.599] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:51.879] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:53.159] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:54.439] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:55.719] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:56.999] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:58.279] WARNING[2053517]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-02 17:58:59.507] Asterisk uncleanly ending (0).
[2024-01-02 17:58:59.508] Executing last minute cleanups
InterLinked1 commented 6 months ago

Is this something new that only just started happening?

InterLinked1 commented 6 months ago

@tsawyer I just started up 2509 and I don't see this happening...

If you see this happen again, run "core show channels" (and getting a backtrace never hurts either). I observed this on one occasion where there were 2 simpleusb channels (issue #260). It's odd it would happen with voter, but maybe the same issue sporadically manifests itself there. Either way, I can't seem to reproduce this consistently. If you're able to, let me know; otherwise, we might have to suspend this issue for now.

tsawyer commented 6 months ago

@InterLinked1 core show channels



Channel                                                          Location                         State   Application(Data)
voter/2509                                                       2509@default:1                   Up      Rpt((Repeater Rx))
DAHDI/pseudo-1179716746                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1171117253                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1737573562                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1716585027                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-5631895                                             s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1011971416                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1098156769                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-344911481                                           s@default:1                      Rsrvd   (None)
DAHDI/pseudo-366382921                                           s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1184396182                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1288958589                                          s@default:1                      Rsrvd   (None)
SimpleUSB/usb_25334                                              s@default:1                      Up      Rpt((Repeater Rx))
DAHDI/pseudo-1409974390                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1571247312                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1383792656                                          s@default:1                      Rsrvd   (None)
DAHDI/pseudo-726929924                                           s@default:1                      Rsrvd   (None)
DAHDI/pseudo-1547535094                                          s@default:1                      Rsrvd   (None)
18 active channels
0 active calls
0 calls processed
*CLI> [2024-01-03 07:12:33.159] WARNING[2243564]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-03 07:12:34.439] WARNING[2243564]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
[2024-01-03 07:12:35.719] WARNING[2243564]: channel.c:1084 __ast_queue_frame: Exceptionally long voice queue length queuing to voter/2509
tsawyer commented 6 months ago

core-asterisk-running-2024-01-03T15-15-43Z-full.txt

InterLinked1 commented 6 months ago

This is a regression caused by an infinite loop (note CPU usage is 100%), due to the latest commit, 804583c76f6474810f296c473bb0d68f3478601d for issue #261.

I'll fix momentarily.

Thread 58 (Thread 0x7f82e4c5c700 (LWP 2243580)):
#0  0x00007f83268a80ff in check_tlink_list (myrpt=0x7f83268e21a0 <rpt_vars>) at app_rpt/rpt_link.c:111
        tlist = 0x7f83268e5d70 <rpt_vars+15312>
        __FUNCTION__ = "check_tlink_list"
#1  0x00007f83268a8139 in tele_link_add (myrpt=0x7f83268e21a0 <rpt_vars>, t=0x7f82fc106100) at app_rpt/rpt_link.c:122
No locals.
#2  0x00007f83268c73f9 in rpt_telemetry (myrpt=0x7f83268e21a0 <rpt_vars>, mode=4, data=0x0) at app_rpt/rpt_telemetry.c:2926