Hi, I made a script to control some ip rules with iproute2, but in the execution of the script sometimes I get the "Segmentation Fault" error message. In the script I use other busybox-builtin-tools like sed and awk to read and modify a configuration file, then the script executes the ip command.
I use a few variables in the script. I read in the Internet that this error is because of someone is trying to touch invalid memory possitions, eihter ash, awk, sed or ip.
Could anyone help me?
Topic: "Segmentation fault" in a ash script
The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
please post the script.
The discussion might have continued from here.
Page 1 of 1