bugs

What should I do or don't do to avoid Delphi "push dword" bug.

I found that Delphi 5 generates invalid assembly code in specific cases. I can't understand in what cases in general. The example below produces access violation since a very strange optimization occurs. For a byte in a record or array Delphi generates push dword [...], pop ebx, mov .., bl that works correctly if there are data after thi...

Applying hasLayout to the i element via zoom or inline-block causes it to line break in IE7

I've had to apply hasLayout to the <i> element to avoid an IE7 bug in which sentences with italics obscured images that those sentences were on the same horizontal line as. I've done so using either the zoom property or the display: inline-block property. But now, any phrase in italics causes the italic portion to behave as if it were ...

IE Bug - content flows over image!

My friends has just asked me to have a look at his site in IE and I found that the content is going over his top image! http://www.skiphire.org/ The site has been created in wordpress so im note sure on how he has gone about making the page! Can anyone point him in the right direction? Thanks ...

Is this a bug in Django formset validation?

Manual example: http://docs.djangoproject.com/en/1.0/topics/forms/formsets/#formset-validation (I'm using Django 1.0.3 to run on Google App Engine) Code: from django import forms from django.forms.formsets import formset_factory class ArticleForm1(forms.Form): title = forms.CharField() pub_date = forms.DateField() class ArticleFo...

Bizarre bug in C

So I have a C program. And I don't think I can post any code snippets due to complexity issues. But I'll outline my error, because it's weird, and see if anyone can give any insights. I set a pointer to NULL. If, in the same function where I set the pointer to NULL, I printf() the pointer (with "%p"), I get 0x0, and when I print that s...

Firefox rendering HTML incorrect sometimes

I developed a css menu and it has worked fine across all browsers in my testing (pure html/css). When we brought the code into our development environment which is running on cakePHP, we started seeing the menu bug out sometimes in Firefox (3.5.2). It happens in no other browser. I checked the source when the bug occurs and this is what ...

Bugs versus enhancement versus new feature

When planning and prioritizing what is to be included in a release, do you distinguish between bugs, feature enhancements and new features? For example, do bugs always take priority - do you fix all known bugs before working on new features? Do you use a formal system for comparing the cost vs. value of each change in your backlog? An...

Determining flash component has loaded.

Hi, I have an HTML page containing a flash file, I need to write code in javascript that would execute once the flash file is loaded. (its actually the code to overide the __flash__removeCallback to solve the famous line:52 bug refer: https://bugs.adobe.com/jira/browse/FP-529) The actual solution for the bug is doing so on window.onUnlo...

Adjust size of MPMediaPickerController's view ?

In my application I don't use the upper bar that displays Wi-Fi/Date/Time because it's a game. However I need to be able to let my user to pick his music, so I'm using a MPMediaPickerController. The problem is, that when I present my controller, the controller ends up leaving a 10 pixels ( aprox ) bar at the top of the screen, just in th...

AdaptRecursive StackOverflowError

While compiling my project I get: The system is out of resources. Consult the following stack trace for details. java.lang.StackOverflowError at com.sun.tools.javac.code.Type$WildcardType.isSuperBound(Type.java:435) at com.sun.tools.javac.code.Types$1.visitWildcardType(Types.java:102) at com.sun.tools.javac.code.Types$1.visi...

Solving error messages given by PHPdoc

How can you solve the following error messages given by PHPdoc? I run madedoc.sh by the following command Command sudo ./makedoc.sh I get Error messages PHP Version 5.2.6-3ubuntu4.2 phpDocumentor version 1.4.2 Parsing configuration file phpDocumentor.ini... (found in /usr/share/php/data/PhpDocumentor/)... done Maximum memory ...

Java StackOverflowError when compiling a clone method

There are classes: InterfaceInterval<C extends Comparable<C>, I extends InterfaceInterval<C, I>> extends Comparable<InterfaceInterval<C, ?>> AbstractInterval<C extends Comparable<C>, I extends AbstractInterval<C, I>> implements InterfaceInterval<C, I>, Serializable, Cloneable AbstractTimeInterval<I extends AbstractTimeInterval<I>> exten...

Did Visual Studio 2008 SP1 introduce runtime bugs or am I crazy?

I've been wracking my brains out trying to figure out what the heck is going on with the most recent (non beta) Visual Studio 2008 SP1: My app built with OpenMP runs incredibly slow in the debugger, bringing CPU usage to 100%. When they are run outside the debugger, it merely runs slowly (for a release build). My app built with the Int...

Is JQuery(..).html() buggy in jQuery 1.3.2?

The code here does not return what one expects: jQuery('<div>Look here: [ jQuery0="null" ]</div>').html() Rather, you get: Look here: [ ] The jQuery source code in question: html: function( value ) { return value === undefined ? (this[0] ? this[0].innerHTML.replace(/ jQuery\d+="(?:\...

Visual Studio 2008 Profiler - Instrumented produces strange results

I run the Visual Studio 2008 profiler on a "RelDebug" build of my app. Optimizations are on, but inlining is only moderate, stack frames are present, and symbols are emitted. In other words, RelDebug is a somewhat optimized build that can be debugged (although the usual Release caveats about inspecting variables applies). I run both the...

Is there any way to measure the number of errors introduced by copy/pasting code?

I think copy/paste is one of the worst practices there could be in the industry. Copy and paste code snippets it's ok. That's how most of the code is learn in first place, and saves a lot of time. What is definitely harmful ( at least from my point of view ) is to copy one section of code from a class or file within THE SAME PROJECT!....

Unit test Bug Tracking

During the process of building software applications, you would start testing what you have built in stages even before it is complete and you could start seeing issues/bugs. How do you track them, Do you use your regular bug tracking tool to add them as issues(waste of time - since it is a work in progress), just have them in your head ...

is this unbind bug still exist in jQuery

today i try to make a code with jQuery bind/unbind event but, it always goes wrong if i use unbind, then i search to the net about unbinding an event, is this bug http://dev.jquery.com/ticket/1043 still exist in jQuery???(assume in last version) ...

Changing one table seems to change the other

I'm writing a lua script, and one of the things it does is copy a table into a table of tables, and apply a couple transformations to it. What's odd though is when i go to use one of those tables later (and modify some of it's properties), changes will also seem to show up in other tables! Code: -- thanks to http://stackoverflow.com/que...

Handling Y2.036K & Y2.038K bugs.

Hi All, I am currently working on a project with a requirement that our software must operate until at least 2050. Recently we have run into problems dealing with the Y2.036K "bug" in the NTP protocol and also the Y2.038K bug. Basically, our software must continue to run past these dates with all data recorded using correct time stamps....