Bug 30839

Summary: nanovna-saver-0.5.1 crashes and dumps core randomly
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Barry Jackson <zen25000>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal Keywords: UPSTREAM
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/NanoVNA-Saver/nanovna-saver/issues/541
Whiteboard:
Source RPM: nanovna-saver-0.5.1-1.mga9.src.rpm CVE:
Status comment: Reported upstream

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