noreply at rubyforge.org
2008-Jul-19 15:51 UTC
[wxruby-development] [ wxruby-Bugs-21273 ] Segmantation fault in textctr.append_text
Bugs item #21273, was opened at 2008-07-19 17:51 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=21273&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roman Zawada (zwadar) Assigned to: Nobody (None) Summary: Segmantation fault in textctr.append_text Initial Comment: I''m using window with one multiline TextCtrl (with RICH style) for logging what my building app is doing by using function TextCtrl.append_text() (tested on write_text too). When I continuously move with scrollbar, trying to read older log messages (while app is still appending text to the end of the log window), application crashes after couple of seconds with ...lib/base/my_logger.rb:6: [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. my_logger content is 5: $bp_test.set_default_style( Wx::TextAttr.new(Wx::BLACK) ) 6: $bp_test.append_text(text+"\n") I''m using latest ruby and wxRuby, tested on XP and Vista, XRC file included ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=21273&group_id=35
Apparently Analagous Threads
- [ wxruby-Bugs-8068 ] TextCtrl#append_text doesn''t work when text is in UTF8
- segmantation fault
- Re: RESOLVED: Overloading error_message_on method in ActiveRecordHelper
- Overloading error_message_on method in ActiveRecordHelper
- Work around for problems with error_message_on