Opening this repo by going through settings crashes Android and causes a soft reboot. Issue was not present in previous play release
Originally created by @ghost on GitHub (Nov 2, 2020).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/123
Samsung Galaxy S8, Android 9, One UI
Opening this repo by going through settings crashes Android and causes a soft reboot. Issue was not present in previous play release
GiteaMirror
added the bug label 2026-06-18 17:42:05 -05:00
This also seems to happen with my own repos, although testing is a bit of a pain. Gitlab is also effected, I suspect the markdown renderer may have something to do with this since repositories without a readme seem to be fine
<!-- gh-comment-id:720233816 -->
@ghost commented on GitHub (Nov 2, 2020):
This also seems to happen with my own repos, although testing is a bit of a pain. Gitlab is also effected, I suspect the markdown renderer may have something to do with this since repositories without a readme seem to be fine
The latest version uses webview_flutter to display readmes. Probably related to this change.
<!-- gh-comment-id:720237942 -->
@pd4d10 commented on GitHub (Nov 2, 2020):
The latest version uses [webview_flutter](https://pub.dev/packages/webview_flutter) to display readmes. Probably related to this change.
Hi, @kakolisgay , you could select Markdown render engine in the latest version v1.9.0, which has been published and in review.
<!-- gh-comment-id:723579426 -->
@pd4d10 commented on GitHub (Nov 8, 2020):
Hi, @kakolisgay , you could select Markdown render engine in the latest version v1.9.0, which has been published and in review.

Updated to 1.9.0* and strangely enough, it no longer crashes. Even in flutter rendering mode. Webview rendering mode doesn't seem to work though. Was the crash fixed upstream?
<!-- gh-comment-id:723584852 -->
@ghost commented on GitHub (Nov 8, 2020):
Updated to 1.9.0* and strangely enough, it no longer crashes. Even in flutter rendering mode. Webview rendering mode doesn't seem to work though. Was the crash fixed upstream?
Still not entire sure what was causing the crashes but I assume it was likely fixed upstream. Closing for now
<!-- gh-comment-id:734137009 -->
@ghost commented on GitHub (Nov 26, 2020):
Still not entire sure what was causing the crashes but I assume it was likely fixed upstream. Closing for now
E/flutter (27924): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Invalid @IntRange(from= 1): 0
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:227)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:223)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.validate(AnnotationValidations.java:74)
E/flutter (27924): at android.hardware.display.VirtualDisplayConfig$Builder.<init>(VirtualDisplayConfig.java:336)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:649)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:600)
E/flutter (27924): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:42)
E/flutter (27924): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter (27924): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (27924): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (27924): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter (27924): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (27924): at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter (27924): at android.os.Looper.loop(Looper.java:183)
E/flutter (27924): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (27924): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (27924): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (27924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (27924): , null, null)
<!-- gh-comment-id:743945053 -->
@pd4d10 commented on GitHub (Dec 13, 2020):
```sh
E/flutter (27924): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Invalid @IntRange(from = 1): 0
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:227)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.invalid(AnnotationValidations.java:223)
E/flutter (27924): at com.android.internal.util.AnnotationValidations.validate(AnnotationValidations.java:74)
E/flutter (27924): at android.hardware.display.VirtualDisplayConfig$Builder.<init>(VirtualDisplayConfig.java:336)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:649)
E/flutter (27924): at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:600)
E/flutter (27924): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:42)
E/flutter (27924): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter (27924): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter (27924): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (27924): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (27924): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter (27924): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (27924): at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter (27924): at android.os.Looper.loop(Looper.java:183)
E/flutter (27924): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (27924): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (27924): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (27924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (27924): , null, null)
```
It is probably caused by the webview component. Selecting 'Flutter' markdown render engine would solve this temporarily.
<!-- gh-comment-id:743946827 -->
@pd4d10 commented on GitHub (Dec 13, 2020):
It is probably caused by the webview component. Selecting 'Flutter' markdown render engine would solve this temporarily.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ghost on GitHub (Nov 2, 2020).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/123
Samsung Galaxy S8, Android 9, One UI
Opening this repo by going through settings crashes Android and causes a soft reboot. Issue was not present in previous play release
@ghost commented on GitHub (Nov 2, 2020):
This also seems to happen with my own repos, although testing is a bit of a pain. Gitlab is also effected, I suspect the markdown renderer may have something to do with this since repositories without a readme seem to be fine
@pd4d10 commented on GitHub (Nov 2, 2020):
The latest version uses webview_flutter to display readmes. Probably related to this change.
@pd4d10 commented on GitHub (Nov 8, 2020):
Hi, @kakolisgay , you could select Markdown render engine in the latest version v1.9.0, which has been published and in review.
@ghost commented on GitHub (Nov 8, 2020):
Updated to 1.9.0* and strangely enough, it no longer crashes. Even in flutter rendering mode. Webview rendering mode doesn't seem to work though. Was the crash fixed upstream?
@pd4d10 commented on GitHub (Nov 8, 2020):
Markdown render engine history:
@ghost commented on GitHub (Nov 26, 2020):
Still not entire sure what was causing the crashes but I assume it was likely fixed upstream. Closing for now
@pd4d10 commented on GitHub (Dec 13, 2020):
@pd4d10 commented on GitHub (Dec 13, 2020):
It seems happen again at v1.10.0
@pd4d10 commented on GitHub (Dec 13, 2020):
It is probably caused by the webview component. Selecting 'Flutter' markdown render engine would solve this temporarily.
@ThisNekoGuy commented on GitHub (Feb 27, 2021):
Still happens for me with webview*
@Lehmaning commented on GitHub (Jan 22, 2022):
The problem still exists. Maybe we should open this issue again...