Skip to content

Ctrl+shift+v cause Buffer full #1425

Closed
Closed

Description

@x1y9

Environment

  • OS: windows 10
  • scrcpy version: 1.13
  • installation method: Windows release
  • device model: huawei honor v10
  • Android version: 10

Describe the bug
when do ctrl-shift-v to copy a large text (about 400 utf-8 characters) to device clipboard, get
java.lang.IllegalStateException: Buffer full, call next() to consume

java.lang.IllegalStateException: Buffer full, call next() to consume
        at com.genymobile.scrcpy.ControlMessageReader.readFrom(ControlMessageReader.java:36)
        at com.genymobile.scrcpy.DesktopConnection.receiveControlMessage(DesktopConnection.java:110)
        at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:76)
        at com.genymobile.scrcpy.Controller.control(Controller.java:67)
        at com.genymobile.scrcpy.Server$1.run(Server.java:47)
        at java.lang.Thread.run(Thread.java:929)

Activity

  1. added 2 commits that reference this issue on May 24, 2020
    517dbd9
    c7155a1
  2. rom1v commented on May 24, 2020

    @rom1v
    Collaborator

    Thank you for your report. 👍

    Fixed by 517dbd9, tested by c7155a1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions