Skip to content

GPUI crashes when use cached view with Input #50456

@Reverier-Xu

Description

@Reverier-Xu

Reproduction steps

  1. goto https://github.com/longbridge/gpui-component
  2. run cargo run --example dock
  3. switch to the Input panel and type something in Input widget
  4. the example app crashes immidiately

the panic trace is here, looks like it is not a bug within gpui-component, the crash happens in input_handler array overflow:

err.log

Current vs. Expected behavior

Current: GPUI crashes
Expected: It handle input event normally

Zed version and system specs

GPUI: both main branch and 0.2.2
OS: ArchLinux with KDE Plasma on Wayland
Arch: x86_64

Attach Zed log file

only related to gpui

Relevant Zed settings

only related to gpui

Relevant Keymap

only related to gpui

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:gpuiGPUI rendering framework supportfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P1Security holes w/o exploit, crash, install/update, sign-in, badly broken common featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Crash.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions