noreply at rubyforge.org
2007-Jun-21 15:37 UTC
[Wxruby-development] [ wxruby-Bugs-11747 ] Segfault if unexpected type is returned by some director methods
Bugs item #11747, was opened at 2007-06-21 15:37 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=11747&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 2 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Segfault if unexpected type is returned by some director methods Initial Comment: Several possibly overridden ruby methods are called from C++ using directors - TreeCtrl#on_compare_items, App#filter_event - and are expectd to return an integer. However, on OS X 10.3, if a non-Fixnum type is returned from ruby (eg nil) then it segfaults. This should be handled gracefully by raising a ruby TypeError exception. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=11747&group_id=35
Seemingly Similar Threads
- [ wxruby-Bugs-12360 ] TreeCtrl#on_compare_items not working on MSW
- [ wxruby-Bugs-11708 ] Wx::TreeCtrl#on_compare_items can not work
- [ wxruby-Bugs-10797 ] App#filter_event always passes Wx::Event
- [ wxruby-Bugs-13734 ] Problem with TreeCtrl#get_first_child and #get_next_child on MSW
- [ wxruby-Bugs-13640 ] Invalid value for TreeCtrl#get_root_id when TR_HIDE_ROOT style is set (MSW)