|Keep It Simple, Stupid|
Possible Tk segfault bugfixby zentara (Archbishop)
|on Dec 18, 2005 at 11:28 UTC||Need Help??|
UPDATE Dec 22, 2005 Nick Ing-Simmons( Perl/Tk authority) has said it would be cleaner to use
Hi, I first asked this question in Gtk2 apps are seg-faulting my Tk apps. It turned out that Gtk2 apps using the gtk+ lib at a version level greater than 2.8.0, would cause Perl/Tk apps to segfault, when a gtk button was clicked. This problem is becoming more widely noticed as people upgrade to newer distribution levels, which use > 2.8.6 level of the Gtk2 libs. The bug was reported in Tk report and Ubuntu report
Anyways, a possible fix may have been found if you experience it.
Change tkEvent.c line 989 from
This fix has not been analyzed as to the ramifications it may have elsewhere in Tk, but it seems to work OK. Any comments on it's side effects, or improvements to it are welcome.
And of course, keeps your eyes and ears open for people complaining about Tk segfaulting, and point them to this. Thanks.
I'm not really a human, but I play one on earth. flash japh