Crash (0xc0000005) in victory-image after repeated GPU buffer allocation failures (E_OUTOFMEMORY) #297

Open
opened 2026-12-01 11:05:41 +00:00 by github-bot · 0 comments
Owner

@⁠richky0 on GitHub · 2026-12-01 11:00 UTC · original

Title: Crash (0xc0000005) in victory-image after repeated GPU buffer allocation failures (E_OUTOFMEMORY 0x8007000E)

Summary

GPU buffer allocations in victory_gpu::host fail repeatedly with 0x8007000E (E_OUTOFMEMORY). The allocation failures appear to be inadequately handled, potentially allowing subsequent code in victory-image to use an invalid or null pointer, resulting in a 0xc0000005 access violation.

The crash occurs immediately after hundreds of repeated GPU buffer allocation failures within approximately four seconds.

The most likely issue is an allocation failure handling problem, potentially combined with excessive buffer allocation, insufficient available GPU/system memory, or unreleased buffers.

The exact underlying memory exhaustion source (dedicated VRAM, shared GPU memory, or system commit memory) has not yet been confirmed.

Environment

  • Date of log: 2026-12-01, 10:48:03 - 10:48:07
  • OS: Windows 11 64-bit
  • Windows build (run winver):
  • Laptop: ASUS TUF Gaming F15 FX507VV
  • CPU: Intel Core i7-13620H (10 cores / 16 threads)
  • GPU: NVIDIA GeForce RTX 4060 Laptop GPU
  • Dedicated VRAM: 8 GB GDDR6
  • NVIDIA driver version (NVIDIA app or nvidia-smi):
  • Integrated GPU (Intel UHD) also present: yes (hybrid graphics) / GPU mode (Ultimate / Standard / Eco):
  • System RAM: 16 GB DDR5
  • Pagefile: <system managed / custom size: fill in>
  • Storage: SSD (free space on game drive: )
  • Power mode / plugged in or on battery:
  • Compatibility layer: Foxhound, version
  • Game: GTA VI Xbox v1.0.2.1
  • Crashing module: victory-image-b99f876b74d4a77f.dll
  • GPU allocation error: E_OUTOFMEMORY (0x8007000E)
  • Process crash: Access violation (0xc0000005)

Game / Graphics Settings

  • Resolution and display mode:
  • Texture quality / VRAM-related settings:
  • Frame Generation: <on / off>
  • Upscaler (DLSS / FSR / none):
  • Ray tracing: <on / off>
  • Other background apps using GPU memory (browser, overlay, recording software):

Steps to Reproduce

  1. Launch the game through Foxhound.
  2. <What you did before the crash: loading a save, entering an area, opening a menu, etc.>
  3. Play / wait until the crash occurs.
  4. Time from launch to crash:

Frequency: <always / sometimes (x out of y attempts) / once>
First seen on: <game version / Foxhound version / driver version>
Worked correctly on a previous version: <yes (which) / no / unknown>

Observed Behavior

  1. Multiple WARN messages from victory_gpu::host report GPU buffer allocation failures with the following error:

    Not enough memory resources are available to complete this operation. (0x8007000E)

  2. The failed allocations include:

    • no shared buffer (size 4194304 and 8388608)
    • no upload buffer (size 4194304 and 262144)
    • no write-back upload buffer (size 4194304 and 262144)
    • no read-back buffer (size 262144, 359936, 65536, 32768, 524288)
  3. The failed allocation sizes range from 32 KB to 8 MB. This suggests that the problem may involve insufficient available memory or allocation fragmentation rather than a single unusually large allocation request.

  4. Hundreds of allocation failures occur within approximately four seconds, with repeated failures roughly 0.3 ms apart.

  5. Immediately after the final read-back buffer allocation failures at approximately 10:48:07.897-10:48:07.899, the process crashes.

Crash report:

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
  rax 0x0 rbx 0x0 rcx 0x90024c348 rdx 0x1 rsi 0x9ed06ffce8 rdi 0xa74341f6f rsp 0x9ed06ffc70 rbp 0x0
  r8 0x9072a0c40 r9 0x9072a0e20 r10 0x9072a0ad8 r11 0x9072a0c40 r12 0x86d598ed0 r13 0x7ffbb15b5c28 r14 0x7ffc878fb220 r15 0xa627a9311
  #0  victory-image-b99f876b74d4a77f.dll+0x23cf683
  #1  victory-image-b99f876b74d4a77f.dll+0x2215c35
  #2  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #3  KERNEL32.DLL+0x2dda7
  #4  ntdll.dll+0xc9c5c

Memory Usage at Time of Crash

Please fill in if known (Task Manager > Performance, or HWiNFO / GPU-Z log):

  • Dedicated GPU memory used: / 8 GB
  • Shared GPU memory used:
  • RAM in use: / 16 GB
  • Committed memory (Task Manager > Memory > Committed):
  • Memory usage trend before the crash (stable / rising continuously):

Analysis

  1. The exception code 0xc0000005 indicates an access violation.

  2. The crash report identifies a write operation targeting address 0x0, which is consistent with an attempt to write through a null or invalid pointer.

  3. The crash immediately follows repeated read-back buffer allocation failures. This suggests that a failed allocation result may not be properly checked before the allocated resource is used.

  4. The failure pattern may indicate that the application continues submitting buffer allocation requests despite repeated E_OUTOFMEMORY errors, without sufficient backoff, resource reclamation, or request limiting.

  5. The laptop has 8 GB of dedicated VRAM and 16 GB of system RAM. Both are potential memory constraints when running this workload.

  6. However, E_OUTOFMEMORY alone does not establish that dedicated VRAM is completely exhausted. The failure could also involve shared GPU memory, system memory, system commit limits, driver allocation constraints, or resource fragmentation.

  7. The available log does not conclusively establish a memory leak. Buffer lifetime management and deferred resource release should be investigated.

  8. The crash occurs in a worker thread inside victory-image, suggesting that asynchronous image or buffer processing may be involved.

Suspected Root Cause

The leading hypothesis is insufficient available memory during repeated GPU buffer allocation, followed by inadequate error handling in the image-processing pipeline.

A possible failure sequence is:

  1. victory_gpu::host attempts to allocate a GPU buffer.
  2. The allocation fails with E_OUTOFMEMORY.
  3. The failure is not propagated or handled correctly.
  4. A subsequent operation receives an invalid or null buffer reference.
  5. victory-image attempts to write to the invalid memory address.
  6. The process crashes with 0xc0000005.

This sequence is consistent with the observed logs but requires source-level debugging or additional instrumentation to confirm.

Suggested Fixes

  1. [Critical] victory-image: Check the result of every GPU buffer allocation before accessing or writing to the buffer. Abort the operation safely if allocation fails.

  2. [Critical] victory_gpu::host: Return Result or Option from buffer allocation functions instead of exposing potentially null pointers without explicit error handling.

  3. [Critical] victory-image: Ensure that allocation failures are propagated through the entire image-processing pipeline and cannot result in invalid memory access.

  4. [High] victory_gpu::host: Implement a reusable buffer pool for upload, write-back upload, shared, and read-back buffers. Reuse existing allocations when possible instead of repeatedly allocating new buffers.

  5. [High] Scheduler/worker: Limit the number of in-flight GPU operations and outstanding buffer allocations to prevent excessive concurrent memory consumption.

  6. [High] Scheduler/worker: Implement exponential backoff and a retry limit when buffer allocation fails. Avoid continuously retrying failed allocations at sub-millisecond intervals.

  7. [High] Resource management: Verify that GPU buffers are released after their associated GPU fences have completed and that no unnecessary references keep resources alive.

  8. [High] Resource management: Investigate possible buffer leaks, especially in asynchronous image-processing and read-back operations.

  9. [Medium] Memory monitoring: Monitor dedicated GPU memory and shared GPU memory using IDXGIAdapter3::QueryVideoMemoryInfo.

  10. [Medium] System memory monitoring: Monitor physical RAM usage, system commit usage, and available pagefile capacity to distinguish VRAM exhaustion from system memory exhaustion.

  11. [Medium] Allocation recovery: When E_OUTOFMEMORY occurs, attempt to release completed deferred resources and retry a limited number of times. If allocation still fails, return a recoverable error.

  12. [Medium] Fallback handling: Where technically feasible, abort the current image-processing operation or use a CPU fallback rather than allowing an invalid GPU buffer to be accessed.

  13. [Low] Logging: Rate-limit repeated allocation warning messages and provide summarized failure counts grouped by buffer type and allocation size.

Example Implementation (Rust)

fn alloc_staging(&self, size: u64) -> Result<Buffer, GpuError> {
    if let Some(buf) = self.pool.take(size) {
        return Ok(buf);
    }

    match self.device.create_buffer(size) {
        Ok(buffer) => Ok(buffer),

        Err(e) if e.code() == E_OUTOFMEMORY => {
            self.flush_deferred_releases();

            self.device
                .create_buffer(size)
                .map_err(|_| GpuError::OutOfMemory)
        }

        Err(e) => Err(e.into()),
    }
}

Example usage:

let buf = match host.alloc_staging(len) {
    Ok(buffer) => buffer,

    Err(GpuError::OutOfMemory) => {
        return process_on_cpu(img);
    }

    Err(error) => {
        return Err(error);
    }
};

Note: The example is illustrative. Actual implementation must follow the project's buffer ownership, synchronization, GPU fence, and resource lifetime requirements. CPU fallback should only be used where the operation supports an equivalent CPU implementation.

Verification and Testing

  1. Reproduce the issue under controlled memory pressure and record the GPU and system memory usage immediately before and during allocation failures.

  2. Record dedicated VRAM usage, shared GPU memory usage, physical RAM usage, system commit usage, and pagefile usage at the time of failure.

  3. Confirm whether buffer allocation failures are propagated correctly and whether the image-processing operation terminates safely without accessing invalid pointers.

  4. Run a long-duration workload test and monitor whether dedicated VRAM, shared GPU memory, and system commit usage remain stable.

  5. Confirm that completed GPU resources are released after their fences signal completion.

  6. Confirm that repeated E_OUTOFMEMORY warnings no longer trigger an uncontrolled allocation retry loop.

  7. Verify that the application reports a recoverable error or uses a supported CPU fallback instead of crashing.

  8. If a PDB file is available, map the faulting instruction at victory-image-b99f876b74d4a77f.dll+0x23cf683 to its corresponding source code line.

  9. Compare the behavior with Frame Generation disabled and enabled to determine whether the additional GPU memory requirements contribute to the failure.

  10. Repeat the test with different texture-loading settings and VRAM limits to determine whether memory pressure correlates with the failure.

Workarounds Tried

  • Lower texture quality / resolution: <tried, result>
  • Frame Generation off: <tried, result>
  • Closing background apps: <tried, result>
  • Increasing pagefile size: <tried, result>
  • Forcing the NVIDIA GPU only (disabling hybrid mode): <tried, result>
  • Clean driver reinstall: <tried, result>

Additional Information Requested from Developers

  • Does victory_gpu::host guarantee that failed buffer allocations never return usable buffer handles?
  • Are read-back buffers allocated for every image-processing operation or reused?
  • Is there a buffer pool or resource reuse mechanism?
  • Are deferred GPU resource releases synchronized with completed fences?
  • Can image-processing workers continue after an allocation failure?
  • Is there a supported CPU fallback for image-processing operations?
  • Does Foxhound impose limits on concurrent image-processing operations?
  • Are there known memory leaks or allocation issues in victory-image?
  • Is there a setting or environment variable to cap buffer memory or enable verbose allocation logging?

Expected Behavior

When a GPU buffer allocation fails, the application should handle the error safely.

The operation should be aborted, retried within a controlled limit after resource reclamation, or redirected to a supported CPU fallback.

A failed GPU allocation must never result in an invalid pointer being dereferenced or written to.

The application should remain stable and report a meaningful memory allocation error rather than crashing with an access violation.

Actual Behavior

The process crashes with an unhandled access violation (0xc0000005) after hundreds of E_OUTOFMEMORY allocation warnings.

Attachments

  • Full log file (unedited, from launch to crash):
  • Crash dump (.dmp), if generated:
  • Screenshot of Task Manager (GPU and Memory tabs) before the crash:
  • dxdiag report (dxdiag > Save All Information):

Conclusion

The logs show a strong temporal relationship between repeated GPU buffer allocation failures (E_OUTOFMEMORY) and the subsequent access violation (0xc0000005) in victory-image.

The leading concern is inadequate handling of GPU buffer allocation failures, potentially aggravated by memory pressure on a system with 8 GB of dedicated VRAM and 16 GB of system RAM.

