Fatal Python error: Bus error
Thread 0x00007f7294cc9700 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 302 in wait
File "/usr/lib/python3.8/multiprocessing/queues.py", line 227 in _feed
File "/usr/lib/python3.8/threading.py", line 870 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Current thread 0x00007f72944c8700 (most recent call first):
File "/opt/frigate/frigate/video.py", line 150 in capture_frames
File "/opt/frigate/frigate/video.py", line 290 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f728aea6700 (most recent call first):
File "/usr/lib/python3.8/multiprocessing/synchronize.py", line 261 in wait
File "/usr/lib/python3.8/multiprocessing/synchronize.py", line 349 in wait
File "/opt/frigate/frigate/video.py", line 215 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f72954ca700 (most recent call first):
File "/opt/frigate/frigate/log.py", line 65 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f729b9be740 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 1027 in _wait_for_tstate_lock
File "/usr/lib/python3.8/threading.py", line 1011 in join
File "/opt/frigate/frigate/video.py", line 321 in capture_camera
File "/usr/lib/python3.8/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.8/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 75 in _launch
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19 in __init__
File "/usr/lib/python3.8/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.8/multiprocessing/context.py", line 224 in _Popen
File "/usr/lib/python3.8/multiprocessing/process.py", line 121 in start
File "/opt/frigate/frigate/app.py", line 255 in start_camera_capture_processes
File "/opt/frigate/frigate/app.py", line 330 in start
File "/opt/frigate/frigate/__main__.py", line 17 in <module>
File "/usr/lib/python3.8/runpy.py", line 87 in _run_code
File "/usr/lib/python3.8/runpy.py", line 194 in _run_module_as_main
Fatal Python error: Bus error
Frigate is installed in an ubuntu VM that runs in Proxmox.
Nvidia-SMI shows the ffmpeg processes running.
There are some local kernel errors, perhaps related to processing on the Coral?
[56396.555421] xhci_hcd 0000:01:1b.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1 [56396.555423] xhci_hcd 0000:01:1b.0: Looking for event-dma 000000015997cd00 trb-start 000000015997cb20 trb-end 000000015997cca0 seg-start 000000015997c000 seg-end 000000015997cff0 [56396.555461] xhci_hcd 0000:01:1b.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1 [56396.555462] xhci_hcd 0000:01:1b.0: Looking for event-dma 000000015997cd10 trb-start 000000015997cb20 trb-end 000000015997cca0 seg-start 000000015997c000 seg-end 000000015997cff0
In the host Proxmox debian, I see:
[1595623.100731] usb 2-3: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd [1595623.119636] usb 2-3: LPM exit latency is zeroed, disabling LPM. [1600843.216590] usb 2-3: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
but these happen frequently and don't correspond to failure events.
Restarting the container makes it work again for about seven hours. I suppose I could implement a watchdog that would automagically do that.
Thanks for the quick reply. I apologize, I did see that part of the FAQ, but I sort of assumed that it would fail on startup and require adjustment then, rather than after running for a while.
Describe the problem you are having
After about 7 hours, the docker stops responding to requests and is no longer processing the cameras
Version
0.9.4-26ae608
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Proxmox
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Amcrest and Reolink
Any other information that may be helpful
Frigate is installed in an ubuntu VM that runs in Proxmox.
Nvidia-SMI
shows the ffmpeg processes running.There are some local kernel errors, perhaps related to processing on the Coral?
[56396.555421] xhci_hcd 0000:01:1b.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1 [56396.555423] xhci_hcd 0000:01:1b.0: Looking for event-dma 000000015997cd00 trb-start 000000015997cb20 trb-end 000000015997cca0 seg-start 000000015997c000 seg-end 000000015997cff0 [56396.555461] xhci_hcd 0000:01:1b.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1 [56396.555462] xhci_hcd 0000:01:1b.0: Looking for event-dma 000000015997cd10 trb-start 000000015997cb20 trb-end 000000015997cca0 seg-start 000000015997c000 seg-end 000000015997cff0
In the host Proxmox debian, I see:
[1595623.100731] usb 2-3: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd [1595623.119636] usb 2-3: LPM exit latency is zeroed, disabling LPM. [1600843.216590] usb 2-3: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
but these happen frequently and don't correspond to failure events.Restarting the container makes it work again for about seven hours. I suppose I could implement a watchdog that would automagically do that.