Re: [Fxruby-users] FXTreeList: Core dump when exiting
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2004-01-26 04:13:02
|
On Jan 25, 2004, at 11:20 AM, Joel VanderWerf wrote: > Try upgrading to a more recent ruby snapshot: <snip> If this happens to work properly under Ruby 1.9, I'm afraid it's by coincidence only. I understand the fundamental problem underlying this bug (the "tree list crashes when Ruby shuts down" bug) and just haven't hit on the proper solution yet. In short, the problem is that when the Ruby interpreter shuts down, the remaining objects are garbage-collected in an unpredictable order. That can cause parts of the tree list widget (specifically, some of the tree items) to be destroyed before they would be under normal circumstances, and it's not always obvious how to account for that. I haven't tried out the CVS for Ruby 1.9 yet, and I will of course take your word for it that it doesn't crash there -- but I think that's just good luck that may turn on us again in the future ;) I'm going to focus some more attention on this problem (which is larger than the specific tree list problem alone) and try to come up with a good solution before the next FXRuby release. |