[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I've found that this bugs affects applications other than gitk. I'm developing an FLTK application in Rust, and I get the same problem when my app displays a list of emojis (via hold browser widget). Regarding the solutions: - installing `unifonts` had no effect - installing `fonts-symbola` had no effect - uninstalling `fonts-noto-color-emoji` solved the problem, although the emojis are printed in black and white, and are very difficult to recognize I'm on Ubuntu MATE 20.04.4, for reference. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
ubuntu 20.04 solved by doing `sudo apt purge fonts-noto-color-emoji` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I hit this problem today (Ubuntu 20.04.03, fully updated) out of the blue. My Python Tkinter program started crashing at startup immediately with the reported error. The problem disappeared the moment I ran the `sudo apt purge fonts-noto- color-emoji`. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I can confirm that `sudo apt purge fonts-noto-color-emoji` solved the problem for me too. I am on Ubuntu 20.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I confirm `sudo apt purge fonts-noto-color-emoji` did fix this issue for me. `sudo apt install unifont` did NOT solve it I'm on Kubuntu 20.04 if that matters -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
`sudo apt install unifont` and restarting the computer does **not** solve the problem for me, and it can still be reproduced via: ``` git init testrepo cd testrepo git commit --allow-empty -m gitk ``` This might be because I also have manually installed `~/.fonts/NotoColorEmoji.ttf` in order to show color emoji. And the color emoji does show correctly in terminal (see attachment), but it will still crash gitk. ** Attachment added: "correct-color-emoji.png" https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+attachment/5497278/+files/correct-color-emoji.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Installing 'unifont' also made the crashes stop for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
>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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
sudo apt purge fonts-noto-color-emoji -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Unfortunately, gitk is crashing again when it tries to display the symbol "". I don't know why it worked after installing the unifont only to stop working shortly afterwards again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I got gitk to not crash by installing unifont package. E.g. sudo apt install unifont the font isn't displayed in gitk properly (shows up as an empty square) but at least gitk no longer crashes - Details of System VERSION="20.04.1 LTS (Focal Fossa)" $ dpkg --list gitk Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==-=--== ii gitk 1:2.25.1-1ubuntu3 all fast, scalable, distributed revision control system (revision tree visualizer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I get this in gitk if a commit has "unprintable" characters like this symbol (\xd83d , \xdd25) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I'm seeing a very similar issue, but * crashes when I select one specific commit in gitk or if I open gitk while that commit is checked out as HEAD (thereby opening to that commit) * commit message does *not* have any non-ascii characters Error message is: --- 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: 5475 Current serial number in output stream: 5477 --- Versions: - Ubuntu 20.04.1 - gitk 1:2.25.1-1ubuntu3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Confirmed. If I click to commit 41edf4dfb10586d405eee363daf04814342c955c in master branch in repo https://github.com/codeceptjs/CodeceptJS, I'm getting: $ 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: 5700 Current serial number in output stream: 5743 Used SW: * Ubuntu 20.04.1 * gitk 1:2.25.1-1ubuntu3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Installing fonts-symbola (2.60-1 on focal) does not fix the problem for me. Can be be reproduced by running: git init testrepo cd testrepo git commit --allow-empty -m gitk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: git (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I had this same error gitk crashes heather@hypothetical-lemon:~/work/maas-ui$ gitk 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: 3048 Current serial number in output stream: 3118 sudo apt-get install fonts-symbola gitk works again -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
it looks like there was an icon in a git commit message ** Attachment added: "Screenshot from 2020-08-05 07-58-36.png" https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+attachment/5398946/+files/Screenshot%20from%202020-08-05%2007-58-36.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
even with fonts-symbola on ubuntu focal (just full-upgrade-ed), gitk --all crashes on a specific commit (gitk 2.25.1-1ubuntu1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1852985] Re: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
when installing fonts-symbola:amd64 2.60-1 according to https://github.com/LukeSmithxyz/voidrice/issues/242#issuecomment-478303013 it doesn't crash anymore. ** Bug watch added: github.com/LukeSmithxyz/voidrice/issues #242 https://github.com/LukeSmithxyz/voidrice/issues/242 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852985 Title: X Error of failed request: BadLength (poly request too large or internal Xlib length error) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1852985/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs