I got segmentation fault while installing webmin. And when i tried to reinstall it it said already installed. I uninstalled the webmin and again installed it then there was no error.
Why the segmentation fault occurs?
Segmentation fault is when a program tries to access memory not allocated to it. Maybe the install tried to dynamically allocate memory, but it didn't check to ensure it actually succeeded in getting that memory. (Maybe your system was out of resources the first time, but not the 2nd)