microsoft / microsoft/react-native-windows

Access violation writing location

Open
#12,555 3 comments 0 reactions 1 assignee View on GitHub

@JunielKatarn is already working on this.

Since Jan 11, 2024.

Area: Networking bug Workstream: Component Parity
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

We are seeing an issue in debug on larger fetch requests > 10mb (release is fine).

Issue was not present in prior version and also not present in android or ios.

Error being thrown is Access violation writing location at:
WinRTHttpResource.cpp Line 398

We had an issue a few years back that had a hard cap at 10mb however that doesn't seem the be the issue this time.

Steps To Reproduce

Create a new project, fetch a data packet greater than 10mb.

Expected Results

Fetch succeeds

CLI version

11.3.10

Environment
OS: Windows 11 10.0.22621
  CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13950HX
  Memory: 39.33 GB / 63.65 GB
Binaries:
  Node:
    version: 18.17.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.6.7
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.18362.0
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.4.34302.79 (Visual Studio Professional 2022)
Languages:
  Java:
    version: 11.0.18
    path: C:\Program Files\Microsoft\jdk-11.0.18.10-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.7
    wanted: 0.72.7
  react-native-windows:
    installed: 0.72.20
    wanted: 0.72.20
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
Target Platform Version

10.0.19041

Target Device(s)

Desktop

Visual Studio Version

Visual Studio 2022

Build Configuration

Debug

Snack, code example, screenshot, or link to a repository

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.