circleguard / circlevis

A (Py)Qt widget for visualizing osu! beatmaps and replays
GNU Affero General Public License v3.0
7 stars 1 forks source link

Crash when using visualizer (sys.excepthook error) #9

Closed praeludiumOrbis closed 3 years ago

praeludiumOrbis commented 3 years ago
[ERROR] 2021/01/24 20:30:36.0143 sys.excepthook error
Type: <class 'IndexError'>
Value: index 5777 is out of bounds for axis 0 with size 5777
Traceback:   File "site-packages\circlevis\renderer.py", line 290, in paintEvent
  File "site-packages\circlevis\renderer.py", line 316, in paint_cursor

 (circleguard_gui, main.py:129)
NoneType: None

I think this happened on https://osu.ppy.sh/b/465524?m=0 but I'm not sure

It happened a couple of times before:

[ERROR] 2021/01/24 20:06:53.0869 sys.excepthook error
Type: <class 'IndexError'>
Value: index 4966 is out of bounds for axis 0 with size 4966
Traceback:   File "site-packages\circlevis\renderer.py", line 290, in paintEvent
  File "site-packages\circlevis\renderer.py", line 316, in paint_cursor

 (circleguard_gui, main.py:129)
NoneType: None
[ERROR] 2021/01/14 12:49:05.0093 sys.excepthook error
Type: <class 'IndexError'>
Value: index 4533 is out of bounds for axis 0 with size 4533
Traceback:   File "site-packages\circlevis\renderer.py", line 290, in paintEvent
  File "site-packages\circlevis\renderer.py", line 316, in paint_cursor

 (circleguard_gui, main.py:129)
NoneType: None
tybug commented 3 years ago

Not sure what's going on here. Can't reproduce (though I only tried for a few minutes) and there's no obvious cause from the logs. Would appreciate knowing what replay, where in the map, and on what settings (speed, rewinding or normal direction, raw view, num frames, etc) this happens if you catch it in the act again.

tybug commented 3 years ago

going to close this as a "I have no idea what the issue was and hopefully it's been fixed since". Will reopen if it happens again

theIglooo commented 2 years ago

may have reproduced this @tybug

Steps (and a video):

  1. Visualize these replays together (one, two)
  2. Pause and go to the beginning
  3. Press left arrow key twice

The log:

 Traceback (most recent call last):
  File "circlevis/renderer.py", line 415, in paintEvent
  File "circlevis/renderer.py", line 450, in paint_cursor
IndexError: index 14937 is out of bounds for axis 0 with size 14937
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
QPainter::begin: Painter already active
fish: Job 1, 'dist/circleguard' terminated by signal SIGSEGV (Address boundary error)
tybug commented 2 years ago

thanks for the repro case. This should be properly fixed now with 35835647939e729e277c0a34290a170ee3cd01fd