Have you ever found a bug you can’t solve? What do you do in that case

bugdebugging

We're developing a hosted CMS, something like WordPress.com. When we were creating the Image Gallery module, we examined many jQuery libraries like easySlider, jCarousel, and Nivo Slider. But each of them had some kind'of weird bug across browsers. We almost put 2 days into finding where the bug was from. But we couldn't find the problem source. The most important reason could be that our system is now is complex.

Here are the problems:

  1. easySlider sliding were not transitional and was abrupt.
  2. jCarousel were sliding images half to their width in IE.
  3. Nivo Slider didn't hide the last-shown image, thus was not suitable for and image gallery with heterogeneous images.

We just concluded that we need to find a library which can work without bug, and we searched and found one.

But my question is, is it normal for large projects that the source of a bug cannot be found and instead, it's located with trial-and-error and you simply flee from the bug? Do you have such an experience?

Best Answer

We just concluded that we need to find a library which can work without bug, and we searched and found one.

Or, better, you can contact the respective authors of those libraries and submit them the bug you've found.

You may also be surprised if those authors answer that the bug does not exist. For example, I used jCarousel in the past and never had any width problem in IE. Your case may be some very strange edge case or a bug introduced in the latest version, but it also may be the fact that you're using the library wrong.

Now, if you contact the author and he spends lots of time correcting a bug while you have deadlines approaching, or his answer is unhelpful, there is nothing wrong to abandon a library and choosing another one. You can also disable a buggy feature in the current release of your website, and search for a solution by your own later, optionally contributing to the library if it is open source.