Skip to content

_VectorGraphicWidgetState._loadPicture.<fn> FlutterError - OS Error: Bad file descriptor, errno = 9 #174199

@abdalazeezalyosfi

Description

@abdalazeezalyosfi

What package does this bug report belong to?

vector_graphics

What target platforms are you seeing this bug on?

iOS

Have you already upgraded your packages?

Yes

Dependency versions

No response

Steps to reproduce

should not throw exception

Expected results

work without exception

Actual results

          Fatal Exception: FlutterError
0  ???                            0x0 _HttpClient._openUrl.<fn> (dart:_http)
1  ???                            0x0 IOClient.send + 117 (io_client.dart:117)
2  ???                            0x0 BaseClient._sendUnstreamed + 93 (base_client.dart:93)
3  ???                            0x0 SvgNetworkLoader.prepareMessage + 442 (loaders.dart:442)
4  ???                            0x0 SvgLoader._load.<fn> + 153 (loaders.dart:153)
5  ???                            0x0 _VectorGraphicWidgetState._loadPicture.<fn> + 362 (vector_graphics.dart:362)
6  ???                            0x0 _VectorGraphicWidgetState._loadPicture.<fn> + 370 (vector_graphics.dart:370)
7  ???                            0x0 _VectorGraphicWidgetState._loadAssetBytes + 409 (vector_graphics.dart:409)

Code sample

Code sample
[Paste your code here]

Screenshots or Videos

Screenshots / Video demonstration Image Image Image Image

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[!] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.26100.4946], locale en-US)
    ! Warning: `flutter` on your path resolves to C:\Users\Ab-Aziz\fvm\versions\3.35.1\bin\flutter, which is not inside your current Flutter SDK checkout at
      C:\Users\Ab-Aziz\fvm\default. Consider adding C:\Users\Ab-Aziz\fvm\default\bin to the front of your path.
    ! Warning: `dart` on your path resolves to C:\Users\Ab-Aziz\fvm\versions\3.35.1\bin\dart, which is not inside your current Flutter SDK checkout at
      C:\Users\Ab-Aziz\fvm\default. Consider adding C:\Users\Ab-Aziz\fvm\default\bin to the front of your path.
[√] Windows Version (11 Pro 64-bit, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc1)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.3)
[√] VS Code (version 1.99.3)
[√] Connected device (4 available)
[√] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions