Kernel error on mutex_lock, while using object_detection app

I run object_detection app from Hailo-Application-Code-Examples/runtime/cpp/object_detection/object_detection.cpp at main · hailo-ai/Hailo-Application-Code-Examples · GitHub

It works until 95% and then I get kernel error:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 1474.118629] Mem abort info:
[ 1474.118876] ESR = 0x96000005
[ 1474.119145] EC = 0x25: DABT (current EL), IL = 32 bits
[ 1474.119614] SET = 0, FnV = 0
[ 1474.119883] EA = 0, S1PTW = 0
[ 1474.120163] Data abort info:
[ 1474.120420] ISV = 0, ISS = 0x00000005
[ 1474.120755] CM = 0, WnR = 0
[ 1474.121081] user pgtable: 4k pages, 39-bit VAs, pgdp=000000013a678000
[ 1474.121650] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[ 1474.122408] Internal error: Oops: 96000005 [#1] SMP
[ 1474.122833] Modules linked in: hailo_pci(O)
[ 1474.123208] CPU: 6 PID: 5745 Comm: obj_det Tainted: G O 5.10.160.advantech #2
[ 1474.123940] Hardware name: MCP906 (DT)
[ 1474.124276] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=–)
[ 1474.124805] pc : mutex_lock+0x28/0x68
[ 1474.125129] lr : mutex_lock+0x1c/0x68
[ 1474.125453] sp : ffffffc00d39bd00
[ 1474.125744] x29: ffffffc00d39bd00 x28: ffffff81042d8000
[ 1474.126215] x27: 0000000000000000 x26: 0000000000000000
[ 1474.126685] x25: ffffff81042d8750 x24: ffffffc0096c8338
[ 1474.127154] x23: ffffffc00a154070 x22: ffffff810091cec8
[ 1474.127624] x21: 0000000000000000 x20: ffffffc0012f3050
[ 1474.128094] x19: 0000000000000000 x18: 0000000000000000
[ 1474.128563] x17: 0000000000000000 x16: 0000000000000000

I see, that error appears in function mutex_lock, but I can’t find, how object_detection.cpp connected with it. Where should I search for the problem function call?