Tk Source Code

View Ticket
Login
2026-11-06
15:39 • Ticket [9ab6e37e] wm forget segfault status still Open with 3 other changes artifact: 4b7ae5a9 user: serhiy.storchaka
2026-11-05
20:43
Fix [9427fb312d]: textDisp.test aborts the test run with an X error on a small screen check-in: ba9d8181 user: jan.nijtmans tags: core-8-6-branch
20:43 • Closed ticket [9427fb31]: textDisp.test aborts the test run with an X error on a small screen (main CI) plus 8 other changes artifact: a04403be user: jan.nijtmans
20:42
Fix [9427fb312d]: textDisp.test aborts the test run with an X error on a small screen check-in: 60c0ae12 user: jan.nijtmans tags: trunk, main
20:38
Fix [9427fb312d]: textDisp.test aborts the test run with an X error on a small screen check-in: fe8893d1 user: jan.nijtmans tags: core-9-0-branch
20:25 • New ticket [eb6a8f11] X11: the insertion cursor between lam and alef changes the drawing of the Arabic text (textDisp-42.7 fails). artifact: f7184f0d user: serhiy.storchaka
20:16 • Ticket [9427fb31] textDisp.test aborts the test run with an X error on a small screen (main CI) status still Open with 3 other changes artifact: 76443960 user: serhiy.storchaka
20:14
Fix [9427fb312d]: testpixel aborted the test run with an X error (BadMatch) when the pixel was not on the screen. Catch the error and report it as a Tcl error. closed check-in: 42b1cd85 user: serhiy.storchaka tags: testpixel-x-error
20:14
Fix [9427fb312d]: textDisp-42.2 to 42.9 packed their text widget into "." next to the widgets of earlier tests, so on a small screen (the 640x480 of xvfb-run on CI) it was off the screen and testpixel aborted the test run with an X error. Put the text widget into a toplevel of its own at +0+0. closed check-in: a16f0f52 user: serhiy.storchaka tags: tests-textdisp-offscreen
20:13 • New ticket [9427fb31] textDisp.test aborts the test run with an X error on a small screen (main CI). artifact: 651b4ebd user: serhiy.storchaka

Ticket UUID: 9427fb312da9c5c3005b74b85139996e0c5340bc
Title: textDisp.test aborts the test run with an X error on a small screen (main CI)
Type: Bug Version: 9.1.1
Submitter: serhiy.storchaka Created on: 2026-11-05 20:13:42
Subsystem: 86. Test Tools Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2026-11-05 20:43:05
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2026-11-05 20:43:05
Description:

Since 2026-11-03 the Linux CI of main stops in textDisp.test with:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
textDisp-42.2 to 42.9 pack their text widget .t1 into "." next to the widgets of earlier tests, which leave "." 1500 pixels wide. On the 640x480 screen of xvfb-run, .t1 is then beyond the right edge of the screen. testpixel reads pixels with XGetImage, which fails with BadMatch for an area which is not on the screen, and without an error handler the X error terminates the whole test run.

It can be reproduced with Xvfb -screen 0 640x480x24 and running textDisp.test.

User Comments: jan.nijtmans added on 2026-11-05 20:43:05:

Many thanks!

Fixed in [60c0ae12|trunk] and core-9-0-branch


serhiy.storchaka added on 2026-11-05 20:16:10:

Proposed fixes in two branches:

  • tests-textdisp-offscreen (main only): textDisp-42.2 to 42.9 put their text widget into a toplevel of their own at +0+0.
  • testpixel-x-error: testpixel reports a pixel which is not on the screen as a Tcl error instead of letting the X error abort the test run. It can be backported.