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

[BUG] iOS app getting crashed when we change font styles #529

Open
HirenRadix opened this issue Aug 7, 2024 · 1 comment
Open

[BUG] iOS app getting crashed when we change font styles #529

HirenRadix opened this issue Aug 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@HirenRadix
Copy link

HirenRadix commented Aug 7, 2024

Describe the bug
When changing font styles in the html_editor_enhanced package, the app crashes on iOS. This issue does not occur on Android.

In debug mode, the app closes and logs the following in the terminal:

Lost connection to device.
Error executing osascript: -2
The Dart compiler exited unexpectedly.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Flutter app on an iOS device or simulator.
  2. Navigate to the screen where the html_editor_enhanced package is used.
  3. Change the font style multiple times using the editor's font style options.
  4. Observe that the app crashes.

Expected behavior
The app should not crash when changing font styles. The font style should change without any issues.

System Information

  • macOS Version: 13.6.4 (Build 22G513)
  • Xcode Version: 15.0 (22265) (Build 15A240d)
  • Flutter Version: 3.22.3
  • iOS version in podfile : platform :ios, '14.0'

Device:

  • iPhone 13 (iOS Version: 17.5.1), iPhone 8 Plus (iOS Version: 16.7.2)

Logs in Xcode:

Lost connection to the debugger on “13 Sr98”.
Domain: IDEDebugSessionErrorDomain
Code: 22
Recovery Suggestion: Restore the connection to “13 Sr98” and run “Runner” again, or if “Runner” is still running, you can attach to it by selecting Debug > Attach to Process > Runner.
User Info: {
    DVTErrorCreationDateKey = "2024-08-07 10:39:44 +0000";
    IDERunOperationFailingWorker = DBGLLDBLauncher;
}

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone14,5";
    "device_osBuild" = "17.5.1 (21F90)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.40.14.100.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 2;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 78311;
    "operation_errorCode" = 22;
    "operation_errorDomain" = IDEDebugSessionErrorDomain;
    "operation_errorWorker" = DBGLLDBLauncher;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.0";
    "sdk_osVersion" = "17.0";
    "sdk_variant" = iphoneos;
}


System Information

macOS Version 13.6.4 (Build 22G513)
Xcode 15.0 (22265) (Build 15A240d)
Timestamp: 2024-08-07T16:09:44+05:30
@HirenRadix HirenRadix added the bug Something isn't working label Aug 7, 2024
@HirenRadix
Copy link
Author

Hi @tneotia
Any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants