spesmilo / spesmilo/electrum

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

Open
#4,965 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hw-trezor user-interface 🔲
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

  File "/var/folders/h5/c_py27lx7kb8b1jrbvjz_w000000gp/T/_MEISb66cP/electrum/plugins/trezor/qt.py", line 150, in pin_dialog
    self.response = str(matrix.get_value())
  File "trezorlib/qt/pinmatrix.py", line 120, in get_value

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

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-18.2.0-x86_64-i386-64bit standard ?

Additional Information

The reporting user(s) did not provide additional information.

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/plugins/trezor/qt.py at pin_dialog line 150 and trezorlib/qt/pinmatrix.py at get_value line 120, then trace when the QLineEdit is destroyed. Reproduce the Trezor PIN-dialog crash if possible and identify the lifecycle condition that triggers it. Done means the reported deleted-QLineEdit RuntimeError no longer occurs during PIN entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.