bugs

Mantis to Bugzilla migration?

Hi all! So we have this project which uses Mantis as bug tracker tool and in the company the corporate bug tracking tool is Bugzilla. This means we will have to use Bugzilla soon. I searched for tools that can be used to migrate from Mantis to Bugzilla and I only found this m2bz tool which seems to work for Mantis 0.17.5 and Bugzilla 2...

MAMP php and forms "value" problem

Hi, im using MAMP on OSX 10.4.11 and while doing a form I came up with an issue: <?php $today = date("d.m.y"); echo "<div class=\"newpub\"> <form action=\"insert.php\" method=\"post\"> <span class=\"text\">Data</span><br><input type=\"text\" value=\"$today\" name=\"Date\" size=\"14\" height=\"1\"><br><br> <span class=\"text\">Co...

Findbugs + JSR305: Possibility to specify default behavior?

Hello! Note: those annotations, I'm talking about, are specified by JSR305. I have the latest Findbugs (1.3.9) and it finds errors correctly when some field, annotated with @Nonnull, is assigned to null. But, in my project, the "non-null logic" is the default case. I would say that null is explicitely allowed only in 5% of cases. So,...

what to do when windows goes in dreaded 100% cpu usage zombie mode

Hi, happens to me occasionally: I start my program in visual studio and due to some bug my program goes into 100% cpu usage and basically freezes windows completely. Only by utter patience requesting the task manager (takes forever to come up and paint itself) I can kill my process. Do others encounter this too sometimes? Is there a ...

Why don't mainframe applications have bugs?

It seems like old iron is rock solid software. Why is that? Is it because the software is so mature, that all the bugs have been worked out? Or is it because people have gotten so used to the bugs that they don't even recognize them and work around them? Were the software specs perfect from day one and once the software was written, ...

Strange Window Painting

If you resize Google Chrome 3.0.195.21 to a very small width on Windows 7 (I haven't tried other versions), the window buttons hang off the window, like this: The window size is not extended, and the overhang does not respond to the mouse. The window's thumbnail preview shows only the part of the buttons that is inside the window; th...

Ugly WPF text rendering - can't disable hardware acceleration on Vista

I'm experimenting problems with text rendering in WPF (third party applications and mine too). Labels and other text don't display correctly, look a little blurred and are rendered with some random colored pixels around. I'm working on a low end crap machine (SiS Mirage 3 graphics) with Vista SP1, .NET 3.5 SP1 and graphics driver update...

DateTime, .AddSeconds() not working?

I've been scratching my head over this one for a couple hours now, I've drafted in co-workers and we are all lost. This could be a case of too much coffee from the new espresso machine, or the fact it's Friday... We're not sure! I have the following method: private void calcuateEstimatedExecutionTimesForDueJobs(List<TestJob> dueJobs)...

Info that should be in the bug tracking system, ends up lost in emails somewhere. What To Do?

I am a developer with a small company which is about to take on a large project. We currently use email for issue tracking, and I intend to set up a bug/issue tracking system (perhaps bug genie, mantis or trac - we want something web based, php, open source, mysql) We have source control (SVN) In the past I have found that the biggest p...

Why can I select something out of left join on a NULL column?(with contrived example to reproduce it locally,probably a bug!)

VERSION I'm using Server version: 5.1.36-community-log MySQL Community Server (GPL) I've finally contrived a easy example to reproduce it easily! setup: create table t1(id integer unsigned,link integer unsigned); create table t2(id integer unsigned auto_increment,primary key(id)); create table t3(id integer unsigned,content varchar(30...

Is there a bug in NSOperation in Mac OS X 10.6?

If I release an instance of NSOperation before sending -init to it I get a segmentation fault. Reasons I think this is valid code: Apple does this in its documentation. Gnustep does it in its implementation of NSNumber, so it's fairly certain that this is in Apple's code too. (At least was.) NSObjects -init doesn't do anything, theref...

rails number_to_currency bug?

Hi, I have a rails app (rails version 2.1.0) and today I found a very weird error. A money value(mysql decimal column with precision 8 and scale 2) is 86.02. However, number_to_currency method returns "$86.20". This happens only in production server. My dev server returns correctly. The production server is red hat and dev is ubuntu. ...

unhandled exception Handler in .Net 3.5 SP1

Hi. I'm converting my own web browser use WPF from Windows XP to Windows 7. when I test on Windows XP, It has no error and exceptions. But I convert and test on Windows 7 with Multi-touch Library, My Browser occurred unhandled exception. Source: PresentationCore Message: An unspecified error occurred on the render thread. StackTrace: ...

There is insufficient system memory in resource pool 'internal'

SQL Server 2008 Linked Server and ad-hoc INSERTs cause a rapid memory leak which eventually causes the server to become non-responsive and ends with the following error: Msg 701, Level 17, State 123, Server BRECK-PC\SQLEXPRESS, Line 2 There is insufficient system memory in resource pool 'internal' to run this query. Location: q...

What is your most useful technique for finding (or preventing) bugs?

I'm wondering from your experience, what is the most useful techniques for finding (or preventing) bugs? Or to ask this another way, how do rank these techniques in your own experience? Continuous integration Code Reviews Unit Testing Manual Testing Focused testing days ...

Silverlight 3 Checkbox Listbox bug when scrolling?

I've spent a few minutes searching on Google and have not found anything related to this issue I'm having: Today I upgraded to the Silverlight 3 SDK and converted a project that I'm working on. I then noticed a bug in my program with a Listbox that has a Checkbox as its DataTemplate. When one or more items is checked, and I scroll up ...

PowerDesigner addin for VS.NET 2008 causes problems

I've installed PowerDesigner 15.1 on my machine, and plan to use its AddIn for VS.NET. But it causes the solution file (SLN) to be modified everytime I build, run, debug, or close the solution. And the VS doesn't change ANYTHING in the SLN file. (A compare to the history results in the message saying that the files are identical) This e...

Have you ever been the victim of a bug in a programming language or technology?

Bugs can be difficult enough to resolve when they're your (or a coworker's) fault. However, we all know that the technology we use to implement our programs is written by infallible people such as ourselves. So it stands to reason that some people have been affected by bugs in the implementation of the tools they used. So, have you fo...

PHP - Bug in polygon GD library?

Hi guys, I have run into some trouble with the gd library's imagefilledpolygon(). For some reason some of my lines were ending up 1px out of place so I decided to debug it using imagepixelset to set the colour of my shapes points to red. if you look at the picture you can see some of the points are inside the shape ... some are outsi...

Strange .NET ListView behaviour

I'm trying to get my head around this behaviour: I have a ListView on a form in LargeIcon View (System.Windows.Forms.View.LargeIcon) This line is in the constructor: this.listView1.LargeImageList.ImageSize = new Size(32, 32); And then this function is called upon a double click: private void listView1_DoubleClick(object sender, Even...