Bug 488453

Summary: Tk crashes in F-10 x86_64
Product: [Fedora] Fedora Reporter: Sergio Pascual <sergio.pasra>
Component: tkAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: ivazqueznet, james.antill, jonathansteffan, katzj, mmaslano
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 8.5.3-5.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-05 16:35:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sergio Pascual 2009-03-04 13:10:21 UTC
Python crashes running these two lines. I can only reproduce it in a dell laptop.

from Tkinter import *
root = Tk()

It happens on a newly installed latop, with Fedora 10 x86_64 updated. It doesn't happen when connected via ssh -X, only in the console or with vnc.

I have installed python-debuginfo and libX11-debuginfo and ran python inside gdb.

The output is this:
(gdb) run gui1.py 
Starting program: /usr/bin/python gui1.py
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7fe46f0 (LWP 8025)]
warning: the debug information found in "/usr/lib/debug//usr/lib64/libX11.so.6.2.0.debug" does not match "/usr/lib64/libX11.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib64/libX11.so.6.2.0.debug" does not match "/usr/lib64/libX11.so.6" (CRC mismatch).


Program received signal SIGSEGV, Segmentation fault.
0x000000375c452946 in XGetICValues () from /usr/lib64/libX11.so.6

Python python-2.5.2-1.fc10.x86_64 tk-8.5.3-4.fc10.x86_64

Comment 1 Sergio Pascual 2009-03-04 13:17:22 UTC
Perhaps this is related https://bugzilla.redhat.com/show_bug.cgi?id=480742

Comment 2 Sergio Pascual 2009-03-04 14:16:52 UTC
Other tcl/tk applications are crashing also: wish, ds9, etc. I'm changing component to tk. 

Version: tk-8.5.3-4.fc10.x86_64

Comment 3 Marcela Mašláňová 2009-03-04 14:37:20 UTC
The bug #480742 show up after upgrade of libX11, which is not the issue here. In F-10 is libX11-1.1.4-6.fc10.x86_64. 

Could you tell me more about those crashes? I tried wish, ds9 and they are working fine. I have:
ds9-5.4-2.fc10.x86_64.rpm
libX11-1.1.4-6.fc10.x86_64         
libX11-1.1.4-6.fc10.i386 
tk-8.5.3-4.fc10.x86_64.rpm
tcl-8.5.3-1.fc10.x86_64.rpm

Comment 4 Sergio Pascual 2009-03-04 16:17:13 UTC
Exactly the same:

ds9-5.4-2.fc10.x86_64
libX11-1.1.4-6.fc10.x86_64
libX11-1.1.4-6.fc10.i386
tk-8.5.3-4.fc10.x86_64
tcl-8.5.3-1.fc10.x86_64

What's very strange is that apps only crash inside the gnome session (be it in a console or vnc). In remote with ssh -X they work just fine

Comment 5 Marcela Mašláňová 2009-03-05 07:17:37 UTC
Oh my, I always forget to check it in Gnome ;-)

Comment 6 Marcela Mašláňová 2009-03-05 08:19:51 UTC
Could you please try test it with the patch from rawhide?
You can download it here:
http://mmaslano.fedorapeople.org/tk/tk-8.5.3-5.fc10.x86_64.rpm
or
http://mmaslano.fedorapeople.org/tk/tk-8.5.3-5.fc10.i386.rpm

Comment 7 Sergio Pascual 2009-03-05 09:01:30 UTC
Yes! Applications are working now in gnome.

Comment 8 Marcela Mašláňová 2009-03-05 09:09:34 UTC
Thank you for testing. The F-10 update will be following.

Comment 9 Fedora Update System 2009-03-05 09:20:10 UTC
tk-8.5.3-5.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/tk-8.5.3-5.fc10

Comment 10 Fedora Update System 2009-03-05 16:35:06 UTC
tk-8.5.3-5.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.