flightaware / piaware

Client-side package and programs for forwarding ADS-B data to FlightAware
BSD 2-Clause "Simplified" License
487 stars 69 forks source link

Disabling IPV6 Results In Core Dump #99

Open md2prof opened 9 months ago

md2prof commented 9 months ago

This may be a known issue, but I am submitting in case someone else is stumped (as I was).

If ipv6.disable=1 is included in the linux kernel command line the following error occurs along with a core dump.

[piaware] 2023/12/27 23:31:38 ****************************************************
[piaware] 2023/12/27 23:31:38 piaware version 9.0.1 is running, process ID 1701
[piaware] 2023/12/27 23:31:38 your system info is: Linux 6effXXXX3b6 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64 GNU/Linux
[piaware] 2023/12/27 23:31:38 *** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
/etc/s6-overlay/scripts/piaware: line 19:  1701 Aborted                 (core dumped) "${PIAWARE_BIN}" "${PIAWARE_CMD[@]}" 2>&1
      1702 Done                    | stdbuf -o0 sed '/^$/d'
      1703 Done                    | stdbuf -o0 awk '{print "[piaware] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}'
      1704 Done                    | tee -a /var/log/piaware/current

If ipv6.disable=1 is removed, the error no longer occurs.

Kernel: 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64 GNU/Linux OS: Archlinux Date: 12/27/2023 CPU: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz CPU Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d

Jeff