Tk Source Code

View Ticket
Login
Ticket UUID: 610188
Title: select-10.4 hangs
Type: Bug Version: obsolete: 8.4.0, 8.6.18, 9.0.5, 9.1b1
Submitter: dgp Created on: 2002-09-16 20:53:23
Subsystem: 53. [selection] Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2026-11-13 17:55:36
Resolution: Fixed Closed By: nemethi
    Closed on: 2026-11-13 17:55:36
Description:
Test select-10.4 hangs with KDE on SuSE Linux 8.3 Pro.
User Comments: nemethi (claiming to be Csaba Nemethi) added on 2026-11-13 17:55:36:

Serhiy, many thanks! Merged into main, core-9-0-branch, and core-8-6-branch by commits [3ed1deb6], [39821e41], and [81d9bddf].


serhiy.storchaka added on 2026-09-30 11:51:20:

Reproduced on Linux/X11 (Xvfb) with a client that polls the PRIMARY selection, like the old Klipper. The handler of select-10.4 sleeps 6 seconds while it sends a long value in parts (INCR). It is called for the requests of the other client as well, and each of them nests a new wait, so the test never finishes. It does not reproduce on the current KDE Plasma on Wayland.

Proposed fix in branch select-tests-private-selection ([29a21fe034]): the tests whose handlers log, delay or abort the transfer (select-10.1 to 10.6, 11.1, 13.1) use a private selection instead of PRIMARY, so that other clients cannot interfere. The new test select-10.7 checks a transfer of the default PRIMARY selection, checking only the value.


dgp added on 2006-04-06 00:34:59:
Logged In: YES 
user_id=80530


test select-10.4 still hangs on
both branches on this platform.

This is an increasingly out of date
system, so if this gets closed as
either "Won't Fix" or "Out of Date"
I can't really complain.  Never
fixed though.

dgp added on 2006-03-31 23:14:23:
Logged In: YES 
user_id=80530


claiming to re-test when I
get back to the right system.

hobbs added on 2006-03-31 15:03:30:
Logged In: YES 
user_id=72656

I'm not seeing any hangs for 8.4.13 / 8.5a4

dgp added on 2004-05-04 03:33:56:
Logged In: YES 
user_id=80530

current core-8-4-branch tip
for both Tcl and Tk:  still hangs
on the Tk test select-10.4

hobbs added on 2004-05-04 03:04:48:
Logged In: YES 
user_id=72656

This is working for me with 8.4.6+ ... can you repeat?

dgp added on 2003-07-30 01:05:16:
Logged In: YES 
user_id=80530

I now see the problem again with
the current core-8-4-branch,

dgp added on 2003-03-05 13:30:43:
Logged In: YES 
user_id=80530

can no longer repeat this.
updates to either KDE or TK
have resolved the issue.