forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
.NET type apps crash on my Tizen 5.5 watch device when run in candidate mode (launched from an existing loader process without creating a new process). The issue is probably related to the EFL preloading feature on watch devices. (Removing files in /usr/share/dotnet.tizen/preload temporarily fixes the problem - only for rooted devices.)
How to reproduce:
- Create a project and run on a 5.5 watch device:The app is run in standalone mode when it's launched for the first time after install.
flutter-tizen create --tizen-language csharp . flutter-tizen run - Stop the app.
- Wait for 5 seconds (until a loader process starts) and launch the app again, by clicking an app icon or using
app_launcher -s.
lldb caught a segmentation fault at libfreetype.so code section:
(lldb) Process 7461 stopped
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
frame #0: 0xec19e0e6 libfreetype.so.6
-> 0xec19e0e6: .long 0xb1036b1b ; unknown opcode
0xec19e0ea: addshs r4, r6, r8, lsl r7
0xec19e0ee: .long 0xf8d04770 ; unknown opcode
0xec19e0f2: push {r2, r3, r8, r9, r12, sp}
bt
* thread #21, name = 'io.flutter.ui', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
* frame #0: 0xec19e0e6 libfreetype.so.6
frame #1: 0xe4a7e03a libflutter_engine.soDevice info:
bash-3.2# cat /etc/os-release
NAME=Tizen
VERSION="5.5.0 (Tizen5/Unified)"
ID=tizen
VERSION_ID=5.5.0
PRETTY_NAME="Tizen 5.5.0 (Tizen5/Unified)"
ANSI_COLOR="0;36"
CPE_NAME="cpe:/o:tizen:tizen:5.5.0"
BUILD_ID=PLATFORM_DayR800XX_20200611.001The issue doesn't occur on Tizen 6.0 devices because:
- The system freetype library version is newer.
- Apps launch in standalone mode only, because the
http://tizen.org/metadata/direct-launchmetadata value is by default enabled intizen-manifest.xml. The metadata was first introduced in Tizen 6.0.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working