AllStarLink / app_rpt

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

app_rpt: tlist Null pointer dereference in altlink1 #261

Open tsawyer opened 6 months ago

tsawyer commented 6 months ago

Latest from SCRN related to Thread 1 FUNCTION = "rpt". Please evaluate and handle as appropriate.

core-asterisk-2024-01-01T10-44-42Z-full.txt

KB4MDD commented 6 months ago

One of my test systems crashed with this same issue.

Thread 1 (Thread 0x7f9e5c1df700 (LWP 4009247)):
#0  0x00007f9ea92f5973 in altlink1 (myrpt=0x7f9ea932d1c0 <rpt_vars>, mylink=0x7f9ea41268e0) at app_rpt/rpt_link.c:116
        tlist = 0xdeaddeaddeaddead
        nonlocals = 0
#1  0x00007f9ea92d0cd0 in rpt (this=0x7f9ea932d1c0 <rpt_vars>) at app_rpt.c:5121
InterLinked1 commented 6 months ago

One of my test systems crashed with this same issue.

Thread 1 (Thread 0x7f9e5c1df700 (LWP 4009247)):
#0  0x00007f9ea92f5973 in altlink1 (myrpt=0x7f9ea932d1c0 <rpt_vars>, mylink=0x7f9ea41268e0) at app_rpt/rpt_link.c:116
        tlist = 0xdeaddeaddeaddead
        nonlocals = 0
#1  0x00007f9ea92d0cd0 in rpt (this=0x7f9ea932d1c0 <rpt_vars>) at app_rpt.c:5121

Thanks, Danny, good to know there's a pattern. There is a similar issue for links as well and I added some debugging code for that. I'll do the same for this as well today.