[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)

David 1852985 at bugs.launchpad.net
Mon Apr 12 09:08:25 UTC 2021


>From my research, this appears to be a bug in xorg library "libXft"
related to its lack of support for coloured emoji. It's logged as an
issue in the libxft project
(https://gitlab.freedesktop.org/xorg/lib/libxft/-/issues/6) and has a
pending merge request
(https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/1).

Related discussions:
* Bug report on noto-emoji, concluding that it's not a noto-emoji bug: https://github.com/googlefonts/noto-emoji/issues/183
* On the git mailing list: https://www.spinics.net/lists/git/msg379512.html
* On StackExchange: https://unix.stackexchange.com/questions/629281/gitk-crashes-when-viewing-commit-containing-emoji-x-error-of-failed-request-ba/644680#644680

As mentioned by Bernd above, a workaround that seems to work is to uninstall the `fonts-noto-color-emoji` package (`apt remove --purge fonts-noto-color-emoji`).
I can confirm that uninstalling `fonts-noto-color-emoji` resolved the problem for me (on Ubuntu 20.04).

P.S. Since people talked above about emoji in commit messages, it's
worth noting that this bug probably triggers from characters anywhere in
the commit's diff, even if no such emoji are present in the commit
message.


** Bug watch added: gitlab.freedesktop.org/xorg/lib/libxft/-/issues #6
   https://gitlab.freedesktop.org/xorg/lib/libxft/-/issues/6

** Bug watch added: github.com/googlefonts/noto-emoji/issues #183
   https://github.com/googlefonts/noto-emoji/issues/183

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1852985

Title:
  X Error of failed request:  BadLength (poly request too large or
  internal Xlib length error)

Status in git package in Ubuntu:
  Confirmed

Bug description:
  crashed once in a new branch with some changes plus some .gitignored changes
  worked uppon next try
  ✗ gitk --all
  X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
    Major opcode of failed request:  139 (RENDER)
    Minor opcode of failed request:  20 (RenderAddGlyphs)
    Serial number of failed request:  8263
    Current serial number in output stream:  8336

  
  worked before and after these updates between last reboot
  Aptitude 0.8.11: log report
  Fri, Nov 15 2019 19:58:22 +0100

    IMPORTANT: this log only lists intended actions; actions which fail
    due to dpkg problems may not be completed.

  Will install 8 packages, and remove 0 packages.
  77.8 kB of disk space will be used
  ========================================
  [UPGRADE] ghostscript:amd64 9.27~dfsg+0-0ubuntu3 -> 9.27~dfsg+0-0ubuntu3.1
  [UPGRADE] ghostscript-x:amd64 9.27~dfsg+0-0ubuntu3 -> 9.27~dfsg+0-0ubuntu3.1
  [UPGRADE] gnome-terminal:amd64 3.34.0-1ubuntu2 -> 3.34.2-1ubuntu1
  [UPGRADE] gnome-terminal-data:amd64 3.34.0-1ubuntu2 -> 3.34.2-1ubuntu1
  [UPGRADE] libgs9:amd64 9.27~dfsg+0-0ubuntu3 -> 9.27~dfsg+0-0ubuntu3.1
  [UPGRADE] libgs9-common:amd64 9.27~dfsg+0-0ubuntu3 -> 9.27~dfsg+0-0ubuntu3.1
  [UPGRADE] linux-firmware:amd64 1.183.1 -> 1.183.2
  [UPGRADE] nautilus-extension-gnome-terminal:amd64 3.34.0-1ubuntu2 -> 3.34.2-1ubuntu1
  ========================================

  Log complete.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: gitk 1:2.20.1-2ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
  Uname: Linux 5.3.0-23-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Nov 18 11:27:06 2019
  InstallationDate: Installed on 2019-04-02 (230 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.2)
  PackageArchitecture: all
  SourcePackage: git
  UpgradeStatus: Upgraded to eoan on 2019-11-11 (7 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions



More information about the foundations-bugs mailing list