Wed Jul 03 11:14:55 2013: Request 86677 was acted upon.
Transaction: Ticket created by AAR
Queue: Wx
Subject: fork and invalid free() in XS_Wx__Event_DESTROY
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86677 >
I tried to use fork() in a button event handler.
As soon as the child exits, I get "pointer being freed was not allocated"
Valgrind reported the invalid free() to be in XS_Wx__Event_DESTROY.
The following workaround in the child code avoids the error:
*Wx::Event::DESTROY = sub {};
How is this supposed to work? Is this something that can be fixed in wxPerl
code?