Meta-tag about bugs. Please don't use this.

learn more… | top users | synonyms (1)

10
votes
4answers
2k views

What does the term day-one-bug mean?

I came across this term recently in a mail chain. Google tells me there is a term zero-day bug and that Microsoft and Adobe are the frontrunners :) Is there such a term as day one bug? What might ...
16
votes
10answers
1k views

Why not use the word bug instead of exception? [closed]

If we refer to exceptions as bugs, why not just call it a bug in the first place instead of an exception? If in the code it's called exception and as soon as it occurs it's called a bug. Then why not ...
3
votes
4answers
226 views

Is there a name for an internal incorrect behaviour that does not manifest itself as a bug?

To put this in context, I have the following scenario. I am writing a Common Lisp program that works with strings and lists of characters. In a certain function foo, the value of a variable suff is a ...
8
votes
11answers
4k views

How do you classify bug severity? [closed]

At my current job we have Low, Medium, High priority bugs. Low priority bugs are small errors that don't stop shipping or cause real trouble for any user. Medium priority bugs cause some internal ...
4
votes
8answers
857 views

Customer is “deeply disappointed” in software because of one bug. How to reply? [duplicate]

We have been building custom software for one of our customer for a few years now. Everything is going well so far. However the customer always has an attitude that when they find a bug in the ...
0
votes
5answers
493 views

Fixing bugs in other peoples code [duplicate]

I'm working with another programmer and we are always having issues with refactoring or changing each others code. Recently I had to fix a bug, but I pushed the changes before notifying him. He was ...
11
votes
3answers
644 views

Bugs that can be avoided with coding standards [closed]

I am looking for statistics (or estimations) that backup the claim that coding standards help reduce bugs. Hard-numbers would be nice, although I haven't had much look finding any. I've even looked ...
28
votes
13answers
2k views

Fix bugs, or wait for the customer to find them?

Do other people fix bugs when they see them, or do they wait until there's crashes/data loss/people die before fixing it? Example 1 Customer customer = null; ... customer.Save(); The code is ...
53
votes
14answers
3k views

Is it reasonable to insist on reproducing every defect before diagnosing and fixing it?

I work for a software product company. We have large enterprise customers who implement our product and we provide support to them. For example, if there is a defect, we provide patches, etc. In other ...
2
votes
2answers
146 views

Bug root cause analysis [closed]

In our group we usually don't ponder too much about what kind of design or implementation decisions caused a bug, we just fix it. Of course if some module constantly produces bugs people start to ...
0
votes
2answers
250 views

What does “trivial” mean? [duplicate]

You often see statements like "all non-trivial software has bugs" or "all non-trivial abstractions are leaky". But what makes a program "trivial" instead of non-trivial? Where is the cut-off line at ...
5
votes
5answers
609 views

Theoretically bug-free programs

I have read lot of articles which state that code can't be bug-free, and they are talking about these theorems: Halting problem Gödel's incompleteness theorem Rice's theorem Actually Rice's ...
39
votes
12answers
5k views

I am making 4-5x more story points than average, but producing bugs at half the rate. Graphs say it's 2x more bugs, how to deal with that?

So it is generally accepted that top tier programmers can produce an order of magnitude more/better code than their more average peers. It's also generally accepted that the rate of errors made in ...
4
votes
5answers
909 views

Term for accidental features [closed]

Despite the best intentions of programmers; oftentimes, in the real world, software systems contain "accidental features" that are accepted as part of a working system. For example, there may be ...
0
votes
0answers
94 views

Whose responsibility (in term of finances) are regression bugs? [duplicate]

Let's have a scenario like this: There is a medium-size project and you are assigned to it to add new features. The project does not have unit tests or dedicated QA person. You are the one who has to ...
35
votes
9answers
4k views

What's a schrödinbug?

This wiki page tells : A schrödinbug is a bug that manifests only after someone reading source code or using the program in an unusual way notices that it never should have worked in the first ...
0
votes
2answers
48 views

Multiple documentation issues in a single bug

