Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am looking for websites which have list of 'real life' software bugs from software (OS software, application software, ... it can be any layer). It could be open-source or it can be code under any other model of development. Basically I am interested in finding out sites which allow me to read code snippets which have bugs in it. Programming languages interested are C,C++,PERL. But if the s/w defects are language agnostic, and more to do with general concepts(or misuse of them rather), then it still would be helpful.

P.S. To check out 'bugzilla' or bug tracking links for each open-source project for this is one way.

(BTW what is the url for bug tracking in Linux development(kernel related bugs, device driver related, networking layer related,...)

Any pointers would be useful.

Thank you, -AD.

share|improve this question

3 Answers 3

Launchpad is a good site for that: https://bugs.launchpad.net/ It's used for Ubuntu as well as loads of OSS projects.

The Linux Kernels bugtracking system is at https://bugzilla.kernel.org/

Github is a site to host projects too, it also has bug tracking: https://github.com/

share|improve this answer

While many open source projects do have bug tracking websites (Lennart's answer gives you links to some of them), I don't think you're going to find a site which "allow[s] me to read code snippets which have bugs in it".

The reason for that is that bugs in short snippets of code are actually quite rare, and it's usually in the interaction between components where bugs are found. A bug in a short snippet of code is usually easy to spot in a code review or unit test, so they'll be picked up during the development phase and generally don't make it out into the wild.

The kinds of bugs you find in a public database are the ones that didn't get spotted in a code review or unit test, and these are usually because they involve the interaction of many components, or (particularly in the case of the kernel bug list) the interaction between the software and particular hardware.

Sorry I didn't answer your question, directly. But hopefully that explains while you might not find exactly what you're after...

share|improve this answer
"I don't think you're going to find a site which 'allow[s] me to read code snippets which have bugs in it." I beg to differ. See my answer above. Also, localized bugs are very common. –  Ken Bloom Dec 19 '10 at 22:44
the pointers you gave in your answer sure help me get the perspective. Thanks! –  goldenmean Dec 20 '10 at 11:57

Any open source project's version control system will have snippets of code with bugs in it. Just look for the commits that fix bugs, and then examine the "before" version.

Open source projects also have bug tracking systems that show you the bugs that have been reported.

Often, there will be links back and forth between the particular commit to version control system, and the bug report on a bug tracking system. The entry on the bug tracking system will be closed with a message saying "Closed in commit #xxxxx", and the commit message will say "closes bug #yyyyy". Many development teams use bug tracking software that automatically listens to the version control commits to find bug numbers, so it can keep track of what bugs were fixed and record the commit numbers in the bug tracking system. It makes the bookkeeping really foolproof!

You can see a good example of this in the Ruby interpreter's bug tracking system. Bug #4117 in Ruby 1.9.x, concerning a typo in the code, was closed in Commit #30085, which means that the broken code was:

  when "--"
    if opt = ARGV.shfit
      @CONF[:SCRIPT] = opt
      $0 = opt

The fixed version was

  when "--"
    if opt = ARGV.shift
      @CONF[:SCRIPT] = opt
      $0 = opt

I know it's a very simple, uninteresting bug, but if you're looking for more complicated bugs (e.g. to show students), then you can use this kind of method for finding them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.