rust-windowing / rust-windowing/winit

Gtk causes a segmentation fault along with `winit`.

Open
#2,772 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A - needs repro C - needs investigation DS - x11
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

When I use winit in Rust along with nvdialog-rs I get a segmentation fault, apparently backtracing all the way back to Gtk.
Here's the issue on the NvDialog repo, if it helps,
and here's the backtrace from gdb (NOTE: It's the full backtrace which includes some irrelevant information).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the segmentation fault with Rust, winit, and nvdialog-rs, then inspect the linked NvDialog issue 39 and the provided gdb backtrace. No repository file or test is named; done means identifying the interaction that causes the crash and documenting or fixing it in winit if it belongs there.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.