Skip to content

thread 'main' panicked Failed to call XMapRaised #635

Closed

Description

@central-yharnam

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

Installed Sniffnet through cargo. This error happens whenever I try to run the program.

hellshake@pop-os:~$ RUST_BACKTRACE=full sniffnet
thread 'main' panicked at /home/hellshake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/x11/window.rs:1208:18:
Failed to call XMapRaised: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
stack backtrace:
0: 0x5f871c064e9c -
1: 0x5f871b98428b -
2: 0x5f871c0304e2 -
3: 0x5f871c06a048 -
4: 0x5f871c069cd1 -
5: 0x5f871bf1e58e -
6: 0x5f871c06ac79 -
7: 0x5f871c06a9e5 -
8: 0x5f871c06a949 -
9: 0x5f871c06a934 -
10: 0x5f871b8d51c2 -
11: 0x5f871b8d55e5 -
12: 0x5f871bf720f4 -
13: 0x5f871bf6bd27 -
14: 0x5f871b932200 -
15: 0x5f871bf56a7d -
16: 0x5f871bf1cdc1 -
17: 0x5f871bf12bd3 -
18: 0x5f871bf1a8ab -
19: 0x7daee7a29d90 -
20: 0x7daee7a29e40 - __libc_start_main
21: 0x5f871b9242c5 -
22: 0x0 -

How did you install the app?

installed from crates.io

Operating System

Linux

Additional context

OS: Pop!_OS 22.04 LTS x86_64
Host: Z790 GAMING X AX
Kernel: 6.9.3-76060903-generic
ackages: 2374 (dpkg), 31 (flatpak)
Shell: bash 5.1.16
Resolution: 2560x1440
DE: GNOME 42.9
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: gnome-terminal
CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz
GPU: Intel AlderLake-S GT1
GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 2705
Memory: 5815MiB / 64068MiB

Activity

  1. GyulyVGC commented on Nov 11, 2024

    @GyulyVGC
    Owner

    Hi @central-yharnam,
    this might be a GPU issue.

    Try to use the alternative software renderer.
    You can do so by setting the environment variable ICED_BACKEND=tiny-skia

  2. added
    LinuxSomething related to Linux operating system
    rendererProblem related to the renderer used by the GUI library
    on Nov 12, 2024
  3. GyulyVGC commented on Feb 4, 2025

    @GyulyVGC
    Owner

    Closing this issue since it was confirmed by @neogeographica in #675 (comment) that this can be fixed by using the tiny-skia renderer.

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

    LinuxSomething related to Linux operating systemrendererProblem related to the renderer used by the GUI library

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions