Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer overflow detected armv7l (pi4) #77

Closed
visibilityspots opened this issue Mar 20, 2021 · 3 comments
Closed

buffer overflow detected armv7l (pi4) #77

visibilityspots opened this issue Mar 20, 2021 · 3 comments
Assignees

Comments

@visibilityspots
Copy link
Contributor

when using the images both v4 / v5 I got a buffer overflow detected and a core dump running on a pi 4 did I overlooked something?

Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [dump1090] 2021/03/20 16:18:20 Net-only mode, no SDR device or file open.
Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [services.d] done.
Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [piaware] 2021/03/20 16:18:20 ****************************************************
Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [piaware] 2021/03/20 16:18:20 piaware version 5.0 is running, process ID 339
Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [piaware] 2021/03/20 16:18:20 your system info is: Linux 954d8927f124 5.10.14-2-ARCH #1 SMP Fri Feb 12 13:51:38 UTC 2021 armv7l GNU/Linux
Mar 20 16:18:20 node08 FLIGHTAWARE[317]: [piaware] 2021/03/20 16:18:20 *** buffer overflow detected ***: /usr/bin/piaware terminated
Mar 20 16:18:21 node08 FLIGHTAWARE[317]: ./run: line 19:   339 Aborted                 (core dumped) "${PIAWARE_BIN}" "${PIAWARE_CMD[@]}" 2>&1
Mar 20 16:18:21 node08 FLIGHTAWARE[317]:        341 Done                    | stdbuf -o0 awk '{print "[piaware] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}'
@visibilityspots visibilityspots changed the title buffer overflow detected v5 buffer overflow detected armv7l (pi4) Mar 20, 2021
@mikenye mikenye self-assigned this Mar 22, 2021
@mikenye
Copy link
Member

mikenye commented Mar 22, 2021

Hi Jan,

Looking into this, I can see that if IPv6 is disabled by inserting ipv6.disable=1 into /boot/cmdline.txt, then piaware will undergo a buffer overflow:

Have you disabled IPv6?

@visibilityspots
Copy link
Contributor Author

ah damn, yes on that node I have it disabled in the past for some tests. 🤦

thanks!

@mikenye
Copy link
Member

mikenye commented Mar 22, 2021

Glad it was an easy fix! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants