Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentry plugin cause app crashes in windows with special characters in hostname #1953

Open
Prathiv7 opened this issue Mar 27, 2024 · 1 comment

Comments

@Prathiv7
Copy link

Prathiv7 commented Mar 27, 2024

Platform

Flutter Desktop

Obfuscation

Enabled

Debug Info

Enabled

Doctor

[√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22000.2538], locale en-US)
• Flutter version 3.16.9 on channel stable at C:\dev\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (9 weeks ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5

[√] Windows Version (Installed version of Windows is version 10 or higher)

[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.8.34330.188
• Windows 10 SDK version 10.0.22621.0

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.87.2)
• VS Code at C:\Users\sundar\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.84.0

[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.2538]
• Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.59
• Edge (web) • edge • web-javascript • Microsoft Edge 123.0.2420.53

[√] Network resources
• All expected network resources are available.

Version

sentry_flutter: ^7.9.0

Steps to Reproduce

  1. Change device hostname -> desktop-äöü
  2. Launch sentry example app
  3. App crashes when any exceptions occurs

image
image (1)

Expected Result

Sentry need to log the error

Actual Result

App crashes

Are you willing to submit a PR?

Yes

@kahest
Copy link
Member

kahest commented Mar 28, 2024

Hey @Prathiv7 thanks for the report - do you have more information on the crash, like a stack trace or similar? In any case, we'll need to investigate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Backlog
Development

No branches or pull requests

2 participants