[Bug 598160] genkey segfaults

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 17 15:25:39 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=598160

--- Comment #15 from Petr Pisar <ppisar at redhat.com> 2010-06-17 11:25:37 EDT ---
If I remove complete destructor sub Newt::Form::DESTROY {} definition, then
Perl does not crash. And Perl destroys it on interpret termination
automatically via 
XS_Newt_newtFormDestroy wrapper.

Of course if I call destructor explicitly, it will crash because it will try to
free already freed memory.

So the problem has been introduced by this upstream Changelog entry probably:

Mon Oct 26 18:04:51 1998  Alejandro Escalante Medina  <amedina at msg.com.mx>
    * Newt.pm: Added DESTROY to forms

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list