Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash app on arch linux #463

Closed
1 task done
pooh2pooh opened this issue Feb 27, 2024 · 6 comments · Fixed by #488
Closed
1 task done

crash app on arch linux #463

pooh2pooh opened this issue Feb 27, 2024 · 6 comments · Fixed by #488
Labels
bug Something isn't working Linux Something related to Linux operating system
Milestone

Comments

@pooh2pooh
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

application closes instantly with this log in the terminal:

➜ sniffnet                        

  /---------------------------------------------------------\
 |     _____           _    __    __                  _      |
 |    / ____|         (_)  / _|  / _|                | |     |
 |   | (___    _ __    _  | |_  | |_   _ __     ___  | |_    |
 |    \___ \  | '_ \  | | |  _| |  _| | '_ \   / _ \ | __|   |
 |    ____) | | | | | | | | |   | |   | | | | |  __/ | |_    |
 |   |_____/  |_| |_| |_| |_|   |_|   |_| |_|  \___|  \__|   |
 |                                                           |
 |                   ___________                             |
 |                  /___________\                            |
 |                 | ___________ |                           |
 |                 | |         | |                           |
 |                 | | v1.2.2  | |                           |
 |                 | |_________| |________________________   |
 |                 \_____________/   by Giuliano Bellini  )  |
 |                 / ''''''''''' \                       /   |
 |                / ::::::::::::: \                  =D-'    |
 |               (_________________)                         |
  \_________________________________________________________/
interface 'wl_surface' has no event 2
warning: queue 0x7f1074000ca0 destroyed while proxies still attached:
  zwp_primary_selection_offer_v1@4278190081 still attached
  wl_data_offer@4278190080 still attached
  zwp_primary_selection_device_v1@50 still attached
  zwp_primary_selection_device_manager_v1@46 still attached
  wl_data_device@49 still attached
  wl_seat@48 still attached
  wl_data_device_manager@47 still attached
  wl_registry@45 still attached
warning: queue 0x5610a632c940 destroyed while proxies still attached:
  xdg_wm_base@23 still attached
  wl_output@15 still attached
  wl_seat@14 still attached
  xdg_activation_v1@13 still attached
  wp_fractional_scale_manager_v1@12 still attached
  wp_viewporter@11 still attached
  zwp_text_input_manager_v3@10 still attached
  zwp_pointer_constraints_v1@9 still attached
  zwp_relative_pointer_manager_v1@8 still attached
  zxdg_decoration_manager_v1@7 still attached
  wl_subcompositor@6 still attached
  wl_compositor@5 still attached
  wl_shm@4 still attached
  wl_registry@2 still attached
    %                              

How did you install the app?

downloaded one of the provided packages

Operating System

Linux

Additional context

No response

@GyulyVGC
Copy link
Owner

GyulyVGC commented Feb 27, 2024

Hi @pooh2pooh do you confirm you installed the app with pacman -S sniffnet?

Anyway, I suspect that this is related to the GUI library used by Sniffnet.
Try setting an environment variable ICED_BACKEND=tiny-skia and try again; this tells the app to use an alternative graphical renderer (tiny-skia instead of wgpu).

@GyulyVGC GyulyVGC added bug Something isn't working Linux Something related to Linux operating system labels Feb 27, 2024
@pooh2pooh
Copy link
Author

ICED_BACKEND=tiny-skia

yes, pacman -S sniffnet

anyway:

➜ ICED_BACKEND=tiny-skia sniffnet

  /---------------------------------------------------------\
 |     _____           _    __    __                  _      |
 |    / ____|         (_)  / _|  / _|                | |     |
 |   | (___    _ __    _  | |_  | |_   _ __     ___  | |_    |
 |    \___ \  | '_ \  | | |  _| |  _| | '_ \   / _ \ | __|   |
 |    ____) | | | | | | | | |   | |   | | | | |  __/ | |_    |
 |   |_____/  |_| |_| |_| |_|   |_|   |_| |_|  \___|  \__|   |
 |                                                           |
 |                   ___________                             |
 |                  /___________\                            |
 |                 | ___________ |                           |
 |                 | |         | |                           |
 |                 | | v1.2.2  | |                           |
 |                 | |_________| |________________________   |
 |                 \_____________/   by Giuliano Bellini  )  |
 |                 / ''''''''''' \                       /   |
 |                / ::::::::::::: \                  =D-'    |
 |               (_________________)                         |
  \_________________________________________________________/
interface 'wl_surface' has no event 2
warning: queue 0x7f7440000ca0 destroyed while proxies still attached:
  zwp_primary_selection_offer_v1@4278190081 still attached
  wl_data_offer@4278190080 still attached
  zwp_primary_selection_device_v1@37 still attached
  zwp_primary_selection_device_manager_v1@33 still attached
  wl_data_device@36 still attached
  wl_seat@35 still attached
  wl_data_device_manager@34 still attached
  wl_registry@32 still attached
warning: queue 0x55d3fffa3940 destroyed while proxies still attached:
  xdg_wm_base@23 still attached
  wl_output@15 still attached
  wl_seat@14 still attached
  xdg_activation_v1@13 still attached
  wp_fractional_scale_manager_v1@12 still attached
  wp_viewporter@11 still attached
  zwp_text_input_manager_v3@10 still attached
  zwp_pointer_constraints_v1@9 still attached
  zwp_relative_pointer_manager_v1@8 still attached
  zxdg_decoration_manager_v1@7 still attached
  wl_subcompositor@6 still attached
  wl_compositor@5 still attached
  wl_shm@4 still attached
  wl_registry@2 still attached
    %                           

@GyulyVGC
Copy link
Owner

After some investigation I've found out that this problem is probably due to version of winit older than 0.28.7 (source).

This means that for this problem to be solved it's necessary to wait until a new Sniffnet release using the most recent version of Iced will be published (this should happen in about one month or so).

Alternatively, you can build Sniffnet from the main branch with cargo (main depends on winit 0.28.7, while Sniffnet 1.2.2 depends on winit 0.28.6).

@kohane27
Copy link

I have the exact same issue and I can confirmed that cargo install sniffnet solved it. Thank you! Have a good day! <3

@GyulyVGC
Copy link
Owner

Fantastic! Thank you @kohane27 for the confirmation 🎉

Given the circumstances, I'm adding this issue to the v1.3.0 milestone (it'll be considered fixed once the next Sniffnet version will be released).

@GyulyVGC GyulyVGC added this to the v1.3.0 milestone Mar 12, 2024
@GyulyVGC GyulyVGC linked a pull request Apr 5, 2024 that will close this issue
@Cthulu201
Copy link

Cthulu201 commented Apr 5, 2024

I use Arch and I can't replicate this issue. Is there a coredumpctl file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Linux Something related to Linux operating system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants