Skip to content

[Tizen 5.5 watch] Apps cannot launch in candidate mode #58

@swift-kim

Description

@swift-kim

.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:

  1. Create a project and run on a 5.5 watch device:

    flutter-tizen create --tizen-language csharp .
    flutter-tizen run
    
    The app is run in standalone mode when it's launched for the first time after install.
  2. Stop the app.
  3. 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.so

Device 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.001

The 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-launch metadata value is by default enabled in tizen-manifest.xml. The metadata was first introduced in Tizen 6.0.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions