[wxruby-users] Copy/Paste problems in dragdrop.rb
Ridge Mcghee
lists at ruby-forum.com
Wed Jan 21 20:06:01 EST 2009
Windows XP Professional + SP3
ruby 1.8.6
wxRuby 1.9.9
The drag and drop sample results in segmentation faults.
Instructions to reproduce:
1. Run dragdrop.rb (.../samples/dragdrop/dragdrop.rb)
2. Click on Clipboard tab
3. Click on Copy image button
(Immediate segmentation fault on my system)
1. Run dragdrop.rb
2. Click on Clipboard tab
3. Type some text in TextCtrl
4. Click the Copy text button
5. Click the Paste button 3 times
(Segmentation fault 7 times in 10)
6. Repeat 4. and 5.
(Segmentation fault 10 times in 10 within a few iterations)
1. Run dragdrop.rb
2. Click on Clipboard tab
3. Type some text in TextCtrl
4. Click the Copy text button
5. Resize the window
6. Click the Paste button
(Immediate segmentation fault)
I believe I installed wxSugar but am not using it
(no require 'wxSugar' in dragdrop.rb)
Interestingly, .../wx/accessors.rb seems to reference
wxSugar.
Anyone else able to reproduce?
Ridge
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list