bugs

What's an effective and somewhat easy to build system to allow customer to submit bug reports after deployment?

I'll be deploying a C++/DirectX/Windows game at the end of January to my customer and I'd like to setup an easy way for them to submit bug reports. Should I setup a website for this? Should I build it into the user interface of the game? Should I just have them send me an email? At a very high level, what are some ideas for an effect...

What is the most interesting bug you have fixed?

On a recent round of interviews, one interviewer at "a leading brand technology company" asked - as an ice breaker - this question. I thought it was a good question, worth asking (and warning) others. Interesting can mean a multitude of things, so there a few more suggested constraints to make this a valid question: minor cause, majo...

Why does this regular expression kill the Java regex engine?

I have this naive regex "<([\s]|[^<])+?>" (excluding the quotation marks). It seems so straightforward but it is indeed evil when it works against the below HTML text. It sends the Java regular expression engine to an infinite loop. I have another regex ("<.+?>"), which does somewhat the same thing, but it doesn't kill anything. Do you...

Has anyone else seen this IE6.0 Display problem?

Has anyone seen this type of IE display problem? Note that it is doing some sort of word-wrap/duplication when it renders. The code for the brown box and the text that should be in it is: <div class='span-23'> <div class='span-7'> <div class='info_box' style='height: 30px; padding-top: 10px'> <div class='span-4'><b>Vehicle Ful...

Are there any systems for logging or keeping track of which type of bugs you encounter as you develop?

I'm not looking for bug tracking, per se. But more like a build tool: as a developer, it would be awesome if every time I compiled or tried to run code, I could redirect debugging output and record the bugs I most commonly introduce, how long they take to resolve, etc. Is there anything like this out there? ...

LINQ to SQL Designer Bug

Every time that I change a value in the designer after saving it, the .designer.cs file will be deleted. Can anyone tell me how can I fix this problem? ...

Microsoft.NET and the Multicore CPU of Doom

The question proper Has anyone experienced this exception on a single core machine? The I/O operation has been aborted because of either a thread exit or an application request. Some context On a single CPU system, only one MSIL instruction is executed at a time, threads notwithstanding. Between operations, the runtime gets to do...

Strange RVDS bug

I have a RVDS project for a certain video decoder (its all C code), created for ARM926EJ-S target, executed using the RVDS 2.2 simulator. I am not using any scatterload / <configuration file> / <map file> to mention the various memory segments in the code like Stack segment, Heap, Data segment, Code Segment for RVDS Simulator environment...

Debug issue with Git in windows (MsysGit)

Hi, I'm running into a recurrent problem with git on windows (I'm running MSysGit from package Git-1.6.0.2-preview20080923.exe, i tried as well with Git-1.5.6.1-preview20080701.exe and the results are the same). It happens very offen that some files are shown as changed when I didn't change them, and in git-gui it shows that the content...

What IDE do you use to develop PHP? Sorta sick of Zend.

It's hard to express how much grief and ire Zend has caused me already. The sheer amount of bugs is overwhelming. Maybe I'm just technically-impaired with everything Zendy, but I find it practically impossible to work on a remote server. What with the sudden hangs, the pop-up errors that seem to have nothing to do with what you're wor...

Is this a bug with PHP array accessing?

I ran into this bug where an element of an array, if its index is the string "0", is inaccessible. It's not a bug with unserialize, either, as this occurred in my code without invoking it. $arr = unserialize('a:1:{s:1:"0";i:5;}'); var_dump($arr["0"]); //should be 5, but is NULL var_dump($arr[0]); //maybe this would work? no. NULL ...

PHP bug with converting object to arrays

I had this question earlier and it was concluded it was a bug in 5.2.5. Well, it's still broken in 5.2.6, at least for me: Please let me know if it is broken or works for you: $obj = new stdClass(); $obj->{"foo"} = "bar"; $obj->{"0"} = "zero"; $arr = (array)$obj; //foo -- bar //0 -- {error: undefined index} foreach ($arr as $key=>...

What interesting programming bugs have you seen?

Finding bugs is part of a programmer's lifestyle. But there are some bugs that are just plain weird and the solution to them are unintuitive. Post stories that has happened to you or someone else that involves these types of bugs. If you want, you can post links to great programming bug stories. One bug story per post but you can post ...

Bizarre Firefox Input Bug

I'm a bit flabbergasted at this, so I'm wondering if any SOers have encountered it before. I have an essentially flat page with a number of input=text seeded in the markup with default values of say A,B,C,D,E in order. The markup looks like this in view source: <td class="action invoice"> <a href="#foo">Toggle Invoice</a> <div clas...

JSF : java.lang.IllegalStateException: Client-id : _idJsp35 is duplicated in the faces tree in Alfresco Web Client

I am extending Alfresco Web Client and in one page while expanding panels I get this error. I do not get it always. JSF : java.lang.IllegalStateException: Client-id : _idJsp35 is duplicated in the faces tree in Alfresco Web Client I tried to give every component possible unique id, but error still shows up. How can I find source of th...

Any "war stories" on bugs from missing things in the documentation of functions you invoked?

I'm looking for interesting war stories on situations where you had a bug because you missed something important in the documentation of a class you were instantiating or a function/method you were using. For example, I recently messed up by not reading the documentation for the Java Calendar class and noticing that it counts months fro...

How many lines of code do you average per bug?

Hi, Our team had a bad session with the management today regarding the total number of functional bugs that were coming up in our code. As for me, I have written around 6 K lines of code for this project and I am personally responsible for 4 functional bugs and 8 usability bugs (inconsistent CSS, page flashing on clicking a button, val...

Your most common programming mistakes?

I find myself repeating some mistakes over and over again. Some language-dependent, some not. Here are some of mine I could think of right away. PHP: Inside a class method, forgetting that I have to say "$self->some_method()" or "$self->some_attribute" instead of "some_method()" or "$some_attribute" to refer to my instance. Having a d...

WPF designer won't load when binding datasource from entity framework

EDIT: I have submitted a bug report and Microsoft have acknowledge that it is a bug. There is currently no ETA on when it will be fixed. Bug Report: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=386982 Official Feedback: http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/ca3cac55-c1de...

AXIS 1.4 adds elements to custom fault type

Maybe someone found a workaround for the following problem: It seems as if AXIS 1.4 adds an <exceptionName> and a <hostname> element to each custom fault element. In the WSDL the fault is defined to only consist of a custom fault message systemMessage. This is the answer returned from my service. Never mind about the error, it could be...