VAAPI crash in 3.1.3 on Ubuntu 24.04.1 and Intel i5-14500

If I add the bluecherry user to the render group and restart bluecherry, I see BUG: Segment violation at 0x000075a26d981310 in the logs below. If I remove bluecherry from the render group, it works as expected so it seems VAAPI specific. This is on ubuntu 24.04.1 on an Intel Core i5-14500 (14th gen Raptor Lake) with no other GPU.

Bluecherry is version 3.1.3.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble
$ uname -a
Linux tachikoma 6.8.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
2024-09-15T21:06:40.614406+00:00 tachikoma bc-server[31379]: I(): Started bc-server 3.1.3 (toolchain 13.2.0) v3.1.3-0-g6f829491 tags/v3.1.3
2024-09-15T21:06:40.614418+00:00 tachikoma bc-server[31379]: I(): API server started listen to port: 7005
2024-09-15T21:06:40.614431+00:00 tachikoma bc-server[31379]: I(): HLS server started listen to port: 7003 (SSL=0)
2024-09-15T21:06:40.615918+00:00 tachikoma bc-server[31379]: I(): SQL database connection opened
2024-09-15T21:06:40.618874+00:00 tachikoma bc-server[31379]: I(): Initialized render node /dev/dri/renderD128 for VAAPI hardware acceleration
2024-09-15T21:06:40.621058+00:00 tachikoma bc-server[31379]: I(): Determined oldest media time: 2024/09/15 17-58-13
2024-09-15T21:06:40.621090+00:00 tachikoma bc-server[31379]: I(): Checking location: /cameras/bluecherry
2024-09-15T21:06:40.622824+00:00 tachikoma bc-server[31379]: I(): Initial media cleanup finished: removed(0), archived(0), errors(0), others(0)
2024-09-15T21:06:40.622936+00:00 tachikoma bc-server[31379]: I(): v3license server started
2024-09-15T21:06:40.706219+00:00 tachikoma bc-server[31379]: I(2/front door): Setting up device
2024-09-15T21:06:40.706263+00:00 tachikoma bc-server[31379]: I(1/carport): Setting up device
2024-09-15T21:06:41.453121+00:00 tachikoma bc-server[31379]: I(1/carport): Stream started: h264, 1/90000(s) 1/90000(c)
2024-09-15T21:06:41.453365+00:00 tachikoma bc-server[31379]: I(1/carport): Switching to new recording schedule 'motion'
2024-09-15T21:06:41.453508+00:00 tachikoma bc-server[31379]: I(1/carport): motion algorithm is set to 1
2024-09-15T21:06:41.453572+00:00 tachikoma bc-server[31379]: I(1/carport): frame downscale factor is set to 0.500000
2024-09-15T21:06:41.453643+00:00 tachikoma bc-server[31379]: I(1/carport): min_motion_area_percent is set to 3
2024-09-15T21:06:41.453701+00:00 tachikoma bc-server[31379]: I(1/carport): max_motion_area_percent is set to 90
2024-09-15T21:06:41.453761+00:00 tachikoma bc-server[31379]: I(1/carport): max_motion_frames is set to 20
2024-09-15T21:06:41.453814+00:00 tachikoma bc-server[31379]: I(1/carport): min_motion_frames is set to 15
2024-09-15T21:06:41.453869+00:00 tachikoma bc-server[31379]: I(1/carport): motion_blend_radio is set to 15:1
2024-09-15T21:06:41.453936+00:00 tachikoma bc-server[31379]: I(1/carport): motion_debug is set to 0
2024-09-15T21:06:41.471647+00:00 tachikoma bc-server[31379]: I(2/front door): Stream started: h264, 1/90000(s) 1/90000(c)
2024-09-15T21:06:41.471727+00:00 tachikoma bc-server[31379]: I(2/front door): Switching to new recording schedule 'motion'
2024-09-15T21:06:41.471816+00:00 tachikoma bc-server[31379]: I(2/front door): motion algorithm is set to 1
2024-09-15T21:06:41.471875+00:00 tachikoma bc-server[31379]: I(2/front door): frame downscale factor is set to 0.500000
2024-09-15T21:06:41.471925+00:00 tachikoma bc-server[31379]: I(2/front door): min_motion_area_percent is set to 3
2024-09-15T21:06:41.471958+00:00 tachikoma bc-server[31379]: I(2/front door): max_motion_area_percent is set to 90
2024-09-15T21:06:41.471996+00:00 tachikoma bc-server[31379]: I(2/front door): max_motion_frames is set to 20
2024-09-15T21:06:41.472045+00:00 tachikoma bc-server[31379]: I(2/front door): min_motion_frames is set to 15
2024-09-15T21:06:41.472082+00:00 tachikoma bc-server[31379]: I(2/front door): motion_blend_radio is set to 15:1
2024-09-15T21:06:41.472118+00:00 tachikoma bc-server[31379]: I(2/front door): motion_debug is set to 0
2024-09-15T21:06:41.477754+00:00 tachikoma bc-server[31379]: BUG: Segment violation at 0x000075a26d981310
2024-09-15T21:06:41.477795+00:00 tachikoma bc-server[31379]: Call trace:
2024-09-15T21:06:41.477818+00:00 tachikoma bc-server[31379]: [0x000064d4b69f6c7b]  @ /usr/sbin/bc-server
2024-09-15T21:06:41.477839+00:00 tachikoma bc-server[31379]: [0x000075a28b045320]  @ /lib/x86_64-linux-gnu/libc.so.6
2024-09-15T21:06:41.477862+00:00 tachikoma bc-server[31379]: [0x000075a28b188a0d]  @ /lib/x86_64-linux-gnu/libc.so.6
2024-09-15T21:06:41.477896+00:00 tachikoma bc-server[31379]: [0x000075a27e2e5d8a]  @ /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2024-09-15T21:06:41.477920+00:00 tachikoma bc-server[31379]: [0x000075a28c7dbf6e] vaGetImage+0x00000000 @ /lib/x86_64-linux-gnu/libva.so.2
2024-09-15T21:06:41.477945+00:00 tachikoma bc-server[31379]: [0x000075a28ca3721e]  @ /usr/lib/bluecherry/libavutil.so.58
2024-09-15T21:06:41.477967+00:00 tachikoma bc-server[31379]: [0x000075a28ca375be]  @ /usr/lib/bluecherry/libavutil.so.58
2024-09-15T21:06:41.477989+00:00 tachikoma bc-server[31379]: [0x000075a28ca3618f] av_hwframe_transfer_data+0x00000000 @ /usr/lib/bluecherry/libavutil.so.58
2024-09-15T21:06:41.478021+00:00 tachikoma bc-server[31379]: [0x000075a28ca36221] av_hwframe_transfer_data+0x00000000 @ /usr/lib/bluecherry/libavutil.so.58
2024-09-15T21:06:41.478047+00:00 tachikoma bc-server[31379]: [0x000064d4b69fcdae]  @ /usr/sbin/bc-server
2024-09-15T21:06:41.478068+00:00 tachikoma bc-server[31379]: [0x000064d4b69fa0e8]  @ /usr/sbin/bc-server
2024-09-15T21:06:41.478090+00:00 tachikoma bc-server[31379]: [0x000064d4b69fa77d]  @ /usr/sbin/bc-server
2024-09-15T21:06:41.478108+00:00 tachikoma bc-server[31379]: [0x000075a28b09ca94]  @ /lib/x86_64-linux-gnu/libc.so.6
2024-09-15T21:06:41.478127+00:00 tachikoma bc-server[31379]: [0x000075a28b129c3c]  @ /lib/x86_64-linux-gnu/libc.so.6