1. Segmentation fault resolution
1) Error code 6: User mode program access out of range + write operation out of range + invalid address
Error code 14: Reserved bit use + user mode program access out of range + write operation out of range + invalid address
2) After searching on the Internet, libwayland and libX11 libraries are found to be an agreement The graphic display library, combined with centos as a command line server, and I installed a graphic interface, thinking that it should be that the newly installed driver cannot be displayed in a graphic state in a certain place, so it is a segfault.
2. The data package is displayed successfully: the
data package print data always displays \xffffffff:
or
does not display the content.
Check libselinux and find that it is a system package. Thinking about it, it is to find the update of linux (automatic update), but only returns accept, so the supplement is generated. Many /xffffffff programs
in C are as follows:
The location of the registration function is as follows:
indicates that the data packet can be displayed normally, that is, it will be garbled.
So how to display the data packets normally is still a problem.