Monday, April 27, 2009

Re: Segmentation Fault

Segmentation fault on a UNIX machine occurs when there are paging or swap violation. Installers some times use OS services which try to buffer quite a lot of things sometimes thereby causing a buffer overflow resulting into the segmentation fault. This issue can reproduced when handling a lot of date parallel over the machine having limited amount of resources.
 
Segmentation fault is something more related to OS and can be analyzed with the help of core dumps generated.
 
Relating the issue with the installer, the issue can only be debugged with the help core dumps which would probably answer questions like which Op Code tried to violate the OS boundaries and create race conditions.

On Fri, Apr 24, 2009 at 7:45 PM, tony prabhu <ruban142003@yahoo.com> wrote:
Hi,
 
Generally why does segmentation fault appears in Linux machine when an installer with a huge payload is run. But this does not happen while running a simple project in the same machine with all the java compatibility. I believe this fault will appear when the rules of the Linux machine are violated for exampe: trying to access a resource in the machine which is not available. So, does the large installer tries the scenario like what i have mentioned above? Please explain to me.
 
Thanks for your time.
Tony




--
FreshersDirect Team
http://www.freshersdirect.com

No comments: