Bugzilla – Bug 139552
gnome programmes crash perl-TK applications
Last modified: 2006-03-07 14:59:52 UTC
Any perl-tk-programme (e.g. /usr/bin/widget from the packet perl-Tk-800.024-433 crashes with SIGSEGV, as soon as I start a gnome programme, be it gedit or gnome-calculator. System: Suse 10.0 (Box), kernel 2.6.13-15-smp, fresh installation, current updates. Problem occurs independent of hardware on different X86 maschines. Also in failsafe mode without a windowmanager. Even if the perl-tk application's display is only redirected to the Suse 10.0 X-Server, an the gnome-application ist started locally. In this case the machine running the perl-tk applications may also be another version of Suse, only the machine running the X-Server is Suse 10.0. A strace-log of the perl-TK programme ends as follows: (half of the first line (with select...), just until before the closing bracket, is printed before the crash, the rest happens in the moment one starts gedit): ... select(5, [4], [], [], NULL) = 1 (in [4]) ioctl(4, FIONREAD, [32]) = 0 read(4, "\241 5\2\24\0\340\1\25\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 write(4, "\20\0\7\0\22\0\340\1_MOTIF_WM_MESSAGES\340\1", 28) = 28 read(4, 0xbff49e20, 32) = -1 EAGAIN (Resource temporarily unavailable) select(5, [4], NULL, NULL, NULL) = 1 (in [4]) read(4, "\1\3676\2\0\0\0\0\32\2\0\0\0\0\0\0\34\0\0\0\34\0\0\0\0"..., 32) = 32 write(4, "\21\0\2\0\25\2\0\0", 8) = 8 read(4, "\1\0007\2\5\0\0\0\24\0\0\0\1\0\0\0\0\0\0\0\10\0\0\0\10"..., 32) = 32 readv(4, [{"_GTK_LOAD_ICONTHEMES", 20}, {"", 0}], 2) = 20 select(5, [4], [], [], NULL) = 1 (in [4]) ioctl(4, FIONREAD, [32]) = 0 read(4, "\241 7\2\1\0\340\1\25\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
I updated perl-Tk to new version for 10.1 and I am not able to reproduce this bug any more. Can you reproduce it on Suse 10.1 beta2?
Hi, I installed perl-Tk from ftp://ftp.suse.com/pub/people/pmladek/bug139552/perl-Tk-804.027-2.i586.rpm, but the problem remains as described. Version: LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32" SUSE LINUX 10.0 (i586) VERSION = 10.0 with current updates. Regards Michael
OK. Please send me a core dump.
Created attachment 66155 [details] core dump I startet 'widget' in background and then gnome-calculator, which crashed 'widget'.
Fixed for 10.1. While debugging I created also package with fix for 10.0. If you want, you can download it and test. It should appear soon on ftp: ftp://ftp.suse.com/pub/people/pmladek/bug139552/perl-Tk-800.024-432.i586.rpm
I installed perl-Tk-800.024-432.i586.rpm from the ftp URL above on 10.0 and - it works! Thanks! But I had to --force rpm, because perl-Tk-800.024-433.i586.rpm was already installed via the normal YOU - which still had the old problem.
Unfortunately, the perl-Tk-800.024-432.i586.rpm from the URL above did fix the "original" bug, but introduced another, at least on Suse 10.0 (Box): Start "widget" from the perl-Tk package, and click on any of the clickable lines, after 10 or so clicks "widget" segfaults. As does my own application...
I am unable to reproduce it even on 10.0 at this time. Please send me one more core dump, I will try to find out what happened.
Created attachment 71111 [details] core dump (reply to Comment #8) I tried it on two x86 systems, one of it just a plain install and current update plus ftp://ftp.suse.com/pub/people/pmladek/bug139552/perl-Tk-800.024-432.i586.rpm The core dump was written on this system, I just started "widget" and clicked on "1.Labels (text and images)" 10 times.
It looks that I fixed even this one, try following package and tell me how it works, please: ftp://ftp.suse.com/pub/people/pmladek/bug139552/perl-Tk-800.024-433.i586.rpm (if not already uploaded, it should appear soon there)
Hi, I installed ftp://ftp.suse.com/pub/people/pmladek/bug139552/perl-Tk-800.024-433.i586.rpm and it doesn't have any of the two bugs :-) Thanks!
Fine, so problem is hopefully fixed now.