pi-hole / FTL

The Pi-hole FTL engine
https://pi-hole.net
Other
1.39k stars 196 forks source link

SEGV_MAPERR (Address not mapped to object) #1505

Closed misel86 closed 1 year ago

misel86 commented 1 year ago

Pi-hole version is v5.14.1 (Latest: N/A) AdminLTE version is v5.17 (Latest: v5.17) FTL version is v5.19.1 (Latest: v5.19.2)

Ubuntu 22.04.1 LTS Proxmox VM

[2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-domains" from 110592 to (4608 24) == 110592 [2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-clients" from 86016 to (128 672) == 86016 [2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-upstreams" from 315392 to (512 616) == 315392 [2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-dns-cache" from 81920 to (5120 16) == 81920 [2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-per-client-regex" from 4096 to (4096 1) == 4096 [2022-12-14 15:18:14.905 21067/F1131] Remapping "FTL-strings" from 163840 to (204800 1) == 204800 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-queries" from 5734400 to (102400 56) == 5734400 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-domains" from 110592 to (4608 24) == 110592 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-clients" from 86016 to (128 672) == 86016 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-upstreams" from 315392 to (512 616) == 315392 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-dns-cache" from 81920 to (5120 16) == 81920 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-per-client-regex" from 4096 to (4096 1) == 4096 [2022-12-14 15:18:14.913 1131M] Remapping "FTL-strings" from 163840 to (204800 1) == 204800 [2022-12-14 15:37:30.501 1131M] Resizing "FTL-domains" from 110592 to (5120 24) == 122880 (/dev/shm: 6.6MB used, 1.8GB total, FTL uses 6.5MB) [2022-12-14 16:00:38.639 23209/F1131] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [2022-12-14 16:00:38.639 23209/F1131] ----------------------------> FTL crashed! <---------------------------- [2022-12-14 16:00:38.639 23209/F1131] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [2022-12-14 16:00:38.639 23209/F1131] Please report a bug at https://github.com/pi-hole/FTL/issues [2022-12-14 16:00:38.639 23209/F1131] and include in your report already the following details: [2022-12-14 16:00:38.639 23209/F1131] FTL has been running for 25507 seconds [2022-12-14 16:00:38.639 23209/F1131] FTL branch: master [2022-12-14 16:00:38.639 23209/F1131] FTL version: v5.19.1 [2022-12-14 16:00:38.639 23209/F1131] FTL commit: b48b3e1f [2022-12-14 16:00:38.639 23209/F1131] FTL date: 2022-11-14 22:01:50 +0000 [2022-12-14 16:00:38.639 23209/F1131] FTL user: started as pihole, ended as pihole [2022-12-14 16:00:38.639 23209/F1131] Compiled for x86_64 (compiled on CI) using gcc (Debian 8.3.0-6) 8.3.0 [2022-12-14 16:00:38.639 23209/F1131] Process details: MID: 1131 [2022-12-14 16:00:38.639 23209/F1131] PID: 23209 [2022-12-14 16:00:38.639 23209/F1131] TID: 23209 [2022-12-14 16:00:38.640 23209/F1131] Name: pihole-FTL [2022-12-14 16:00:38.640 23209/F1131] Received signal: Segmentation fault [2022-12-14 16:00:38.640 23209/F1131] at address: 0x7f2c34f50008 [2022-12-14 16:00:38.640 23209/F1131] with code: SEGV_MAPERR (Address not mapped to object) [2022-12-14 16:00:38.642 23209/F1131] Backtrace: [2022-12-14 16:00:38.642 23209/F1131] B[0000]: /usr/bin/pihole-FTL(generate_backtrace+0x41) [0x559ec89c2571]

[2022-12-14 16:00:38.778 23209/F1131] B[0001]: /usr/bin/pihole-FTL(+0x5bacd) [0x559ec89c2acd]

[2022-12-14 16:00:38.833 23209/F1131] B[0002]: /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f2c34c74520] [2022-12-14 16:00:38.833 23209/F1131] B[0003]: /usr/bin/pihole-FTL(_lock_shm+0x71) [0x559ec89c15d1]

[2022-12-14 16:00:38.872 23209/F1131] B[0004]: /usr/bin/pihole-FTL(_FTL_new_query+0x246) [0x559ec89b3de6]

[2022-12-14 16:00:38.942 23209/F1131] B[0005]: /usr/bin/pihole-FTL(tcp_request+0x840) [0x559ec89f7610]

[2022-12-14 16:00:38.986 23209/F1131] B[0006]: /usr/bin/pihole-FTL(+0x81ffa) [0x559ec89e8ffa]

[2022-12-14 16:00:39.019 23209/F1131] B[0007]: /usr/bin/pihole-FTL(main_dnsmasq+0x145a) [0x559ec89eb07a]

[2022-12-14 16:00:39.086 23209/F1131] B[0008]: /usr/bin/pihole-FTL(main+0x13c) [0x559ec89a774c]

[2022-12-14 16:00:39.123 23209/F1131] B[0009]: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f2c34c5bd90] [2022-12-14 16:00:39.123 23209/F1131] B[0010]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f2c34c5be40] [2022-12-14 16:00:39.123 23209/F1131] B[0011]: /usr/bin/pihole-FTL(_start+0x2a) [0x559ec89a7e1a]

[2022-12-14 16:00:39.178 23209/F1131] ------ Listing content of directory /dev/shm ------ [2022-12-14 16:00:39.178 23209/F1131] File Mode User:Group Size Filename [2022-12-14 16:00:39.179 23209/F1131] rwxrwxrwx root:root 260 . [2022-12-14 16:00:39.179 23209/F1131] rwxr-xr-x root:root 4K .. [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 4K FTL-per-client-regex [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 82K FTL-dns-cache [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 8K FTL-overTime [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 6M FTL-queries [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 315K FTL-upstreams [2022-12-14 16:00:39.179 23209/F1131] rw------- pihole:pihole 86K FTL-clients [2022-12-14 16:00:39.180 23209/F1131] rw------- pihole:pihole 123K FTL-domains [2022-12-14 16:00:39.180 23209/F1131] rw------- pihole:pihole 205K FTL-strings [2022-12-14 16:00:39.180 23209/F1131] rw------- pihole:pihole 16 FTL-settings [2022-12-14 16:00:39.180 23209/F1131] rw------- pihole:pihole 248 FTL-counters [2022-12-14 16:00:39.180 23209/F1131] rw------- pihole:pihole 88 FTL-lock [2022-12-14 16:00:39.180 23209/F1131] ---------------------------------------------------

DL6ER commented 1 year ago

See e.g. https://github.com/pi-hole/FTL/issues/1503

The solution is to update FTL. Sorry for the trouble.

github-actions[bot] commented 1 year ago

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.