The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Heisenbugs

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Heisenbugs Posted: Mar 19, 2005 2:10 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Heisenbugs
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

In the last few days, I've had two things that I took to calling "Heisenbugs" - one of the blogs here had a never-changing referer list, and the server, after having been restarted, stopped sending blog pings. These were weird bugs that I just couldn't understand - I kept querying the server, and things looked ok - but wouldn't work correctly.

What I discovered is that they both had (of course) logical explanations. For the referer problem, there was an old log file that was being read from - and sure enough, it had the "never changing" list of referers. After I cleaned that up, the problem went away.

The other one was stranger. On posts, I send blog pings to a variety of places - blog.gs, Technorati, etc. These had worked before, but they weren't working now - and the failure seemed inexplicable, a MessageNotUnderstood deep in the bowels of the Http library. The issue was simple, once I figured it out. There's a cached dictionary of header fields mapped to classes that handle them. What happened was this - when the server started, that cache got filled before all the code was loaded into the system - leaving it partially filled. The solution was simple - clear the cache, and force it to reload.

So I didn't have Heisenbugs - I had bugs I hadn't figured out yet.

Read: Heisenbugs

Topic: Open-Source: Offense or Defense? Previous Topic   Next Topic Topic: How To Start a Startup

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use