The Artima Developer Community
Sponsored Link

Agile Buzz Forum
How to Report a Smalltalk Bug

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
How to Report a Smalltalk Bug Posted: Feb 23, 2010 12:58 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: How to Report a Smalltalk Bug
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

One of the things that comes up every so often is this question: "How do I report a Smalltalk bug to Cincom?" The best thing to not do is send us a vague email along the following lines: "Blah is broken; can you fix it?"

No one will be happy with how that goes, because we just don't get enough information that way. Instead, you should do the following:

  • Provide a test case to us, showing the minimal amount of detail required to reproduce the problem. Ideally, that would be in the form of one or more SUnit tests, or a workspace script
  • Provide a copy of the stack that results when you run into the problem
  • If the above fails to lead to a solution, it might be necessary to get us access to a full image - although work in that direction may end up becoming a consulting/services issue.

Probably the most important thing you should do is debug the problem yourself as much as possible, just to ensure that it's not your code that's at fault - because if support ends up providing what amounts to training, then again - it may end up being a services thing.

By way of an example: let's say that I found a problem in BottomFeeder - one where I thought that the XML parser, for example, was running into trouble. First off, I'd be best off providing something like what's below:

On the left is a short workspace script that reproduces the problem, and to the right is the exception. Now, say that I was actually reporting this after verifying (as best as I can) that it's not my code that's at fault. The next step would be to press that lower "Copy Stack" button and send the resulting data (it'll be in the copy buffer) along with my bug report. It'll be long (quite possibly very long) - but the top will look something like this:




Unhandled exception: end of start tag expected, but not found

XML.DOM_SAXDriver(XML.SAXDriver)>>fatalError:

TolerantXML.TolerantParser(XML.XMLParser)>>malformed:

TolerantXML.TolerantParser>>malformed:

TolerantXML.TolerantParser(XML.XMLParser)>>expected:

TolerantXML.TolerantParser(XML.XMLParser)>>elementAtPosition:

TolerantXML.TolerantParser(XML.XMLParser)>>getElement

optimized [] in XML.XMLParser>>scanDocument



Now, in this case, the "bug" is in me trying to parse HTML with an XML parser. Ignoring that for the moment, ponder the stack - you'll want to scroll through it to find out where system code and your own code have a boundary (in order to verify where the problem resides). If you do think it's ours, send the whole stack along.

I'll do a screencast on this tomorrow to walk through some of the nuances - but that should cover the basics. Questions? Fire away via email or comment.

Technorati Tags: , ,

Read: How to Report a Smalltalk Bug

Topic: Industry Misinterpretations 176: Slate (AAC) Previous Topic   Next Topic Topic: Video: Inside the Mind of Google

Sponsored Links



Google
  Web Artima.com   

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