Pihole-ftl crashes

debug token is: https://tricorder.pi-hole.net/umfbov4r7m

Problem with Beta 5.0:
Running pihole on 2 Pi's here - Pi3B & Pi4
pihole-ftl has been crashing after around 30 hours on the 4B for the last 4 or 5 days. Each time I ran pihole -up on the 3B and saw there was an update so updated both and waited.
Today my 3B crashed for the first time. I had to reboot to get pihole-ftl running again so what is missing from the debug is below:

[2020-05-11 19:00:00.159 16974] Notice: Database size is 103.37 MB, deleted 829 rows
[2020-05-11 19:17:21.082 16974] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-05-11 19:17:21.082 16974] ----------------------------> FTL crashed! <----------------------------
[2020-05-11 19:17:21.083 16974] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-05-11 19:17:21.083 16974] Please report a bug at Issues · pi-hole/FTL · GitHub
[2020-05-11 19:17:21.083 16974] and include in your report already the following details:
[2020-05-11 19:17:21.083 16974] FTL has been running for 173592 seconds
[2020-05-11 19:17:21.083 16974] FTL branch: release/v5.0
[2020-05-11 19:17:21.083 16974] FTL version: vDev-c499c17
[2020-05-11 19:17:21.083 16974] FTL commit: c499c17
[2020-05-11 19:17:21.083 16974] FTL date: 2020-05-08 16:58:32 +0200
[2020-05-11 19:17:21.084 16974] FTL user: started as pihole, ended as pihole
[2020-05-11 19:17:21.084 16974] Compiled for armhf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-05-11 19:17:21.084 16974] Received signal: Segmentation fault
[2020-05-11 19:17:21.084 16974] at address: 0xb5a22af8
[2020-05-11 19:17:21.084 16974] with code: SEGV_MAPERR (Address not mapped to object)
[2020-05-11 19:17:21.084 16974] Backtrace:
[2020-05-11 19:17:21.085 16974] B[0000]: 0x4ab988, /usr/bin/pihole-FTL(+0x23988) [0x4ab988]
[2020-05-11 19:17:21.085 16974] B[0001]: 0x76d94130, /lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0x76d94130]
[2020-05-11 19:17:21.086 16974] B[0002]: 0x4cca66, /usr/bin/pihole-FTL(cache_recv_insert+0x115) [0x4cca66]
[2020-05-11 19:17:21.086 16974] B[0003]: 0x4cfa56, /usr/bin/pihole-FTL(+0x47a56) [0x4cfa56]
[2020-05-11 19:17:21.086 16974] B[0004]: 0x4d106c, /usr/bin/pihole-FTL(main_dnsmasq+0xc07) [0x4d106c]
[2020-05-11 19:17:21.086 16974] B[0005]: 0x4a1da8, /usr/bin/pihole-FTL(main+0xa7) [0x4a1da8]
[2020-05-11 19:17:21.086 16974] B[0006]: 0x76d7e718, /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x10c) [0x76d7e718]
[2020-05-11 19:17:21.086 16974] ------ Listing content of directory /dev/shm ------
[2020-05-11 19:17:21.086 16974] File Mode User:Group Filesize Filename
[2020-05-11 19:17:21.087 16974] rwxrwxrwx root:root 260 .
[2020-05-11 19:17:21.087 16974] rwxr-xr-x root:root 4K ..
[2020-05-11 19:17:21.087 16974] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-05-11 19:17:21.088 16974] rw------- pihole:pihole 53K FTL-dns-cache
[2020-05-11 19:17:21.088 16974] rw------- pihole:pihole 29K FTL-overTime
[2020-05-11 19:17:21.088 16974] rw------- pihole:pihole 2M FTL-queries
[2020-05-11 19:17:21.089 16974] rw------- pihole:pihole 20K FTL-upstreams
[2020-05-11 19:17:21.089 16974] rw------- pihole:pihole 643K FTL-clients
[2020-05-11 19:17:21.089 16974] rw------- pihole:pihole 66K FTL-domains
[2020-05-11 19:17:21.090 16974] rw------- pihole:pihole 57K FTL-strings
[2020-05-11 19:17:21.090 16974] rw------- pihole:pihole 12 FTL-settings
[2020-05-11 19:17:21.090 16974] rw------- pihole:pihole 124 FTL-counters
[2020-05-11 19:17:21.091 16974] rw------- pihole:pihole 28 FTL-lock
[2020-05-11 19:17:21.091 16974] ---------------------------------------------------
[2020-05-11 19:17:21.091 16974] Thank you for helping us to improve our FTL engine!
[2020-05-11 19:17:21.091 16974] FTL terminated!

