Bug 30839 - nanovna-saver-0.5.1 crashes and dumps core randomly
Summary: nanovna-saver-0.5.1 crashes and dumps core randomly
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Barry Jackson
QA Contact:
URL: https://github.com/NanoVNA-Saver/nano...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-09-10 18:57 CEST by Barry Jackson
Modified: 2022-09-18 20:12 CEST (History)
0 users

See Also:
Source RPM: nanovna-saver-0.5.1-1.mga9.src.rpm
CVE:
Status comment: Reported upstream


Attachments

Description Barry Jackson 2022-09-10 18:57:22 CEST
Description of problem:
Random crashes ending with the same error message:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/NanoVNASaver/Charts/Square.py", line 51, in paintEvent
    self.drawValues(qp)
  File "/usr/lib/python3.10/site-packages/NanoVNASaver/Charts/Square.py", line 94, in drawValues
    self.drawMarker(x, y, qp, m.color, self.markers.index(m)+1)
  File "/usr/lib/python3.10/site-packages/NanoVNASaver/Charts/Chart.py", line 310, in drawMarker
    cmarker.draw(x, y, color, f"{number}")
  File "/usr/lib/python3.10/site-packages/NanoVNASaver/Charts/Chart.py", line 93, in draw
    self.qp.drawText(x - text_width // 2, y - 3 - offset, text)
TypeError: arguments did not match any overloaded call:
  drawText(self, Union[QPointF, QPoint], str): argument 1 has unexpected type 'int'
  drawText(self, QRectF, int, str): argument 1 has unexpected type 'int'
  drawText(self, QRect, int, str): argument 1 has unexpected type 'int'
  drawText(self, QRectF, str, option: QTextOption = QTextOption()): argument 1 has unexpected type 'int'
  drawText(self, QPoint, str): argument 1 has unexpected type 'int'
  drawText(self, int, int, int, int, int, str): argument 2 has unexpected type 'float'
  drawText(self, int, int, str): argument 2 has unexpected type 'float'
Aborted (core dumped)

Reported upstream at the 'URL'.
Barry Jackson 2022-09-10 18:59:06 CEST

Status comment: (none) => Reported upstream
QA Contact: (none) => zen25000
Keywords: (none) => UPSTREAM

Barry Jackson 2022-09-10 18:59:40 CEST

Assignee: bugsquad => zen25000

Barry Jackson 2022-09-10 18:59:54 CEST

QA Contact: zen25000 => (none)

Barry Jackson 2022-09-10 19:59:47 CEST

Summary: nanovna-saver crashes and dumps core randomly => nanovna-saver-5.0.1 crashes and dumps core randomly

Barry Jackson 2022-09-10 20:00:57 CEST

Summary: nanovna-saver-5.0.1 crashes and dumps core randomly => nanovna-saver-0.5.1 crashes and dumps core randomly

Comment 1 Barry Jackson 2022-09-18 20:12:25 CEST
Resolved upstream in version 0.5.3

Closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.