WayfireWM / WayfireWM/wf-shell

Panel crashes due to unknown NetworkManager device(?)

Open
#495 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
179
Forks
55
Avg merge
16d 1h
Merged PRs (30d)
3

Description

Here are the errors I get, the panel simply crashes shortly after starting up:

NetworkManager Found
DeviceAdded for unknown device type : /org/freedesktop/NetworkManager/Devices/3 : type : 30

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_get_type: assertion 'value != NULL' failed

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_type_equal: assertion 'g_variant_type_check (type1)' failed

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_get_string: assertion 'value != NULL' failed

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_get_type: assertion 'value != NULL' failed

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed

(wf-panel:5936): GLib-CRITICAL **: 07:22:38.443: g_variant_get_boolean: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
Gdk-Message: 07:22:40.532: Error reading events from display: Resource temporarily unavailable

Note this is a temporary system state, might not be easily reproducible (at least, I don't know how to do that)

Contributor guide

No contributing guide indexed for this repository

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 examining the panel's NetworkManager DeviceAdded handling, using the reported device type 30 and GLib critical messages as clues. Reproduce the temporary system state if possible, then verify that an unknown device does not crash the panel and that the reported warnings no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.