Subject: | gtk2 > 2.8.0 apps are causing segfaults in Tk , with readv(3, [{"_GTK_LOAD_ICONTHEMES", 20}, |
Start any Perl/Tk app. If you have gtk+-2.8.7 installed, run gtk-demo. Click on Button Boxes to run it's demo, the Perl/Tk app will segfault. If you restart the Perl/Tk app, subsequent clicking of Button Box will NOT segfault Tk. Only the first time does it. I ran strace on the Perl/Tk apps, and when it segfaults, the line readv(3, [{"_GTK_LOAD_ICONTHEMES", 20}, {"", 0}], 2) = 20 always appears in strace before the crash. When I revert to earlier Gtk2 versions, say 2.8.0, it does not occur. I first noticed this when getting mail with sylpheed-claws would crash my running Tk apps. It does NOT crash Tcl/Tk apps, so it must be in the Perl/Tk conversion. I have seen this on ICEWM and KDE under OpenSuSE 10, and on my customized Slackware system, running the very latest libraries...glibc2.3.6, gcc-4.02, latest gtk+ libs.
I have reported this to the gtk2 people, but they claim that it is a Perl/Tk bug
since it is the Tk program which crashes.