Skip to content
Tcl Source Code History Of Ticket b200333437946d14
Login

History Of Ticket b200333437946d14

Artifacts Associated With Ticket b200333437946d14

  1. Ticket change [d0db023361] (rid 154800) by jlc on 2017-06-26 17:59:36:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      When font metrics is returning fixed fonts, it fails with the X Error in the
      summary.  It is reproducible with this test script on Fedora 25:
      
      foreach family [font families] {
          if {[font metrics \"$family\" -fixed]} {puts $family}
      }
      
      The test code returns fixed fonts then this error:
      
      X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
        Major opcode of failed request:  138 (RENDER)
        Minor opcode of failed request:  20 (RenderAddGlyphs)
        Serial number of failed request:  454
        Current serial number in output stream:  519
      
      The problem is indicated by using strace on the test script:
      
      open("/usr/share/X11/XErrorDB", O_RDONLY) = 4
      fstat(4, {st_mode=S_IFREG|0644, st_size=42077, ...}) = 0
      read(4, "!\n! Copyright 1993, 1995, 1998  "..., 42077) = 42077
      close(4)                                = 0
      write(2, "X Error of failed request:  BadL"..., 95X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
        ) = 95
      write(2, "Major opcode of failed request: "..., 36Major opcode of failed request:  138) = 36
      write(2, " (RENDER)\n", 10 (RENDER)
      )             = 10
      write(2, "  ", 2  )                       = 2
      write(2, "Minor opcode of failed request: "..., 35Minor opcode of failed request:  20) = 35
      write(2, " (RenderAddGlyphs)", 18 (RenderAddGlyphs))      = 18
      write(2, "\n", 1
      )                       = 1
      write(2, "  ", 2  )                       = 2
      write(2, "Serial number of failed request:"..., 37Serial number of failed request:  454) = 37
      
      The problem seems to be the size of /usr/share/X11/XErrorDB.  It is 42077 characters on Fedora 25.
      
      I have tcl-8.6.6-1.fc25.x86_64 and tk-8.6.6-1.fc25.x86_64 installed on Fedora 25.
      
    5. foundin initialized to: "tk-8.6.6"
    6. is_private initialized to: "0"
    7. login: "jlc"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "14f5d13b94bd44cbcab07900ce726db76f83bba5"
    10. resolution initialized to: "None"
    11. severity initialized to: "Critical"
    12. status initialized to: "Open"
    13. submitter initialized to: "jlc"
    14. subsystem initialized to: "None"
    15. title initialized to:
      X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
      
    16. type initialized to: "Bug"
  2. Ticket change [9466c83b4b] (rid 154831) by oehhar on 2017-06-27 06:48:37:

    1. closedate changed to: "2457931.78376965"
    2. closer changed to: "oehhar"
    3. icomment:
      Transfered to Tk Tracker: [https://core.tcl.tk/tk/tktview/3767882e066523dc9ae4475dbdcb6c33dfe57c6b]
      
    4. login: "oehhar"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Invalid"
    7. status changed to: "Deleted"
    8. username: "oehhar"