The issue should be investigated at both the GPU resource allocation layer (victory_gpu::host) and the image-processing layer (victory-image).

The priority should be to prevent invalid memory access after allocation failures, control repeated allocation attempts, and improve buffer reuse and resource lifetime management.

**@⁠richky0** on GitHub · 2026-12-01 11:00 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/297) Title: Crash (0xc0000005) in victory-image after repeated GPU buffer allocation failures (E_OUTOFMEMORY 0x8007000E) ## Summary GPU buffer allocations in `victory_gpu::host` fail repeatedly with `0x8007000E` (E_OUTOFMEMORY). The allocation failures appear to be inadequately handled, potentially allowing subsequent code in `victory-image` to use an invalid or null pointer, resulting in a `0xc0000005` access violation. The crash occurs immediately after hundreds of repeated GPU buffer allocation failures within approximately four seconds. The most likely issue is an allocation failure handling problem, potentially combined with excessive buffer allocation, insufficient available GPU/system memory, or unreleased buffers. The exact underlying memory exhaustion source (dedicated VRAM, shared GPU memory, or system commit memory) has not yet been confirmed. ## Environment - Date of log: 2026-12-01, 10:48:03 - 10:48:07 - OS: Windows 11 64-bit - Windows build (run `winver`): <fill in> - Laptop: ASUS TUF Gaming F15 FX507VV - CPU: Intel Core i7-13620H (10 cores / 16 threads) - GPU: NVIDIA GeForce RTX 4060 Laptop GPU - Dedicated VRAM: 8 GB GDDR6 - NVIDIA driver version (NVIDIA app or `nvidia-smi`): <fill in> - Integrated GPU (Intel UHD) also present: yes (hybrid graphics) / GPU mode (Ultimate / Standard / Eco): <fill in> - System RAM: 16 GB DDR5 - Pagefile: <system managed / custom size: fill in> - Storage: SSD (free space on game drive: <fill in>) - Power mode / plugged in or on battery: <fill in> - Compatibility layer: Foxhound, version <fill in> - Game: GTA VI Xbox v1.0.2.1 - Crashing module: victory-image-b99f876b74d4a77f.dll - GPU allocation error: E_OUTOFMEMORY (0x8007000E) - Process crash: Access violation (0xc0000005) ## Game / Graphics Settings - Resolution and display mode: <fill in> - Texture quality / VRAM-related settings: <fill in> - Frame Generation: <on / off> - Upscaler (DLSS / FSR / none): <fill in> - Ray tracing: <on / off> - Other background apps using GPU memory (browser, overlay, recording software): <fill in> ## Steps to Reproduce 1. Launch the game through Foxhound. 2. <What you did before the crash: loading a save, entering an area, opening a menu, etc.> 3. Play / wait until the crash occurs. 4. Time from launch to crash: <fill in> Frequency: <always / sometimes (x out of y attempts) / once> First seen on: <game version / Foxhound version / driver version> Worked correctly on a previous version: <yes (which) / no / unknown> ## Observed Behavior 1. Multiple WARN messages from `victory_gpu::host` report GPU buffer allocation failures with the following error: Not enough memory resources are available to complete this operation. (0x8007000E) 2. The failed allocations include: - no shared buffer (size 4194304 and 8388608) - no upload buffer (size 4194304 and 262144) - no write-back upload buffer (size 4194304 and 262144) - no read-back buffer (size 262144, 359936, 65536, 32768, 524288) 3. The failed allocation sizes range from 32 KB to 8 MB. This suggests that the problem may involve insufficient available memory or allocation fragmentation rather than a single unusually large allocation request. 4. Hundreds of allocation failures occur within approximately four seconds, with repeated failures roughly 0.3 ms apart. 5. Immediately after the final read-back buffer allocation failures at approximately 10:48:07.897-10:48:07.899, the process crashes. Crash report: ``` VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) rax 0x0 rbx 0x0 rcx 0x90024c348 rdx 0x1 rsi 0x9ed06ffce8 rdi 0xa74341f6f rsp 0x9ed06ffc70 rbp 0x0 r8 0x9072a0c40 r9 0x9072a0e20 r10 0x9072a0ad8 r11 0x9072a0c40 r12 0x86d598ed0 r13 0x7ffbb15b5c28 r14 0x7ffc878fb220 r15 0xa627a9311 #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 KERNEL32.DLL+0x2dda7 #4 ntdll.dll+0xc9c5c ``` ## Memory Usage at Time of Crash Please fill in if known (Task Manager > Performance, or HWiNFO / GPU-Z log): - Dedicated GPU memory used: <fill in> / 8 GB - Shared GPU memory used: <fill in> - RAM in use: <fill in> / 16 GB - Committed memory (Task Manager > Memory > Committed): <fill in> - Memory usage trend before the crash (stable / rising continuously): <fill in> ## Analysis 1. The exception code 0xc0000005 indicates an access violation. 2. The crash report identifies a write operation targeting address 0x0, which is consistent with an attempt to write through a null or invalid pointer. 3. The crash immediately follows repeated read-back buffer allocation failures. This suggests that a failed allocation result may not be properly checked before the allocated resource is used. 4. The failure pattern may indicate that the application continues submitting buffer allocation requests despite repeated E_OUTOFMEMORY errors, without sufficient backoff, resource reclamation, or request limiting. 5. The laptop has 8 GB of dedicated VRAM and 16 GB of system RAM. Both are potential memory constraints when running this workload. 6. However, E_OUTOFMEMORY alone does not establish that dedicated VRAM is completely exhausted. The failure could also involve shared GPU memory, system memory, system commit limits, driver allocation constraints, or resource fragmentation. 7. The available log does not conclusively establish a memory leak. Buffer lifetime management and deferred resource release should be investigated. 8. The crash occurs in a worker thread inside victory-image, suggesting that asynchronous image or buffer processing may be involved. ## Suspected Root Cause The leading hypothesis is insufficient available memory during repeated GPU buffer allocation, followed by inadequate error handling in the image-processing pipeline. A possible failure sequence is: 1. victory_gpu::host attempts to allocate a GPU buffer. 2. The allocation fails with E_OUTOFMEMORY. 3. The failure is not propagated or handled correctly. 4. A subsequent operation receives an invalid or null buffer reference. 5. victory-image attempts to write to the invalid memory address. 6. The process crashes with 0xc0000005. This sequence is consistent with the observed logs but requires source-level debugging or additional instrumentation to confirm. ## Suggested Fixes 1. [Critical] victory-image: Check the result of every GPU buffer allocation before accessing or writing to the buffer. Abort the operation safely if allocation fails. 2. [Critical] victory_gpu::host: Return Result or Option from buffer allocation functions instead of exposing potentially null pointers without explicit error handling. 3. [Critical] victory-image: Ensure that allocation failures are propagated through the entire image-processing pipeline and cannot result in invalid memory access. 4. [High] victory_gpu::host: Implement a reusable buffer pool for upload, write-back upload, shared, and read-back buffers. Reuse existing allocations when possible instead of repeatedly allocating new buffers. 5. [High] Scheduler/worker: Limit the number of in-flight GPU operations and outstanding buffer allocations to prevent excessive concurrent memory consumption. 6. [High] Scheduler/worker: Implement exponential backoff and a retry limit when buffer allocation fails. Avoid continuously retrying failed allocations at sub-millisecond intervals. 7. [High] Resource management: Verify that GPU buffers are released after their associated GPU fences have completed and that no unnecessary references keep resources alive. 8. [High] Resource management: Investigate possible buffer leaks, especially in asynchronous image-processing and read-back operations. 9. [Medium] Memory monitoring: Monitor dedicated GPU memory and shared GPU memory using IDXGIAdapter3::QueryVideoMemoryInfo. 10. [Medium] System memory monitoring: Monitor physical RAM usage, system commit usage, and available pagefile capacity to distinguish VRAM exhaustion from system memory exhaustion. 11. [Medium] Allocation recovery: When E_OUTOFMEMORY occurs, attempt to release completed deferred resources and retry a limited number of times. If allocation still fails, return a recoverable error. 12. [Medium] Fallback handling: Where technically feasible, abort the current image-processing operation or use a CPU fallback rather than allowing an invalid GPU buffer to be accessed. 13. [Low] Logging: Rate-limit repeated allocation warning messages and provide summarized failure counts grouped by buffer type and allocation size. ## Example Implementation (Rust) ```rust fn alloc_staging(&self, size: u64) -> Result<Buffer, GpuError> { if let Some(buf) = self.pool.take(size) { return Ok(buf); } match self.device.create_buffer(size) { Ok(buffer) => Ok(buffer), Err(e) if e.code() == E_OUTOFMEMORY => { self.flush_deferred_releases(); self.device .create_buffer(size) .map_err(|_| GpuError::OutOfMemory) } Err(e) => Err(e.into()), } } ``` Example usage: ```rust let buf = match host.alloc_staging(len) { Ok(buffer) => buffer, Err(GpuError::OutOfMemory) => { return process_on_cpu(img); } Err(error) => { return Err(error); } }; ``` Note: The example is illustrative. Actual implementation must follow the project's buffer ownership, synchronization, GPU fence, and resource lifetime requirements. CPU fallback should only be used where the operation supports an equivalent CPU implementation. ## Verification and Testing 1. Reproduce the issue under controlled memory pressure and record the GPU and system memory usage immediately before and during allocation failures. 2. Record dedicated VRAM usage, shared GPU memory usage, physical RAM usage, system commit usage, and pagefile usage at the time of failure. 3. Confirm whether buffer allocation failures are propagated correctly and whether the image-processing operation terminates safely without accessing invalid pointers. 4. Run a long-duration workload test and monitor whether dedicated VRAM, shared GPU memory, and system commit usage remain stable. 5. Confirm that completed GPU resources are released after their fences signal completion. 6. Confirm that repeated E_OUTOFMEMORY warnings no longer trigger an uncontrolled allocation retry loop. 7. Verify that the application reports a recoverable error or uses a supported CPU fallback instead of crashing. 8. If a PDB file is available, map the faulting instruction at victory-image-b99f876b74d4a77f.dll+0x23cf683 to its corresponding source code line. 9. Compare the behavior with Frame Generation disabled and enabled to determine whether the additional GPU memory requirements contribute to the failure. 10. Repeat the test with different texture-loading settings and VRAM limits to determine whether memory pressure correlates with the failure. ## Workarounds Tried - Lower texture quality / resolution: <tried, result> - Frame Generation off: <tried, result> - Closing background apps: <tried, result> - Increasing pagefile size: <tried, result> - Forcing the NVIDIA GPU only (disabling hybrid mode): <tried, result> - Clean driver reinstall: <tried, result> ## Additional Information Requested from Developers - Does victory_gpu::host guarantee that failed buffer allocations never return usable buffer handles? - Are read-back buffers allocated for every image-processing operation or reused? - Is there a buffer pool or resource reuse mechanism? - Are deferred GPU resource releases synchronized with completed fences? - Can image-processing workers continue after an allocation failure? - Is there a supported CPU fallback for image-processing operations? - Does Foxhound impose limits on concurrent image-processing operations? - Are there known memory leaks or allocation issues in victory-image? - Is there a setting or environment variable to cap buffer memory or enable verbose allocation logging? ## Expected Behavior When a GPU buffer allocation fails, the application should handle the error safely. The operation should be aborted, retried within a controlled limit after resource reclamation, or redirected to a supported CPU fallback. A failed GPU allocation must never result in an invalid pointer being dereferenced or written to. The application should remain stable and report a meaningful memory allocation error rather than crashing with an access violation. ## Actual Behavior The process crashes with an unhandled access violation (0xc0000005) after hundreds of E_OUTOFMEMORY allocation warnings. ## Attachments - Full log file (unedited, from launch to crash): <attach> - Crash dump (.dmp), if generated: <attach> - Screenshot of Task Manager (GPU and Memory tabs) before the crash: <attach> - dxdiag report (dxdiag > Save All Information): <attach> ## Conclusion The logs show a strong temporal relationship between repeated GPU buffer allocation failures (E_OUTOFMEMORY) and the subsequent access violation (0xc0000005) in victory-image. The leading concern is inadequate handling of GPU buffer allocation failures, potentially aggravated by memory pressure on a system with 8 GB of dedicated VRAM and 16 GB of system RAM. The issue should be investigated at both the GPU resource allocation layer (victory_gpu::host) and the image-processing layer (victory-image). The priority should be to prevent invalid memory access after allocation failures, control repeated allocation attempts, and improve buffer reuse and resource lifetime management.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 11:05:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.