It is clearly a bad practice to incorporate several issues in a single bug. It is not convenient, hard to maintain, difficult to keep track of what is done and what is not, etc. But does all this ...
26
votes
11answers
4k views

What did Alan Perlis mean regarding the ways to write error-free programs?

There's a quotation by Alan J. Perlis that says: There are two ways to write error-free programs; only the third one works. I recently heard this quote from my friend, and was unable to ...
0
votes
3answers
140 views

Fixing bugs may lead to delayed feedback [closed]

I worked in a group in Microsoft that developed the upgrade to the Microsoft Security Essentials antivirus. For a year we worked on the next version of the product. We had 6 milestones (milestone each ...
-2
votes
1answer
161 views

Program unable to write data (read-only file) and losing it — a bug or a feature? [closed]

I found, that some very famous app (I'm not disclosing name intentionally) has a "problem", when writing meta-data of a file and the file turns out to be read-only. Program doesn't handle that too ...
123
votes
17answers
21k views

Is there any way to get faster at solving bugs? I've just had a warning from my boss

I've just been told by my boss that I will receive a negative performance review on Monday. He wants to talk to me about why I am so slow and why my bug fix rate is so low. I love programming and ...
3
votes
2answers
218 views

Verbose or concise logging [duplicate]

I was wondering how much data should be logged. I know this deeply depends on multiple factors. But it can still be hard to find the golden middle way. Lets say I have an application where people ...
62
votes
7answers
3k views

After years of working alone, other developers will finally see my (buggy) code. What should I do? [duplicate]

I have been working on a system alone for about four years. I have built it from the ground up. It is not a perfect system. It is very complex, it is buggy, and the business is now becoming aware of ...
0
votes
1answer
324 views

Should programmers itemize testing for projects? [closed]

I recently hired a programming team to do a port of my iPad app to the iPhone and Android platforms. Now, in a separate contract, I am asking them to implement a bunch of tips on how to play the ...
3
votes
3answers
352 views

What is exactly bug in the requirements?

I've just looked for a formal definition and haven't found one. The term - "bug in the requirements" was always confusing for me, what does mean exactly?
7
votes
10answers
1k views

Overcome clumsiness in writing code

I believe this is a little related with this question: How to be a zero-bug programmer?. But I believe this is more regarding clumsiness in programming because I know it is impossible to become a zero ...
22
votes
7answers
5k views

Story points for bug fixing tasks: Is it suitable for Scrum?

I'm just wondering if we should assign story points to bug fixing tasks or not. JIRA, our issues-tracking software, does not have story point field for Bug type issues (it's only for Storys and ...
18
votes
12answers
6k views

Is it possible to reach absolute zero bug state for large scale software?

I am talking about 20-30+ millions lines of code, software at the scale and complexity of Autodesk Maya for example. If you freeze the development as long as it needs to be, can you actually fix all ...
2
votes
1answer
249 views

Is this Java Compiler error message incorrect? (byte loss of precision)

The following IMHO valid java program doesn't compile because the Oracle 1.7 javac compiler thinks there's a possible loss of precision in lines 5 and 6. If you uncomment line 3 and comment out line ...
27
votes
10answers
3k views

Can compilers and interpreters have bugs, and what can we (as users) do to deal with them? [closed]

If a compiler's work is essentially translating source code into machine level code, can there be any glitch in a compiler, i.e. a faulty "translation?" The same goes for an interpreter: can it fail ...
9
votes
5answers
335 views

What are some possible interactions between multiple bugs? [closed]

I was thinking about how two bugs could interact with one another. The only relationship I can think of is one bug being the cause of another. What other interactions between multiple defects are ...
14
votes
5answers
2k views

Keeping agile with zero-bug/defect policy

In our project we work in a zero-bug (a.k.a zero-defect) methodology. The basic idea is that bugs are always higher in priority than features. If you're working on a story and it has a bug it must be ...
10
votes
3answers
653 views

Git: Fixing a bug affecting two branches

I'm basing my Git repo on A successful Git branching model and was wondering what happens if you have this situation: Say I'm developing on two feature branches A and B, and B requires code from A. ...
9
votes
11answers
1k views

Turn away a bug if no reproducible test case exists? [duplicate]

If the customer has problems which are not reproducible because of complexity of actions they took and can't remember step by step, then coders are missing a test case. Indeed, this issue is ...
1
vote
1answer
273 views

Tex and Absence of bugs [duplicate]

I have been reading a lot lately and I have come across articles in which people make the 'grand' assertions that there are no bugs in the Tex program by donald knuth. Is this in any way possible and ...
7
votes
9answers
784 views

If you spot a software bug and fix it, do you tell the client?

I spotted a bug today in a web application that I develop and maintain for a client. I let the client know that I had spotted a problem and after a short time I fixed it and reported back the full ...
-1
votes
1answer
135 views

How much product value can be hurt if demo of product not working properly [closed]

I am just checking a java script framework . A universal JavaScript framework. To check how its really works i just checkout a demo of this product example site which is just normal todo list . I ...
28
votes
17answers
5k views

How to reduce the number of bugs when coding?

No one's perfect, and no matter what we do, we are going to produce code that has bugs in it from time to time. What are some methods/techniques for reducing the number of bugs you produce, both when ...
5
votes
4answers
449 views

Where can I turn to if I can't fix a bug?

I am looking for resources to turn to when I don't have the answer for something. I lead a team of software developers. We have been rolling out new software releases on a monthly basis. When there ...
1
vote
4answers
166 views

Encountering the same issue in an application

I've often come across the situation when the same mistake is made in many places in an application. For example, in a web application when the user creates an item and clicks the Add button to save ...
11
votes
1answer
842 views

Should I write a test to prove that deleting code fixes a bug?

Occasionally I'll run into the situation where fixing a bug requires that I delete a section of code. The TDD purist would (I assume) advocate writing a failing test, deleting the code, then watching ...
4
votes
1answer
817 views

Spurious wakeups explanation sounds like a bug that just isn't worth fixing, is that right?

According to the Wikipedia article on Spurious Wakeups "a thread might be awoken from its waiting state even though no thread signaled the condition variable". While I've know about this ...
1
vote
2answers
281 views

How to deal with Ghost bugs which appears in undocumented test-case scenarios? [duplicate]

There are instances which cane be seen while testing the application, both by developers and testers, some NullPointerExceptions arriving while clicking on a node in the table, or while doing an ...
6
votes
4answers
422 views

How do you deal with discovering bad and false code in your team? [duplicate]

Every year in january we process a big task with our system. While the performance during the task was above average the maintaince follow up is currently having a lot of trouble with jobs running too ...
37
votes
12answers
4k views

What programming language generates fewest hard-to-find bugs? [closed]

What language, in your opinion, allows the average programmer to output features with the least amount of hard-to-find bugs? This is of course, a very broad question, and I'm interested in very broad ...
7
votes
9answers
910 views

How to effectively do manual debugging? [closed]

Say you don't have a debugger available, what would be an effective approach to debug code which doesn't work (as expected)?
13
votes
7answers
860 views

Are all security threats triggered by software bugs?

Most security threats that I've heard of have arisen due to a bug in the software (e.g. all input is not properly sanity checked, stack overflows, etc.). So if we exclude all social hacking, are all ...
40
votes
9answers
2k views

Code maintenance: To add comments in code or to just leave it to the version control?

We have been asked to add comments with start tags, end tags, description, solution etc for each change that we make to the code as part of fixing a bug / implementing a CR. My concern is, does this ...
8
votes
5answers
444 views

Steps to maintain a good bug database

Maintaining bug database is an important for every project. I am used to store the followings at bug database Issue date time Who is assigned to Whether it has been solved or not If solved then, ...
12
votes
6answers
709 views

Debugging: understanding details on why certain fixes worked?

When debugging, I sometimes find that I make some changes and I am not 100% sure why those changes correct some bug in the program. Is it essential to understand every single detail about why some ...