AcademySoftwareFoundation / AcademySoftwareFoundation/OpenRV

[Bug]: VFX2024 / Qt6: Window Resize Crash Regression after "Fit to First Media loaded"

Open
#1,063 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
764
Forks
246
Avg merge
6d 12h
Merged PRs (30d)
13

Description

### What happened?

RV crashing happening with latest `main` branch (HEAD=518553b12d4b6f7de67b7a648dd7aef611945b7d)

To reproduce:

1. Build OpenRV with Qt 6.5.3 and the rvcfg flag `-DRV_VFX_CY2024=1`
2. Make sure `RV > Preferences > Fit Window to First Media Loaded` is active
3. From command line open RV with: `rv colorchart,start=1,end=2,width=1920,height=804,fps=24.movieproc`
4. After image loads, attempt to resize RV window. RV will crash.
### List all the operating systems versions where this is happening

RHEL 9.6

### On what computer hardware is this happening?

HP Z8 G4 Workstation, NVIDIA RTX A6000, (40 procs) Intel Xeon Gold 6242R 3.1, 191590MB RAM

### Relevant console log output

```shell
Totalview shows the crash happening in RV::GLView::event at line 707:

return QOpenGLWidget::event(event);

See attached image for picture of totalview.
```

### Environment variables

_No response_

### Extra information

Image

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start at RV::GLView::event, identified at line 707, and reproduce the crash with the listed Qt 6.5.3 build, rvcfg flag, Preferences setting, and colorchart command. Resize the RHEL 9.6 window after the image loads and use the console or debugger evidence to verify that resizing no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.