Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fitbit OS Simulator crashing non-stop on MacOS

Seemingly out of the blue yesterday the Simulator began crashing every time I installed my clockface on it. Seems to work fine when I sideload the application to my watch. Not sure what changed.

 

 

Best Answer
0 Votes
3 REPLIES 3

Here are the logs. 

 

 

[2021-06-30 05:58:16.223] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"initialized"}}
[2021-06-30 05:58:16.867] [info] Client connected to companion host
[2021-06-30 05:58:17.432] [info] app->shell: {"jsonrpc":"2.0","method":"app.status","params":{"app":{"uuid":"000013ff-0000-4000-8000-000000f17b17","buildID":"0000000000000000","name":"RunJS","isBuiltin":true},"status":"stopped"}}
[2021-06-30 05:58:17.437] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.01}}
[2021-06-30 05:58:17.439] [error] appsim stderr: 2021-06-30 05:58:17.431 app[1688:44962] ASSERT_Log: Type: 16 func_addr: 0x030a3090 lr: 0x00000000, file: ../../products/common/src/fb_apps/switcher/switcher_clock.c, line: 351, func: VerifyClockId, expr: app_id == app_data->running_clock_id
2021-06-30 05:58:17.431 app[1688:44962] data:
2021-06-30 05:58:17.431 app[1688:44962] 1
2021-06-30 05:58:17.431 app[1688:44962] 0
2021-06-30 05:58:17.431 app[1688:44962] 0
2021-06-30 05:58:17.431 app[1688:44962] 0
2021-06-30 05:58:17.432 app[1688:44962] ASSERT_Log: Type: 16 func_addr: 0x030a2f50 lr: 0x00000000, file: ../../products/common/src/fb_apps/switcher/switcher_clock.c, line: 389, func: Switcher_ClockLaunched, expr: FBAPPID_INVALID == app_data->running_clock_id
2021-06-30 05:58:17.432 app[1688:44962] data:
2021-06-30 05:58:17.432 app[1688:44962] 1
2021-06-30 05:58:17.432 app[1688:44962] 0
2021-06-30 05:58:17.432 app[1688:44962] 0
2021-06-30 05:58:17.432 app[1688:44962] 0

[2021-06-30 05:58:21.230] [error] appsim stderr: 2021-06-30 05:58:21.230 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:22.234] [error] appsim stderr: 2021-06-30 05:58:22.234 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:23.237] [error] appsim stderr: 2021-06-30 05:58:23.236 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:24.238] [error] appsim stderr: 2021-06-30 05:58:24.238 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:25.240] [error] appsim stderr: 2021-06-30 05:58:25.240 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:26.241] [error] appsim stderr: 2021-06-30 05:58:26.241 app[1688:44962] ASSERT_Log: Type: 2 func_addr: 0x0302e730 lr: 0x00000000, file: ../../fb_private/fb_gui/fb_gui_app_launcher.c, line: 1197, func: HandleTimeouts, expr: false

[2021-06-30 05:58:27.246] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.01}}
[2021-06-30 05:58:27.249] [error] appsim stderr: 2021-06-30 05:58:27.249 app[1688:48701] Calling FB_Assert_Fatal:
2021-06-30 05:58:27.249 app[1688:48701] file: ../../fb_private/fb_gui/fb_gui_app_common.c
2021-06-30 05:58:27.249 app[1688:48701] line: 194

[2021-06-30 05:58:27.250] [error] appsim stderr: 2021-06-30 05:58:27.249 app[1688:48701] func: (null)
2021-06-30 05:58:27.249 app[1688:48701] msg : (null)
2021-06-30 05:58:27.249 app[1688:48701] LR : 0x00000000

