godotengine / godotengine/godot

`Image::fill_rect` may lead to silent crash

Open
#116,144 4 comments 0 reactions 0 assignees View on GitHub
bug crash topic:core
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Reproducible 4.6 stable and before

### System information

Windows 11

### Issue description

I've detected that sometimes (rare) this method leads to Access Violation Exception when used through GDExtension...

Image

### Steps to reproduce

I need to prepare a test project, but for now, try to create and modify an Image using that method several thousand times in GDExtension.

### Minimal reproduction project (MRP)

Not now, maybe later...

Contributor guide

Open the contributing guide

Research direction

Start by preparing the promised minimal reproduction project and repeatedly calling Image::fill_rect through GDExtension on Windows 11. Investigate the access violation under the reported conditions; done means identifying and reproducing the cause, then confirming the crash no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.