[wxruby-users] Segmentation Fault (GC)

Bryan Ash lists at ruby-forum.com
Thu Jul 31 22:24:04 EDT 2008


I've been ignoring a Garbage Collection Segmentation Fault for some time
now with the help of GC.disable in my Wx::App.

I'm running Windows XP with:
  ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
  wxruby (1.9.7)
  activerecord (2.1.0)
  sqlite3-ruby (1.2.2)

The application stores the time spent working on tasks in SQLite when
the user starts and stops a task from the TaskBarIcon.

It uses the following Wx components: Frame, Button, BoxSizer, Grid,
GridTableBase, GridCellAttr, Panel, StaticText, TaskBarIcon, Image,
Bitmap, Menu, MiniFrame, SystemSettings, TextCtrl

The segfaults occur when I open and close the "Edit time entries" and
"Timesheet" frames.

I've attached a cut down version that doesn't interface to SQLite or
ActiveRecord that still exhibits the problem.

Please let me know what other information I can provide to help this
investigation.

Thanks in advance,
Bryan

Attachments:
http://www.ruby-forum.com/attachment/2468/time_track.zip

-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list