LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how application crashes occurs and what should be done (https://www.linuxquestions.org/questions/linux-general-1/how-application-crashes-occurs-and-what-should-be-done-4175423553/)

centuser 08-23-2012 02:59 AM

how application crashes occurs and what should be done
 
Hi,
I am using centOS 6. Although my automatic bug reporting tool has reported couple of application crashes, my machine is working.Among them the latest application crash is
Esc Crash
esc-1.1.0-21.el6

Reason
Process/usr/lib/esc-1.1.0/escd was killed by signal 11(SIGSEGV)

Actually what should be done for such application crash?

zwitterion-241920 08-23-2012 03:48 AM

SIGSEGV means the process tried to access memory outside of its data segments, which is probably caused by a bug in the application or library or by a random glitch. If this happens more often and upgrading the software doesn't help, you might want to file a bug report.

centuser 08-23-2012 05:10 AM

Hi.Thanks for the post.
Is it possible to detect bugs in applications?
I found some of mine application crash are caused by signal 6(SIGABRT).

I am worried about by your last sentence,where should I file a bug report

zwitterion-241920 08-23-2012 05:28 AM

Unfortunately, there is no way to detect bugs other than testing. Your automatic bug report tool will send the crash reports, all you have to do is click 'OK' and maybe review the contents of the report (censor your IP address and such things) and you might be asked to describe what you were doing when the crash occurred.
If a single program crashes very often, try reinstalling it. If that doesn't work find the program's website and check if other people are having the same problem. If so, it is probably a bug. If not, it might be something CentOS-related, google the problem and look in the CentOS forum and wiki. Try Googling 'XYZ crash CentOS' and 'XYZ crash segfault sigabrt'.
If multiple programs keep crashing, it could be a library issue or something might be wrong with CentOS. Look at the programs' dependencies and search for common libraries. Reinstall these, look on their websites, google 'ABC segfault' or 'ABC sigabrt', look for solutions on the CentOS forum and wiki.
If the problems persists and you have another OS on the same machine, try reproducing the crashes there. If that doesn't work, it's a CentOS issue, reinstall from a new installation image.
Always be conservative in reporting bugs, don't do it before you have eliminated the possibility of you doing something wrong.


All times are GMT -5. The time now is 09:01 AM.