Skip to content

CosmicAppletNetwork shows disconnected after resume from suspend, exits with code 137 #1360

@robotechsi

Description

@robotechsi

Description

After resuming from suspend, the COSMIC network applet in the panel shows
"disconnected" and the WiFi network list appears empty, even though the
system is actually connected. The underlying WiFi connection is established
within ~5 seconds of resume, but the applet GUI does not reflect this.

Clicking on the WiFi icon forces an immediate refresh and shows the correct
connected state.

System Information

  • OS: Pop!_OS 24.04 LTS
  • Kernel: 6.18.7-76061807-generic
  • cosmic-panel: 0.1.0177101132724.04~6a783a1
  • cosmic-applets: 1.0.2177307386424.04~a91fc32
  • WiFi hardware: Intel Wi-Fi 6 AX101 (iwlwifi driver)

Steps to Reproduce

  1. System is connected to WiFi
  2. Suspend the system (systemctl suspend)
  3. Resume the system
  4. Observe the WiFi applet in the panel — shows disconnected / empty list

Expected Behavior

WiFi applet should show the connected network within a few seconds of resume.

Actual Behavior

Applet shows disconnected indefinitely until the user clicks the WiFi icon.

Logs

COSMIC panel — applet crash at 08:05:41 (code 137 = OOM killed)

All panel applets exited with code 137 simultaneously:

Mar 20 08:05:41 pop-os cosmic-panel[3145]: com.system76.CosmicAppletNetwork: exited with code 137
Mar 20 08:05:41 pop-os cosmic-panel[3145]: com.system76.CosmicPanelAppButton: exited with code 137
Mar 20 08:05:41 pop-os cosmic-panel[3145]: com.system76.CosmicAppletAudio: exited with code 137
Mar 20 08:05:41 pop-os cosmic-panel[3145]: com.system76.CosmicAppletBattery: exited with code 137
Mar 20 08:05:41 pop-os cosmic-panel[3145]: com.system76.CosmicAppletTime: exited with code 137
(+ 8 more applets, all code 137)

WiFi connection timeline after resume (20:45–20:47)

WiFi backend connects successfully in ~5 seconds, but applet does not update:

20:45:17 systemd-logind: The system will suspend now!
20:45:18 kernel: PM: suspend entry (s2idle)
20:46:22 kernel: PM: suspend exit  ← resume
20:46:22 NetworkManager: sleep: wake requested
20:46:26 NetworkManager: Activation: starting connection 'T-2_7bbc91'
20:46:26 wpa_supplicant: CTRL-EVENT-CONNECTED
20:46:27 NetworkManager: NetworkManager state is now CONNECTED_GLOBAL ✓

WiFi is fully connected at 20:46:27 (5 seconds after resume), but the
applet continues to show disconnected state in the GUI.

Workaround

Clicking the WiFi icon in the panel immediately refreshes the applet and
shows the correct connected state.

A pkill -f CosmicAppletNetwork after resume forces the panel to restart
the applet and it then shows the correct state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions