Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bug]

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

7
votes
3answers
196 views

How should support/bugfixes work in a larger organisation?

We have a team of about 40 engineers who work on a large SaaS platform. As with any organisation, we have an enormous backlog of things we want to deliver from our roadmap. But of course, we also have ...
0
votes
1answer
179 views

Why “typeof null == object” will stay in javascript?

I was reading a article about front-end development on Medium, when I stumbled upon an interesting piece of information, which is as follows: The type of a variable can be determined by using the ...
3
votes
1answer
174 views

Informing Users of Outstanding Bugs

What is the best way to inform users that there has been a bug found in some software they used? For example, let's say a user finds a bug in some software and reports it to the development team who ...
1
vote
2answers
152 views

ISO 27001 and investigating production issues

We get problems on production systems every now and then, most of which can't be replicated on dev/systest/uat for following reasons, We don't have enough data on dev/systest/uat e.g. production has ...
7
votes
2answers
427 views

What to do when third party won't fix bug [closed]

I've reported to a third party what I consider a very serious performance bug in a widely used product. Older versions worked fine. Newer versions are practically unusable except for what I consider ...
68
votes
9answers
16k views

Can we assume while testing software that a user wouldn't perform such silly actions on software?

For example: While performing functional testing of a form in a web application, we will test the fields by entering different kind of random input values. In general, we as users of the web ...
-1
votes
2answers
613 views

Is it a good idea to create one git branch for each issue/story/bug?

We are a bunch of developers, without leader and I think we have a problem with project management at a fundamental level. When we got tasks (related to story or error), we have two options: Create ...
1
vote
1answer
119 views

Handling customer issues/bugs in enterprise application?

I was wondering how you handle issues like that in your company. Usually when something goes wrong at a customer he needs to: Submit the issue he encountered Add logs / configuration data Suddenly ...
97
votes
10answers
17k views

What kind of bugs do “goto” statements lead to? Are there any historically significant examples?

I understand that save for breaking out of loops nested in loops; the goto statement is evaded and reviled as a bug prone style of programming, to never be used. Alt Text: "Neal Stephenson thinks it'...
0
votes
4answers
640 views

Are “Hard to find bugs” the responsibility of the developer or the tester?

May be it seems an open question (or non-constructive according to stackoverflow standards) .... but I am asking if there's something rigid according to Software process standards addressing this ...
7
votes
2answers
2k views

How to estimate bug fixes?

How can you actually determine the size of fixing something which is broken in an unknown way? I tell people in my classes I only know two sizes for defect fixes: 1) Trivial because I already know ...
-4
votes
1answer
81 views

Is 'exercise bugs' an expression?

Is there an expression in programming that something will 'exercise bugs'? I have seen this written before but I don't know what it means.
0
votes
2answers
213 views

Recognize bug or inability to solve a problem by yourself

How to recognize when there is a bug in program or you have an inability to solve concrete problem? I noticed when I concentrate too much time on a problem and can't find a solution, I am starting to ...
2
votes
2answers
235 views

Consistency of Undefined behavior

If there's a bug that triggers undefined behavior in a piece of code, is the undefined behavior consistent each time running it? and changes each time compiling it? For example if you had some C code ...
4
votes
5answers
764 views

What is the difference expected but not desired behavior and a software bug

Recently I asked this question. As commented in the answer by someone who sounds like a numPy developer, this behavior is clearly not desired. The issue posted was closed stating that this is ...
7
votes
5answers
341 views

Should I notify my colleagues when I find a bug in their code? [closed]

If I am assigned a bug, I sometimes check version control to see when it was introduced. Should I notify the developer that introduced the bug, even if I already fixed it? The advantage is that it ...
6
votes
1answer
289 views

What evidence is there that obeying the Open/Closed principle reduces bugs?

I'm currently putting together a talk where I discuss the value of unit tests in enforcing the SOLID Open/Closed principle. However beyond the obvious "the bug wasn't there when I wrote it, it's been ...
3
votes
2answers
126 views

Best way to develop new features as well as fix any bugs for a web system on Windows [closed]

I'm a one-man band and I have a contract with a client to develop and maintain a web-based system that is relied upon. This is the first project of this size and type that I have done for anyone else ...
9
votes
4answers
1k views

Who de-duplicates bug tickets?

One of my team mates and I just grabbed separate bug tickets, assigned them separately to ourselves, but the tickets were duplicates! What is the best way to resolve duplicate tickets? Is this ...
0
votes
5answers
244 views

Is unwanted behavior, while work is in progress, declarable as a “bug”?

This might be only a question of definition, but maybe there's a consensus? Given the situation, software Foobar Plus is under construction, we're not working on an update, but on the first release ...
15
votes
5answers
885 views

How to treat bugs that users thought were a feature?

Question: What is the proper way to address a bug that an end-user thought was a feature? Elaboration: I'm guessing that if a large percentage of users expected it as a feature, it should be left "...
0
votes
3answers
2k views

Who fixes bugs in a team? [duplicate]

In an agile software development team, who would be the one to fix the bugs introduced in an update? The developer who writes the feature? Someone else specialized specifically in debugging with a ...
26
votes
7answers
3k views

What's the best way to avoid catastrophe caused by negligence? [duplicate]

I have been a programmer for almost 1 year. As an ADHD adult, naturally I don't have the same strength of attention on ordinary stuffs as my colleagues do. And I find the catastrophe made by me are ...
265
votes
21answers
40k views

Leaving intentional bugs in code for testers to find

We don't do this at our firm, but one of my friends says that his project manager asked every developer to add intentional bugs just before the product goes to QA. This is how it works: Just before ...
3
votes
1answer
422 views

Scrum in combination with ad hoc bug fixes [duplicate]

I worked in a company where they tried to use Scrum but in practice it was hard to create a solid sprint backlog because they had a very active userbase, that used the software 8 hours a day, and ...
5
votes
4answers
398 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 ...
6
votes
8answers
4k views

Customer is “deeply disappointed” in our 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 ...
3
votes
2answers
3k 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
4k 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 ...
11
votes
9answers
2k 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 theorem ...
43
votes
13answers
6k 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 ...
0
votes
2answers
96 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 ...
0
votes
3answers
161 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
303 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 ...
3
votes
2answers
817 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 ...
0
votes
1answer
336 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
1k 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?
70
votes
17answers
7k 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 ...
66
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 ...
2
votes
1answer
413 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 4,...
28
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 ...
1
vote
1answer
2k 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 ...
18
votes
6answers
7k 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 ...
129
votes
16answers
25k views

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

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 ...
67
votes
14answers
41k 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 ...
4
votes
5answers
1k 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 ...
8
votes
4answers
1k 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
192 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 ...
14
votes
1answer
1k 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 ...
1
vote
2answers
778 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 ...