Revision [21591]

This is an old revision of TestForErrorsInLinux made by darkcity on 2012-05-21 06:46:24.


HomePage > Components and HowTos

How to test for and report errors in Linux

Often if a Linux program encounters an error it will appear to just quit without reporting any message. However, many error messages that are generated are not returned to the GUI (graphic user interface).
To see the error you need to run the program from the terminal. This is done by starting a terminal program such as rxvt or urxvt and typing the name of the programs executable or binary file. The terminal is case-sensitive, most programs use all lowercase, for example abiword or inkscapelite. Note, closing the terminal window will also close any program launched from it.
Here is an example of Inkscape lite return an error on exit:
# inkscapelite  

(inkscapelite:26863): Gtk-CRITICAL **: IA__gtk_style_detach: assertion `style->attach_count > 0' failed

A typical error is a missing library when the program loads up. When reporting a program error on a forum for help high-light the error message and use the middle mouse button to paste into the web-browser.

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki