Maximum allowed requested length exceeded #47

issue fanquake openend this issue on August 10, 2020
  1. fanquake commented at 6:55 am on August 10, 2020: member

    Ported from https://github.com/bitcoin/bitcoin/issues/18537.

    When running bitcoin qt over x11 remote session (DISPLAY=1.2.3.4:0) in a clean machine, wallet stops with error.

    Expected behavior

    Initial intro dialog (were to put the data files) opened.

    Actual behavior

    I got this:

    The X11 connection broke: Maximum allowed requested length exceeded (code 4)
    XIO:  fatal IO error 2 (No such file or directory) on X server "192.168.200.26:51"
          after 219 requests (219 known processed) with 0 events remaining.
    

    To reproduce

    Need a clean machine (~/.bitcoin sould be not exists), need a remote x11 “desktop”.

    export DISPLAY=1.2.3.4:0
    ./bitcoin-qt
    

    System information

    ubuntu bionic/xenial tested x64/arm cpu tested remote x11 session: xvnc and pure xorg tested

    The issue

    Intro dialog sets the windowicon, this bitmap is 1024x1024 pixels. the qt5 convert this into argb32 format (=1 pixel 4 bytes), thats 4M data. The x11 remote connections allow only less than 4M length.

    Possible fix

    We dont need 1024x1024 dialog icon, just 128x128 or 256x256. So scale the icon:

    intro.setWindowIcon(QIcon(QPixmap(":icons/bitcoin").scaled(QSize(128, 128), Qt::KeepAspectRatio, Qt::SmoothTransformation )));
    
  2. fanquake added the label Bug on Aug 10, 2020
  3. hebasto added the label good first issue on Mar 5, 2021
  4. hebasto renamed this:
    qt: Maximum allowed requested length exceeded
    Maximum allowed requested length exceeded
    on May 15, 2021
  5. RandyMcMillan referenced this in commit b4ce68c330 on Jul 17, 2021
  6. RandyMcMillan referenced this in commit 291688dd61 on Jul 17, 2021
  7. Dami-star commented at 6:32 am on April 29, 2022: none

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-23 00:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me