From: Marco Polo Date: 2010-12-06T01:57:38+09:00 Subject: qt4-ruby crash Hi, i had one of the worst idea in my life one month ago: port a working ruby-gtk2 app to ruby-qt4. Not only it becomes a non-sense to use ruby since your code looks like to a c++ app written in another language (you almost lose all advantages of a clean ruby port like ruby-gnome2, exception messages are unclear when it's qt related) but it crashes in a way that is incredible: /usr/lib/ruby/site_ruby/1.8/Qt/qtruby4.rb:2680: [BUG] object allocation during garbage collection phase ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] The first time i had this message, i surrounded a piece of code with calls to GC.disable and GC.enable to make the damn thing work. And now i fall in the same problem in another part of code but this time, GC.enable/disable doesn't work. It's related to qt::treewidget: it works if sorting is not enabled but it crashes if it's enabled. Does anyone have any idea about this problem? Thanks. Linux 2.6.35.6-48.fc14.x86_64, qt 4.7.1, kde 4.5.3 -- Posted via http://www.ruby-forum.com/.