spesmilo / spesmilo/electrum

RuntimeError: wrapped C/C++ object of type NodesListWidget has been deleted

Open
#8,929 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "/tmp/.mount_electr4Xigd6/usr/lib/python3.10/site-packages/electrum/gui/qt/util.py", line 1429, in on_qt_callback_signal
    return func(self, *args[1:])
  File "/tmp/.mount_electr4Xigd6/usr/lib/python3.10/site-packages/electrum/gui/qt/network_dialog.py", line 640, in on_event_network_updated
    self.nodes_list_widget.update()
  File "/tmp/.mount_electr4Xigd6/usr/lib/python3.10/site-packages/electrum/gui/qt/network_dialog.py", line 212, in update
    self.addTopLevelItem(connected_servers_item)
RuntimeError: wrapped C/C++ object of type NodesListWidget has been deleted

RuntimeError: wrapped C/C++ object of type NodesListWidget has been deleted

Reporter

This issue was reported by 80 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.3 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.7.6-arch1-2-x86_64-with-glibc2.39 en_US
4.5.2 3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801] Linux-6.8.3-1-MANJARO-x86_64-with-glibc2.39 standard el_GR
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 en_IN
4.5.4 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 standard en_US
4.5.5 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] Linux-6.8.0-35-generic-x86_64-with-glibc2.39 pt_BR
4.5.4 3.11.9 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0] Linux-5.15.0-113-generic-x86_64-with-glibc2.38 en_US
4.5.4 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-35-generic-x86_64-with-glibc2.39 en_US
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 it_IT
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 it_IT
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 pt_BR
4.5.5 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.15.0-117-generic-x86_64-with-glibc2.35 standard fr_FR
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 en_US
4.5.5 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.15.0-119-generic-x86_64-with-glibc2.35 standard en_US
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 de_DE
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit ?
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 en_US
4.5.4 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805] Linux-6.10.10-arch1-1-x86_64-with-glibc2.40 en_US
4.5.4 3.12.5 (main, Aug 9 2024, 08:20:41) [GCC 14.2.1 20240805] Linux-6.9.12-3-MANJARO-x86_64-with-glibc2.40 ru_RU
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 zh_CN
4.5.4 3.11.9 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0] Linux-6.8.0-45-generic-x86_64-with-glibc2.38 pt_BR
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26120-SP0 de_DE
4.5.6 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 es_MX
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-12.7.3-x86_64-i386-64bit ?
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-48-generic-x86_64-with-glibc2.39 en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 zh_CN
4.5.5 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.15.0-23-generic-x86_64-with-glibc2.35 en_US
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.2-x86_64-i386-64bit ?
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 de_CH
4.5.8 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] Linux-6.6.66-Unraid-x86_64-with-glibc2.36 en_US
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.1.1-x86_64-i386-64bit ?
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.20348-SP0 en_GB
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 pt_BR
4.5.8 3.12.8 (main, Nov 10 2011, 15:00:00) [GCC 14.2.0] Linux-6.9.3-76060903-generic-x86_64-with-glibc2.40 C
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.11.2-amd64-x86_64-with-glibc2.40 standard en_GB
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.13.8-arch1-1-x86_64-with-glibc2.41 en_US
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-57-generic-x86_64-with-glibc2.35 it_IT
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.4-x86_64-i386-64bit ?
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-58-generic-x86_64-with-glibc2.39 en_GB
4.5.8 3.13.3 (main, Apr 9 2025, 07:44:25) [GCC 14.2.1 20250207] Linux-6.12.26-1-lts-x86_64-with-glibc2.41 en_US
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-51-generic-x86_64-with-glibc2.39 de_DE
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.5-x86_64-i386-64bit ?
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.6-x86_64-i386-64bit ?
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.12.25-1.qubes.fc37.x86_64-x86_64-with-glibc2.36 en_US
4.5.8 3.13.5 (main, Jun 21 2025, 09:35:00) [GCC 15.1.1 20250425] Linux-6.12.37-1-MANJARO-x86_64-with-glibc2.41 standard en_US
4.6.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Russi
4.6.0 3.12.11 (main, Jun 28 2018, 19:01:02) [GCC 10.2.1 20210110] Linux-6.14.0-27-generic-x86_64-with-glibc2.39 en_US
4.6.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 Engli
4.6.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Engli
4.6.1 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.5-x86_64-i386-64bit ?
4.6.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Russi
4.6.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 de_DE
4.6.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Engli
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Russi
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 es_ES
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 de_DE
4.6.2 3.13.7 (main, Aug 15 2025, 12:34:02) [GCC 15.2.1 20250813] Linux-6.17.7-arch1-1-x86_64-with-glibc2.42 en_US
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.3.1-x86_64-i386-64bit ?
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-2019Server-10.0.17763-SP0 Engli
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Itali
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Engli
4.7.0 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] Linux-6.12.62+rpt-rpi-v7-armv7l-with-glibc2.36 de_DE
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Engli
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Engli
4.7.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Russi
4.5.8 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] Linux-6.12.74+deb13+1-amd64-x86_64-with-glibc2.41 es_ES
4.7.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 2fa Engli
4.7.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Engli
4.7.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-26.3-x86_64-i386-64bit ?
4.7.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.7.8-x86_64-i386-64bit ?
4.7.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.28000-SP0 Germa
4.8.0 3.12.3 (main, Jun 19 2026, 12:46:00) [GCC 13.3.0] Linux-6.17.0-35-generic-x86_64-with-glibc2.39 ru_RU
4.8.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 pt_BR
4.8.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Japan
4.8.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Engli
4.8.0 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.7.7-x86_64-i386-64bit ?
4.8.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Japan
4.8.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Engli
4.8.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.17763-SP0 Russi
4.8.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Engli

Additional Information

avviato la prima volta, selezionato "configure network", poi "select server automatically" e poi fatto "avanti"


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 with electrum/gui/qt/network_dialog.py, especially NodesListWidget.update and the on_event_network_updated callback shown in the traceback. Trace the widget lifecycle and network-update callbacks, then reproduce the reported scenario if possible. Done means network updates no longer raise RuntimeError after the widget has been deleted.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.