From: Don Wilde Date: 2011-01-20T13:24:09+09:00 Subject: Re: Each roll-over in File? --0015174c462624c796049a3f806b Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jan 19, 2011 at 6:34 PM, Aaron D. Gifford wrote: > On Wed, Jan 19, 2011 at 5:56 PM, Don Wilde wrote: > ... [snip] > Are you positive that nothing in update_state_n_format() or > process_line() is touching @src_file and perhaps rewinding the file's > read position? > > I did figure it out. Above this code is a line that says close if @done == true ... the close being a wxRuby close(), and it was actually coming back from the close() and re-opening the file and crashing before the close() completed all its operations at the Wx level. Changing it to if @done == true then close else # parse the file end ...worked. In other words, close() != die() :D -- -- Don Wilde ph: 512-394-8896 skype: donwilde1 e: dwilde1@gmail.com "If you are creative and add value to the world, sleep well. You've earned it." --0015174c462624c796049a3f806b--