v6.3.3 FTL Crashing Segmentation fault
Have had 0 issues until recent release. This is 2nd crash in a couple days
Versions
Docker Tag 2025.11.0 Core v6.2.2 FTL v6.3.3 Web interface v6.3
Platform
Docker on Synology NAS
Crash log
2025-11-08 01:26:48.219 MST [68/T112] INFO: Time offset: 2.925793e-01 ms (excluded 2 outliers)
2025-11-08 01:26:48.219 MST [68/T112] INFO: Round-trip delay: 2.825411e+01 ms (excluded 2 outliers)
2025-11-08 02:26:48.772 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 02:26:48.773 MST [68/T112] INFO: Time offset: 6.933272e+00 ms (excluded 0 outliers)
2025-11-08 02:26:48.773 MST [68/T112] INFO: Round-trip delay: 5.731821e+01 ms (excluded 0 outliers)
2025-11-08 03:26:49.199 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 03:26:49.199 MST [68/T112] INFO: Time offset: 2.395689e+00 ms (excluded 0 outliers)
2025-11-08 03:26:49.232 MST [68/T112] INFO: Round-trip delay: 4.276168e+01 ms (excluded 0 outliers)
2025-11-08 04:26:49.560 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 04:26:49.560 MST [68/T112] INFO: Time offset: 1.589864e+00 ms (excluded 0 outliers)
2025-11-08 04:26:49.560 MST [68/T112] INFO: Round-trip delay: 2.806705e+01 ms (excluded 0 outliers)
2025-11-08 05:26:50.080 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 05:26:50.080 MST [68/T112] INFO: Time offset: 1.075380e+01 ms (excluded 1 outliers)
2025-11-08 05:26:50.080 MST [68/T112] INFO: Round-trip delay: 5.195502e+01 ms (excluded 1 outliers)
2025-11-08 06:26:51.196 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 06:26:51.196 MST [68/T112] INFO: Time offset: 8.099973e-01 ms (excluded 0 outliers)
2025-11-08 06:26:51.196 MST [68/T112] INFO: Round-trip delay: 1.277136e+02 ms (excluded 0 outliers)
2025-11-08 07:26:50.687 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 07:26:50.687 MST [68/T112] INFO: Time offset: 1.095939e+01 ms (excluded 1 outliers)
2025-11-08 07:26:50.687 MST [68/T112] INFO: Round-trip delay: 5.214684e+01 ms (excluded 1 outliers)
2025-11-08 08:26:51.058 MST [68/T112] INFO: Received 8/8 valid NTP replies from pool.ntp.org
2025-11-08 08:26:51.058 MST [68/T112] INFO: Time offset: 7.679462e-01 ms (excluded 1 outliers)
2025-11-08 08:26:51.058 MST [68/T112] INFO: Round-trip delay: 3.551435e+01 ms (excluded 1 outliers)
2025-11-08 08:39:00.216 MST [68/T113] INFO: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2025-11-08 08:39:00.216 MST [68/T113] INFO: ----------------------------> FTL crashed! <----------------------------
2025-11-08 08:39:00.216 MST [68/T113] INFO: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2025-11-08 08:39:00.216 MST [68/T113] INFO: Please report a bug at https://github.com/pi-hole/FTL/issues
2025-11-08 08:39:00.216 MST [68/T113] INFO: and include in your report already the following details:
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL has been running for 147915 seconds
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL branch: master
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL version: v6.3.3
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL commit: a0186fd4
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL date: 2025-11-04 20:18:48 +0100
2025-11-08 08:39:00.216 MST [68/T113] INFO: FTL user: started as root, ended as root
2025-11-08 08:39:00.216 MST [68/T113] INFO: Compiled for linux/amd64 (compiled on CI) using cc (Alpine 14.2.0) 14.2.0
2025-11-08 08:39:00.216 MST [68/T113] INFO: Process details: MID: 68
2025-11-08 08:39:00.216 MST [68/T113] INFO: PID: 68
2025-11-08 08:39:00.216 MST [68/T113] INFO: TID: 113
2025-11-08 08:39:00.216 MST [68/T113] INFO: Name: database
2025-11-08 08:39:00.216 MST [68/T113] INFO: Received signal: Segmentation fault
2025-11-08 08:39:00.216 MST [68/T113] INFO: at address: 0x28
2025-11-08 08:39:00.216 MST [68/T113] INFO: with code: SEGV_MAPERR (Address not mapped to object)
2025-11-08 08:39:00.216 MST [68/T113] INFO: !!! INFO: pihole-FTL has not been compiled with glibc/backtrace support, not generating one !!!
2025-11-08 08:39:00.216 MST [68/T113] INFO: ------ Listing content of directory /dev/shm ------
2025-11-08 08:39:00.216 MST [68/T113] INFO: File Mode User:Group Size Filename
2025-11-08 08:39:00.216 MST [68/T113] INFO: rwxrwxrwx root:root 360 .
2025-11-08 08:39:00.216 MST [68/T113] INFO: rwxr-xr-x root:root 340 ..
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 786K FTL-68-recycler
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 106K FTL-68-dns-cache-lookup
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 45K FTL-68-domains-lookup
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 4K FTL-68-clients-lookup
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 569K FTL-68-fifo-log
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 4K FTL-68-per-client-regex
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 737K FTL-68-dns-cache
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 8K FTL-68-overTime
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 11M FTL-68-queries
2025-11-08 08:39:00.216 MST [68/T113] INFO: rw------- root:root 29K FTL-68-upstreams
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 348K FTL-68-clients
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 205K FTL-68-domains
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 246K FTL-68-strings
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 144 FTL-68-settings
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 344 FTL-68-counters
2025-11-08 08:39:00.217 MST [68/T113] INFO: rw------- root:root 88 FTL-68-lock
2025-11-08 08:39:00.217 MST [68/T113] INFO: ---------------------------------------------------
2025-11-08 08:39:00.217 MST [68/T113] INFO: Please also include some lines from above the !!!!!!!!! header.
2025-11-08 08:39:00.217 MST [68/T113] INFO: Thank you for helping us to improve our FTL engine!
2025-11-08 08:39:00.217 MST [68/T113] INFO: Shutting down thread...
2025-11-08 08:39:00.217 MST [68/T113] INFO: Asked to terminate by "/usr/bin/pihole-FTL no-daemon" (PID 68, user root UID 0)
2025-11-08 08:39:00.247 MST [68M] ERROR: Error when obtaining outer SHM lock: Previous owner died
2025-11-08 08:39:00.248 MST [68M] ERROR: Error when obtaining inner SHM lock: Previous owner died
2025-11-08 08:39:00.263 MST [68/T116] INFO: Terminating timer thread
2025-11-08 08:39:01.097 MST [68/T114] INFO: Terminating GC thread
2025-11-08 08:39:01.136 MST [68/T115] INFO: Terminating resolver thread
2025-11-08 08:39:01.502 MST [68M] ERROR: export_queries_to_disk(): Failed to export queries: database is locked
2025-11-08 08:39:01.502 MST [68M] INFO: with timestamp = 1762616340.498668
2025-11-08 08:39:02.506 MST [68M] ERROR: ERROR: SQL query "INSERT OR REPLACE INTO disk.ftl (id, value) VALUES ( 1, 1762616339.456702 );" failed: database is locked (SQLITE_BUSY)
2025-11-08 08:39:02.506 MST [68M] ERROR: export_queries_to_disk(): Cannot update timestamp: database is locked
2025-11-08 08:39:03.509 MST [68M] ERROR: ERROR: SQL query "UPDATE disk.counters SET value = value + 0 WHERE id = 0;" failed: database is locked (SQLITE_BUSY)
2025-11-08 08:39:03.509 MST [68M] ERROR: export_queries_to_disk(): Cannot update total queries counter: database is locked
2025-11-08 08:39:04.511 MST [68M] ERROR: ERROR: SQL query "UPDATE disk.counters SET value = value + 0 WHERE id = 1;" failed: database is locked (SQLITE_BUSY)
2025-11-08 08:39:04.511 MST [68M] ERROR: export_queries_to_disk(): Cannot update blocked queries counter: database is locked
2025-11-08 08:39:04.614 MST [68M] ERROR: export_queries_to_disk(disk.domain_by_id): Cannot export subtable: database is locked
2025-11-08 08:39:04.614 MST [68M] ERROR: export_queries_to_disk(disk.client_by_id): Cannot export subtable: database is locked
2025-11-08 08:39:04.614 MST [68M] ERROR: export_queries_to_disk(disk.forward_by_id): Cannot export subtable: database is locked
2025-11-08 08:39:04.614 MST [68M] ERROR: export_queries_to_disk(disk.addinfo_by_id): Cannot export subtable: database is locked
2025-11-08 08:39:04.614 MST [68M] ERROR: export_queries_to_disk(disk.sqlite_sequence): Cannot export subtable: database is locked
2025-11-08 08:39:04.614 MST [68M] INFO: Finished final database update
2025-11-08 08:39:04.614 MST [68M] INFO: Waiting for threads to join
2025-11-08 08:39:04.614 MST [68M] INFO: Thread ntp-client (4) is idle, terminating it.
2025-11-08 08:39:04.614 MST [68M] INFO: Thread webserver (7) is idle, terminating it.
2025-11-08 08:39:04.614 MST [68M] INFO: All threads joined
2025-11-08 08:39:04.617 MST [68M] INFO: PID file emptied
2025-11-08 08:39:05.619 MST [68M] ERROR: SQL error in backup_db_sessions(): database is locked (5)
2025-11-08 08:39:05.939 MST [68M] INFO: ########## FTL terminated after 1d 17h 5m 20s (code 1)! ##########
[i] pihole-FTL exited with status 1
[i] Container will now stop or restart depending on your restart policy
https://docs.docker.com/engine/containers/start-containers-automatically/#use-a-restart-policy
Sorry for you encountering a crash. I tried to reproduce this crash this morning but it doesn't seem possible. Could you get us a backtrace so we can work on a fix for this? Check out our detailed instructions at https://docs.pi-hole.net/ftldns/debugging/ for what needs to be done. We are always here in case you have additional questions beyond what is described there.
Thank you for helping us make Pi-hole better for us all!
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.