Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 73276
Status: open
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.9903
Fixed in: (no value)



Subject: Wx::WindowUpdateLocker->new(undef) segfaults perl
Download (untitled) / with headers
text/plain 390b
Calling Wx::WindowUpdateLocker->new(undef) causes Perl to segfault. This can easily occur if you are doing a lot of update locking throughout a program and you overlook a single case where the clean up order is different to what you expect, or you lock something not instantiated yet. Please add a check to the method so that Perl at least throws an ordinary die rather than the segfault.
Download (untitled) / with headers
text/plain 669b
I'll leave this ticket open. Wx is open to many failures like below if incorrect params are passed. It might be a good thing if we had some sort of generic checking code in place possibly created as part of XSpp. On Thu Dec 15 06:21:53 2011, ADAMK wrote: Show quoted text
> Calling Wx::WindowUpdateLocker->new(undef) causes Perl to segfault. > > This can easily occur if you are doing a lot of update locking > throughout a program and you overlook a single case where the clean up > order is different to what you expect, or you lock something not > instantiated yet. > > Please add a check to the method so that Perl at least throws an > ordinary die rather than the segfault.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.