<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; bugs</title> <atom:link href="http://www.ghacks.net/tag/bugs/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 13:29:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Dealing with bugs in Linux</title><link>http://www.ghacks.net/2010/02/09/dealing-with-bugs-in-linux/</link> <comments>http://www.ghacks.net/2010/02/09/dealing-with-bugs-in-linux/#comments</comments> <pubDate>Mon, 08 Feb 2010 22:49:04 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[bug reporting]]></category> <category><![CDATA[bugs]]></category> <category><![CDATA[bugzilla]]></category> <category><![CDATA[strace]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=22898</guid> <description><![CDATA[One of the things I&#8217;ve always liked about using Linux is the feeling that my input is actually important. Either by way of giving input to the developers directly or (more importantly) reporting bugs that inevitably appear on a system. It&#8217;s the latter of the two that help Linux (as a whole) to take great [...]]]></description> <content:encoded><![CDATA[<p>One of the things I&#8217;ve always liked about using Linux is the feeling that my input is actually important. Either by way of giving input to the developers directly or (more importantly) reporting bugs that inevitably appear on a system. It&#8217;s the latter of the two that help Linux (as a whole) to take great strides forward. Without a community of users and developers to report problems, the operating system would stagnate.</p><p>But to the new user, these bugs are nothing more than a nuisance, getting in the way of things &#8220;just working&#8221;. Those new users need help in understanding that bugs in Linux should be reported to the developers. But how do you do it? A new user isn&#8217;t going to be savvy enough to run a backtrace on a segfaulting piece of software.  In this article I am going to attempt to help the new user to see how easy it can be to report bugs as well as how and/or where to report them.</p><p><span
id="more-22898"></span><strong>What is a &#8220;bug&#8221;?</strong></p><p>I would venture a guess that most everyone viewing this site knows what a &#8220;bug&#8221; is, in reference to computer software. But just in case you don&#8217;t&#8230;</p><p>When referring to a &#8220;bug&#8221; on a computer, it is always referring to a software bug. This means that somewhere, within the code, there is a problem that can only be resolved by fixing the code (there are, of course, exceptions.) In Linux you will find bugs will show up in strange ways. Sometimes a program simply won&#8217;t start. Or some times a program will start but give you an error (sometimes a rather saucy error).</p><p>It&#8217;s when a program doesn&#8217;t launch that bugs become really problematic. Why? How do you know what is going on? The first, and best, way to figure this out is by launching the program from the command line (instead of the menu).  This will often give you some indication as to what is going on. From this &#8220;indication&#8221; you can often google the error and find a resolution. But what happens if you find no resolution? That is when tools come in to play.</p><p><strong>Linux bug tools</strong></p><p>The first tool many developers will want you to use is <strong>strace</strong>. This application is a way to run a buggy piece of software and get returned a log file that is very helpful to developers. So when you have a piece of software that will not start (say it exits with a segmentation fault) you can start the application using <strong>strace</strong> like so:</p><p><em>strace -o OUTPUT_FILE /PATH/TO/EXECUTABLE</em></p><p>Where <em>OUTPUT_FILE </em>is the file you want to output the debug info to and <em>/PATH/TO/EXECUTABLE</em> is the explicit path to the executable file. NOTE: You MUST use the complete (explicit) path to the executable or the program will not execute.</p><p>The file containing the debug info is precious manna for developers trying to squash bugs in software. Attaching it to bug reports is more helpful than anything.</p><p>Most distributions have specific web sites dedicated to reporting bugs. For example: Ubuntu uses <a
title="Launchpad" href="https://launchpad.net/ubuntu/+bugs" target="_blank">Launchpad</a> for bug reporting. Red Hat uses <a
title="Bugzilla" href="https://bugzilla.redhat.com/" target="_blank">Bugzilla</a> for bug reporting. OpenSuSE has their own <a
title="OpenSuSE" href="http://en.opensuse.org/Submitting_Bug_Reports" target="_blank">bug reporting site</a>. If you are interested in helping make your favorite distribution better, make sure you know the site for reporting bugs.</p><p>There are also tools, like <a
title="BugBuddy" href="https://launchpad.net/bug-buddy" target="_blank">BugBuddy</a>, that are useful for reporting bugs (which I will address in a later article).</p><p><strong>Final thoughts</strong></p><p>The single most important issue with reporting bugs is to make sure you collect as much information about the bug as possible. Armed with that information, you will be a big help to the developers of the application and that bug will get squashed.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/09/dealing-with-bugs-in-linux/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Solution for bug hunters</title><link>http://www.ghacks.net/2007/11/01/solution-for-bug-hunters/</link> <comments>http://www.ghacks.net/2007/11/01/solution-for-bug-hunters/#comments</comments> <pubDate>Thu, 01 Nov 2007 09:20:48 +0000</pubDate> <dc:creator>Tobey</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[bugs]]></category> <category><![CDATA[computer]]></category> <category><![CDATA[errors]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/11/01/solution-for-bug-hunters/</guid> <description><![CDATA[Not long ago, my system popped out a dialog saying "Error" in the title and offering two ways to go in form of two buttons below it - Yes and No. I was trying hard for a while to find out about the right answer but I never really did find it because I did not know what the error was all about. I suppose I've saved the world by choosing the right answer, the world didn't blow up after all... And now seriously :)]]></description> <content:encoded><![CDATA[<p>Not long ago, my system popped out a dialog saying &#8220;Error&#8221; in the title and offering two ways to go in form of two buttons below it &#8211; Yes and No. I was trying hard for a while to find out about the right answer but I never really did find it because I did not know what the error was all about. I suppose I&#8217;ve saved the world by choosing the right answer, the world didn&#8217;t blow up after all&#8230; And now seriously :)</p><p>We live in an imperfect world full of bugs (and other insects of course) and the cyber-world is no exception to that rule. Fortunately, there are several ways to resolve problems, as long as you have any idea of what caused them to happen. Not all error messages or bug reports are as useless (and funny) as the one I mentioned above. Most of them provide you with at least a brief description of the error and mostly an error number or category as well. But what if you don&#8217;t understand the error message? How about asking some other users who could have experienced it or know how to fix it ?</p><p><span
id="more-2204"></span><img
src="http://www.ghacks.net/files/screens/2007/11/buggd.jpg" align="left" alt="bug.gd" /><a
href="http://www.errorhelp.com/">Bug.gd</a> (Beta) is a rather simple service that allows you to search the library of bugs with their solutions and shows a list of reports you might be interested in. You can search for the error number, description or whatever else provided.</p><p>Besides that, you can also help other people to resolve some bugs by posting a solution to an unsolved problem. The only thing that is required of you is to provide your e-mail address. Try this service out by typing in a well-known error number like 404 and watch the amount of explanations you get for your problem. It&#8217;s not limited to any specific type of bugs / errors.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/11/01/solution-for-bug-hunters/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