[2021-06-30 05:58:27.250] [info] appsim stdout: [I][2021-06-30T10:51:41.577Z][] No upcoming alarms. Disabling alarm
[E][2021-06-30T10:51:41.602Z][] Sending while the simulator control channel is disconnected
[D][2021-06-30T10:51:41.604Z][] settings_scheduler_Initialize
[D][2021-06-30T10:51:41.604Z][] settings_scheduler_HandleTimeChange
[D][2021-06-30T10:51:41.604Z][] Schedule: setting 45 enabled 1 start 82800 end 25200
[D][2021-06-30T10:51:41.604Z][] Schedule: setting 36 enabled 0 start 25200 end 82800
[D][2021-06-30T10:51:41.604Z][] Next expiration after 4099 seconds
[D][2021-06-30T10:51:41.604Z][] Schedule 45 already in correct state
[D][2021-06-30T10:51:41.607Z][] Popupmgr: precached popup "Notif-Center" context cleared.
[D][2021-06-30T10:51:41.607Z][] Failed to deserialize file, error: 3
[D][2021-06-30T10:51:41.607Z][] STARTED the TODAY MODEL
[D][2021-06-30T10:51:41.607Z][] Deserializing the following file: /system/approot/112/private/data/sleep.cbor
[D][2021-06-30T10:51:41.608Z][] Failed to deserialize sleep.cbor

[D][2021-06-30T10:51:41.608Z][] Deserializing the following file: /system/approot/112/private/data/minerva.cbor
[D][2021-06-30T10:51:41.608Z][] Failed to deserialize minerva.cbor

[D][2021-06-30T10:51:41.608Z][] Deserializing the following file: /system/approot/112/private/data/water.cbor
[D][2021-06-30T10:51:41.608Z][] Failed to deserialize water.cbor

[D][2021-06-30T10:51:41.608Z][] Deserializing the following file: /system/approot/112/private/data/weight.cbor
[D][2021-06-30T10:51:41.608Z][] Failed to deserialize weight.cbor

[D][2021-06-30T10:51:41.608Z][] Deserializing the following file: /system/approot/112/private/data/user.cbor
[D][2021-06-30T10:51:41.608Z][] Failed to deserialize user.cbor

[D][2021-06-30T10:51:41.608Z][] Deserializing the following file: /system/approot/112/private/data/exercise.cbor
[D][2021-06-30T10:51:41.609Z][] Failed to deserialize exercise.cbor

[D][2021-06-30T10:51:41.609Z][] Failed to deserialize /system/approot/112/private/data/food-Wednesday.cbor

[D][2021-06-30T10:51:41.609Z][] STARTED the MINDFULNESS MODEL
[E][2021-06-30T10:51:41.609Z][] Relax app not installed: 1280
[D][2021-06-30T10:51:41.609Z][] Eda app not installed: 1280
[I][2021-06-30T10:51:41.646Z][] ClockEvent: --> Set battery indicator state: '4'
[D][2021-06-30T10:51:41.653Z][] Popupmgr: precached popup "Notif-Center" context cleared.
[I][2021-06-30T10:51:41.653Z][] Switcher_UnlockDevice: Unlocking the device
[D][2021-06-30T10:51:41.653Z][] Launcher: Process creation of app_id 111 took 0ms. Status:0.
[D][2021-06-30T10:51:41.653Z][] Sending app launch notification for app_id 111
[D][2021-06-30T10:51:41.653Z][] Switcher_Clock: Launch of clock_id 111 succeeded. attempt 1
[D][2021-06-30T10:51:41.653Z][] App informed of window resume
[D][2021-06-30T10:51:41.654Z][] Switcher_Clock: Clock_id 111 launched
[E][2021-06-30T10:51:41.655Z][] Error opening annotation log
[I][2021-06-30T10:51:41.656Z][] JS Application Compatibility Version: 1.0.0
[D][2021-06-30T10:51:41.683Z][] App informed of window resume
Snapshot found: /mnt/cache/index.js.snapshot
./index.js:3:1> Default JS app started
Snapshot loaded and executed (total time: 2 ms)
[D][2021-06-30T10:51:41.685Z][] Switcher_Clock: Clock_id 111 foregrounded
[D][2021-06-30T10:51:41.685Z][] Switcher_UpdateClockInstallView: Clock now running!
[E][2021-06-30T10:51:41.685Z][] Sending while the simulator control channel is disconnected
[D][2021-06-30T10:51:44.914Z][] Simulator control websocket client connected
[I][2021-06-30T10:51:44.921Z][] Launcher: Relaunch foreground app (app_id 111) with animation 0'

