#27 new
lyle (at lylejohnson)

Segmentation faults for nil parents/owners

Reported by lyle (at lylejohnson) | November 11th, 2009 @ 10:31 PM | in 1.8.0

FXRuby seg-faults when nil is passed as the first parameter to various constructors: e.g. FXMainWindow.new(nil, ''), FXDialogBox.new(nil, ''). These cases should throw exceptions instead.

Originally reported by Tim Hunter.

Comments and changes to this ticket

  • lyle (at lylejohnson)

    lyle (at lylejohnson) November 11th, 2009 @ 10:33 PM

    • Milestone set to 1.8.0

    Added checks for passing nil to FXMainWindow.new() and FXDialogBox.new() in FXRuby 1.6.15. Tim noted the problem still exists for many other classes (e.g. FXButton, FXHorizontalFrame, FXVerticalFrame, FXList, FXTable), but we're going to hold off on a more comprehensive solution until FXRuby 1.8 (since it's a pretty invasive change)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

FXRuby is a library for developing powerful and sophisticated cross-platform graphical user interfaces (GUIs) for your Ruby applications. It’s based on the FOX Toolkit, a popular open source C++ library developed by Jeroen van der Zijp. What that means for you as an application developer is that you’re able to write code in the Ruby programming language that you already know and love, while at the same time taking advantage of the performance and functionality of a featureful, highly optimized C++ toolkit.

Shared Ticket Bins

People watching this ticket

Tags

Pages