I expect my 4B will crash around 2am tomorrow

Debug Token:
https://tricorder.pi-hole.net/umfbov4r7m

My 4B didn't crash - still running. the first time it has run for over 30 hours in a week.
Here is a chunk of the log from the 4B

[2020-05-09 11:32:14.608 4322] ----------------------------> FTL crashed! <----------------------------
[2020-05-09 11:32:14.608 4322] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-05-09 11:32:14.608 4322] Please report a bug at Issues · pi-hole/FTL · GitHub
[2020-05-09 11:32:14.608 4322] and include in your report already the following details:
[2020-05-09 11:32:14.608 4322] FTL has been running for 111921 seconds
[2020-05-09 11:32:14.608 4322] FTL branch: release/v5.0
[2020-05-09 11:32:14.608 4322] FTL version: vDev-01332f6
[2020-05-09 11:32:14.608 4322] FTL commit: 01332f6
[2020-05-09 11:32:14.608 4322] FTL date: 2020-05-05 21:19:48 +0200
[2020-05-09 11:32:14.609 4322] FTL user: started as pihole, ended as pihole
[2020-05-09 11:32:14.609 4322] Compiled for armhf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-05-09 11:32:14.609 4322] Received signal: Segmentation fault
[2020-05-09 11:32:14.609 4322] at address: 0xa16460f8
[2020-05-09 11:32:14.609 4322] with code: SEGV_MAPERR (Address not mapped to object)
[2020-05-09 11:32:14.610 4322] Backtrace:
[2020-05-09 11:32:14.610 4322] B[0000]: 0x459950, /usr/bin/pihole-FTL(+0x23950) [0x459950]
[2020-05-09 11:32:14.610 4322] B[0001]: 0xb6de0130, /lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0xb6de0130]
[2020-05-09 11:32:14.610 4322] B[0002]: 0x47aa2e, /usr/bin/pihole-FTL(cache_recv_insert+0x115) [0x47aa2e]
[2020-05-09 11:32:14.611 4322] B[0003]: 0x47da1e, /usr/bin/pihole-FTL(+0x47a1e) [0x47da1e]
[2020-05-09 11:32:14.611 4322] B[0004]: 0x47f034, /usr/bin/pihole-FTL(main_dnsmasq+0xc07) [0x47f034]
[2020-05-09 11:32:14.611 4322] B[0005]: 0x44fda8, /usr/bin/pihole-FTL(main+0xa7) [0x44fda8]
[2020-05-09 11:32:14.611 4322] B[0006]: 0xb6dca718, /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x10c) [0xb6dca718]
[2020-05-09 11:32:14.611 4322] ------ Listing content of directory /dev/shm ------
[2020-05-09 11:32:14.611 4322] File Mode User:Group Filesize Filename
[2020-05-09 11:32:14.611 4322] rwxrwxrwx root:root 260 .
[2020-05-09 11:32:14.612 4322] rwxr-xr-x root:root 4K ..
[2020-05-09 11:32:14.612 4322] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-05-09 11:32:14.612 4322] rw------- pihole:pihole 49K FTL-dns-cache
[2020-05-09 11:32:14.613 4322] rw------- pihole:pihole 29K FTL-overTime
[2020-05-09 11:32:14.613 4322] rw------- pihole:pihole 2M FTL-queries
[2020-05-09 11:32:14.613 4322] rw------- pihole:pihole 20K FTL-upstreams
[2020-05-09 11:32:14.614 4322] rw------- pihole:pihole 643K FTL-clients
[2020-05-09 11:32:14.614 4322] rw------- pihole:pihole 66K FTL-domains
[2020-05-09 11:32:14.614 4322] rw------- pihole:pihole 283K FTL-strings
[2020-05-09 11:32:14.615 4322] rw------- pihole:pihole 12 FTL-settings
[2020-05-09 11:32:14.615 4322] rw------- pihole:pihole 124 FTL-counters
[2020-05-09 11:32:14.615 4322] rw------- pihole:pihole 28 FTL-lock
[2020-05-09 11:32:14.615 4322] ---------------------------------------------------
[2020-05-09 11:32:14.615 4322] Thank you for helping us to improve our FTL engine!
[2020-05-09 11:32:14.615 4322] FTL terminated!

One 'pihole checkout master' later ,now running V5 so this thread can be ignored.

If it's running fine, mark it as "solved (Solution)"