[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:51:44.941Z][] Failed to read extra field without a Rockyport context.
[D][2021-06-30T10:51:44.941Z][] Launcher: Process creation of app_id 111 took 0ms. Status:0.
[D][2021-06-30T10:51:44.941Z][] Sending app launch notification for app_id 111
[D][2021-06-30T10:51:44.941Z][] Switcher_Clock: Clock_id 111 terminated, was_killed:0.
[D][2021-06-30T10:51:44.942Z][] Switcher_Clock: Clock_id 111 launched
[E][2021-06-30T10:51:44.946Z][] Error opening annotation log
[I][2021-06-30T10:51:44.946Z][] JS Application Compatibility Version: 1.0.0
[A][2021-06-30T10:51:44.948Z][] Connecting to "wss://027-v3-api-soa.fitbit.com:443/dbridge/"
[D][2021-06-30T10:51:44.972Z][] App informed of window resume
Snapshot found: /mnt/cache/index.js.snapshot
./index.js:3:1> Default JS app started
Snapshot loaded and executed (total time: 1 ms)
[D][2021-06-30T10:51:44.973Z][] Switcher_Clock: Clock_id 111 foregrounded
[D][2021-06-30T10:51:44.992Z][] settings_scheduler_HandleSettingsChange
[D][2021-06-30T10:51:44.992Z][] settings_scheduler_HandleSettingsChange
[D][2021-06-30T10:51:44.992Z][] settings_scheduler_HandleSettingsChange
[D][2021-06-30T10:51:45.274Z][] Developer bridge websocket connected
[D][2021-06-30T10:58:16.220Z][] Sending notification of type: experimental.lifecycle.appRunning
[D][2021-06-30T10:58:16.314Z][] Got protocol.serialization.change request
[D][2021-06-30T10:58:17.005Z][] Got app.contents.stream.list request
[D][2021-06-30T10:58:17.400Z][] Got app.launchComponent request
[D][2021-06-30T10:58:17.401Z][] Sending notification of type: console.message
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[E][2021-06-30T10:58:17.431Z][] Failed to read extra field without a Rockyport context.
[D][2021-06-30T10:58:17.431Z][] Sending notification of type: experimental.lifecycle.appClosed
[D][2021-06-30T10:58:17.431Z][] Launcher: Process creation of app_id 1 took 0ms. Status:0.
[D][2021-06-30T10:58:17.431Z][] Sending app launch notification for app_id 1
[D][2021-06-30T10:58:17.431Z][] Switcher_Clock: Clock_id 111 terminated, was_killed:0.
[D][2021-06-30T10:58:17.432Z][] Switcher_Clock: Clock_id 1 launched
[D][2021-06-30T10:58:17.432Z][] Switcher_Clock: Next clock changed from 111 to 1
[E][2021-06-30T10:58:17.438Z][] Error opening annotation log
[I][2021-06-30T10:58:17.438Z][] JS Application Compatibility Version: 7.0.0
[A][2021-06-30T10:58:27.245Z][] Terminating app_id 1: Unresponsive
[D][2021-06-30T10:58:27.245Z][] Switcher_Clock: Clock_id 1 terminated, was_killed:0.
[D][2021-06-30T10:58:27.245Z][] Sending notification of type: experimental.lifecycle.appClosed
[D][2021-06-30T10:58:27.245Z][] Launcher: Process creation of app_id 1 took 0ms. Status:0.
[D][2021-06-30T10:58:27.245Z][] Sending app launch notification for app_id 1
[D][2021-06-30T10:58:27.245Z][] Switcher_Clock: Launch of clock_id 1 succeeded. attempt 1
[D][2021-06-30T10:58:27.245Z][] Switcher_Clock: Clock_id 1 launched
[D][2021-06-30T10:58:27.245Z][] Sending notification of type: console.message

[2021-06-30 05:58:27.312] [info] appsim exit code: null (signal SIGABRT)

Best Answer
0 Votes

Im trying to post the logs here but keeps getting removed automatically as it thinks its spam.

Best Answer
0 Votes

So apparently setting parent svg to width 98% and height 98% caused the simulator to immediately crash. Setting these dimensions back too 100% seems to have fixed the issue. 

Best Answer
0 Votes