Thu Sep 22 19:45:44 2011: Request 71177 was acted upon.
Transaction: Ticket created by use...@zip.com.au
       Queue: Wx
     Subject: segv on passing undef
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: use...@zip.com.au
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71177 >


With recent debian i386 wx 2.8 and wxperl 0.9901 I mistakenly passed
undef to the AboutDialogInfo SetIcon(), per foo.pl below, and got a
segv.  I expect it's "don't do that", but it'd be good if it was an
error instead of a segv to avoid trouble.


use Wx;
my $info = Wx::AboutDialogInfo->new;
$info->SetIcon(undef);

Reply via email to