MarSoft / PebbleNotes

Pebble client for GoogleTasks
MIT License
31 stars 14 forks source link

Crash on showing task Pebble Classic V3RX #62

Closed Ameb closed 8 years ago

Ameb commented 8 years ago

When i open some notes the app crashes. I downloaded source from github, installed dependencies (npm, jshint, uglifyjs) builded and installed the app, just to be safe. The app keeps crashing. Here is the log. For some notes it works fine. For most, it crashes. I dont know what's happening, maybe the pebble runs out of memory. Its a Pebble Classic Firmware v3.12.1 Hardware version V3R1

➜  ~ pebble logs --phone 10.230.159.50
(.... removed app loading text ....)
[12:51:18] statusbar.c:42> Status: Loading... 100% 0x2001d348
[12:51:18] comm.c:257> Statusbar Updated: 100
[12:51:18] comm.c:262> Item No: 5, Id=5, size=-1
[12:51:18] tasklists.c:104> New item 5
[12:51:18] tasklists.c:114> Current count is 6
[12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=207
[12:51:18] javascript> PebbleTasks:1 transactionId=208 for msg {"code":22,"scope":0,"count":6}
[12:51:18] comm.c:179> Message code: 22
[12:51:18] comm.c:226> Message scope: 0
[12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=208
[12:51:25] tasks.c:251> Showing tasks for listId=5
[12:51:25] statusbar.c:72> Status bar: Connecting...
[12:51:25] statusbar.c:42> Status: Connecting... 0x2001d410
[12:51:25] comm.c:72> Querying tasks for listId=5
[12:51:25] javascript> PebbleTasks:1 Received message: {"code":10,"scope":1,"listId":5}
[12:51:26] comm.c:323> Message sent
[12:51:26] javascript> PebbleTasks:1 xhr:success
[12:51:26] javascript> PebbleTasks:1 sending 2 items
[12:51:26] javascript> PebbleTasks:1 deleting pin (if any)
[12:51:26] javascript> PebbleTasks:1 deleting pin (if any)
[12:51:26] javascript> PebbleTasks:1 transactionId=209 for msg {"code":20,"scope":1,"listId":5,"count":2}
[12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjo3NDEyMTgyOA","position":"00000000002147483647","done":false,"title":"long note","hasNotes":true,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","updated":"2016-05-25T10:47:32.000Z"}
[12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjoxMTc3MTE0MTk3","position":"00000000002684354560","done":false,"title":"other","hasNotes":true,"notes":":)","updated":"2016-05-25T10:47:40.000Z"}
[12:51:26] javascript> PebbleTasks:1 sending finished
[12:51:26] comm.c:179> Message code: 20
[12:51:26] comm.c:226> Message scope: 1
[12:51:26] comm.c:241> Items count: 2
[12:51:26] tasks.c:276> Setting count: 2
[12:51:26] statusbar.c:42> Status: Loading... 0x2001d3a0
[12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=209
[12:51:26] javascript> PebbleTasks:1 transactionId=210 for msg {"code":21,"scope":1,"item":0,"taskId":0,"isDone":0,"title":"long note","hasNotes":1,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}
[12:51:26] comm.c:179> Message code: 21
[12:51:26] comm.c:226> Message scope: 1
[12:51:26] statusbar.c:42> Status: Loading... 50% 0x2001d3a0
[12:51:26] comm.c:257> Statusbar Updated: 50
[12:51:26] comm.c:276> Item No: 0, Id=0, done=0
[12:51:26] tasks.c:284> New item 0
[12:51:26] tasks.c:299> Current count is 1
[12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=210
[12:51:26] javascript> PebbleTasks:1 transactionId=211 for msg {"code":21,"scope":1,"item":1,"taskId":1,"isDone":0,"title":"other","hasNotes":1,"notes":":)"}
[12:51:26] comm.c:179> Message code: 21
[12:51:26] comm.c:226> Message scope: 1
[12:51:26] statusbar.c:42> Status: Loading... 100% 0x2001d3a0
[12:51:26] comm.c:257> Statusbar Updated: 100
[12:51:26] comm.c:276> Item No: 1, Id=1, done=0
[12:51:27] tasks.c:284> New item 1
[12:51:27] tasks.c:299> Current count is 2
[12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=211
[12:51:27] javascript> PebbleTasks:1 transactionId=212 for msg {"code":22,"scope":1,"listId":5,"count":2}
[12:51:27] comm.c:179> Message code: 22
[12:51:27] comm.c:226> Message scope: 1
[12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=212
[12:51:28] taskinfo.c:121> Showing task for listId=5, taskId=1, done=
[12:51:28] ault_handling.c:79> App fault! {5841ffd7-908f-4226-b687-bf6ff64cc8c5} PC: 0x804d5cb LR: ???
Crashed, but no active project available to desym.
MarSoft commented 8 years ago

Hello. This is an interesting situation.. Which hardware version do you have? (Because there are different firmwares for V2R2 and V3Rx)

ср, 25 мая 2016 г. в 14:04, Iñigo Biedma notifications@github.com:

When i open some notes the app crashes. I downloaded source from github, installed dependencies (npm, jshint, uglifyjs) builded and installed the app, just to be safe. The app keeps crashing. Here is the log. For some notes it works fine. For most, it crashes. I dont know what's happening, maybe the pebble runs out of memory. Its a Pebble Classic Firmware v3.12.1 Hw V3R1

➜ ~ pebble logs --phone 10.230.159.50 (.... removed app loading text ....) [12:51:18] statusbar.c:42> Status: Loading... 100% 0x2001d348 [12:51:18] comm.c:257> Statusbar Updated: 100 [12:51:18] comm.c:262> Item No: 5, Id=5, size=-1 [12:51:18] tasklists.c:104> New item 5 [12:51:18] tasklists.c:114> Current count is 6 [12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=207 [12:51:18] javascript> PebbleTasks:1 transactionId=208 for msg {"code":22,"scope":0,"count":6} [12:51:18] comm.c:179> Message code: 22 [12:51:18] comm.c:226> Message scope: 0 [12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=208 [12:51:25] tasks.c:251> Showing tasks for listId=5 [12:51:25] statusbar.c:72> Status bar: Connecting... [12:51:25] statusbar.c:42> Status: Connecting... 0x2001d410 [12:51:25] comm.c:72> Querying tasks for listId=5 [12:51:25] javascript> PebbleTasks:1 Received message: {"code":10,"scope":1,"listId":5} [12:51:26] comm.c:323> Message sent [12:51:26] javascript> PebbleTasks:1 xhr:success [12:51:26] javascript> PebbleTasks:1 sending 2 items [12:51:26] javascript> PebbleTasks:1 deleting pin (if any) [12:51:26] javascript> PebbleTasks:1 deleting pin (if any) [12:51:26] javascript> PebbleTasks:1 transactionId=209 for msg {"code":20,"scope":1,"listId":5,"count":2} [12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjo3NDEyMTgyOA","position":"00000000002147483647","done":false,"title":"long note","hasNotes":true,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","updated":"2016-05-25T10:47:32.000Z"} [12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjoxMTc3MTE0MTk3","position":"00000000002684354560","done":false,"title":"other","hasNotes":true,"notes":":)","updated":"2016-05-25T10:47:40.000Z"} [12:51:26] javascript> PebbleTasks:1 sending finished [12:51:26] comm.c:179> Message code: 20 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] comm.c:241> Items count: 2 [12:51:26] tasks.c:276> Setting count: 2 [12:51:26] statusbar.c:42> Status: Loading... 0x2001d3a0 [12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=209 [12:51:26] javascript> PebbleTasks:1 transactionId=210 for msg {"code":21,"scope":1,"item":0,"taskId":0,"isDone":0,"title":"long note","hasNotes":1,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."} [12:51:26] comm.c:179> Message code: 21 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] statusbar.c:42> Status: Loading... 50% 0x2001d3a0 [12:51:26] comm.c:257> Statusbar Updated: 50 [12:51:26] comm.c:276> Item No: 0, Id=0, done=0 [12:51:26] tasks.c:284> New item 0 [12:51:26] tasks.c:299> Current count is 1 [12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=210 [12:51:26] javascript> PebbleTasks:1 transactionId=211 for msg {"code":21,"scope":1,"item":1,"taskId":1,"isDone":0,"title":"other","hasNotes":1,"notes":":)"} [12:51:26] comm.c:179> Message code: 21 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] statusbar.c:42> Status: Loading... 100% 0x2001d3a0 [12:51:26] comm.c:257> Statusbar Updated: 100 [12:51:26] comm.c:276> Item No: 1, Id=1, done=0 [12:51:27] tasks.c:284> New item 1 [12:51:27] tasks.c:299> Current count is 2 [12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=211 [12:51:27] javascript> PebbleTasks:1 transactionId=212 for msg {"code":22,"scope":1,"listId":5,"count":2} [12:51:27] comm.c:179> Message code: 22 [12:51:27] comm.c:226> Message scope: 1 [12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=212 [12:51:28] taskinfo.c:121> Showing task for listId=5, taskId=1, done= [12:51:28] ault_handling.c:79> App fault! {5841ffd7-908f-4226-b687-bf6ff64cc8c5} PC: 0x804d5cb LR: ??? Crashed, but no active project available to desym.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/MarSoft/PebbleNotes/issues/62

MarSoft commented 8 years ago

Yeah, I have reproduced it on my Pebble Classic V3R3. Indeed looks like out-of-memory bug. Will try to fix.

чт, 26 мая 2016 г. в 17:44, Семён Марьясин simeon@maryasin.name:

Hello. This is an interesting situation.. Which hardware version do you have? (Because there are different firmwares for V2R2 and V3Rx)

ср, 25 мая 2016 г. в 14:04, Iñigo Biedma notifications@github.com:

When i open some notes the app crashes. I downloaded source from github, installed dependencies (npm, jshint, uglifyjs) builded and installed the app, just to be safe. The app keeps crashing. Here is the log. For some notes it works fine. For most, it crashes. I dont know what's happening, maybe the pebble runs out of memory. Its a Pebble Classic Firmware v3.12.1 Hw V3R1

➜ ~ pebble logs --phone 10.230.159.50 (.... removed app loading text ....) [12:51:18] statusbar.c:42> Status: Loading... 100% 0x2001d348 [12:51:18] comm.c:257> Statusbar Updated: 100 [12:51:18] comm.c:262> Item No: 5, Id=5, size=-1 [12:51:18] tasklists.c:104> New item 5 [12:51:18] tasklists.c:114> Current count is 6 [12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=207 [12:51:18] javascript> PebbleTasks:1 transactionId=208 for msg {"code":22,"scope":0,"count":6} [12:51:18] comm.c:179> Message code: 22 [12:51:18] comm.c:226> Message scope: 0 [12:51:18] javascript> PebbleTasks:1 Message sent for transactionId=208 [12:51:25] tasks.c:251> Showing tasks for listId=5 [12:51:25] statusbar.c:72> Status bar: Connecting... [12:51:25] statusbar.c:42> Status: Connecting... 0x2001d410 [12:51:25] comm.c:72> Querying tasks for listId=5 [12:51:25] javascript> PebbleTasks:1 Received message: {"code":10,"scope":1,"listId":5} [12:51:26] comm.c:323> Message sent [12:51:26] javascript> PebbleTasks:1 xhr:success [12:51:26] javascript> PebbleTasks:1 sending 2 items [12:51:26] javascript> PebbleTasks:1 deleting pin (if any) [12:51:26] javascript> PebbleTasks:1 deleting pin (if any) [12:51:26] javascript> PebbleTasks:1 transactionId=209 for msg {"code":20,"scope":1,"listId":5,"count":2} [12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjo3NDEyMTgyOA","position":"00000000002147483647","done":false,"title":"long note","hasNotes":true,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","updated":"2016-05-25T10:47:32.000Z"} [12:51:26] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTcxNDUyNTMzMjoxMTc3MTE0MTk3","position":"00000000002684354560","done":false,"title":"other","hasNotes":true,"notes":":)","updated":"2016-05-25T10:47:40.000Z"} [12:51:26] javascript> PebbleTasks:1 sending finished [12:51:26] comm.c:179> Message code: 20 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] comm.c:241> Items count: 2 [12:51:26] tasks.c:276> Setting count: 2 [12:51:26] statusbar.c:42> Status: Loading... 0x2001d3a0 [12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=209 [12:51:26] javascript> PebbleTasks:1 transactionId=210 for msg {"code":21,"scope":1,"item":0,"taskId":0,"isDone":0,"title":"long note","hasNotes":1,"notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."} [12:51:26] comm.c:179> Message code: 21 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] statusbar.c:42> Status: Loading... 50% 0x2001d3a0 [12:51:26] comm.c:257> Statusbar Updated: 50 [12:51:26] comm.c:276> Item No: 0, Id=0, done=0 [12:51:26] tasks.c:284> New item 0 [12:51:26] tasks.c:299> Current count is 1 [12:51:26] javascript> PebbleTasks:1 Message sent for transactionId=210 [12:51:26] javascript> PebbleTasks:1 transactionId=211 for msg {"code":21,"scope":1,"item":1,"taskId":1,"isDone":0,"title":"other","hasNotes":1,"notes":":)"} [12:51:26] comm.c:179> Message code: 21 [12:51:26] comm.c:226> Message scope: 1 [12:51:26] statusbar.c:42> Status: Loading... 100% 0x2001d3a0 [12:51:26] comm.c:257> Statusbar Updated: 100 [12:51:26] comm.c:276> Item No: 1, Id=1, done=0 [12:51:27] tasks.c:284> New item 1 [12:51:27] tasks.c:299> Current count is 2 [12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=211 [12:51:27] javascript> PebbleTasks:1 transactionId=212 for msg {"code":22,"scope":1,"listId":5,"count":2} [12:51:27] comm.c:179> Message code: 22 [12:51:27] comm.c:226> Message scope: 1 [12:51:27] javascript> PebbleTasks:1 Message sent for transactionId=212 [12:51:28] taskinfo.c:121> Showing task for listId=5, taskId=1, done= [12:51:28] ault_handling.c:79> App fault! {5841ffd7-908f-4226-b687-bf6ff64cc8c5} PC: 0x804d5cb LR: ??? Crashed, but no active project available to desym.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/MarSoft/PebbleNotes/issues/62

Ameb commented 8 years ago

Its V3R1. Renamed the issue for clarity.

MarSoft commented 8 years ago

Seems that we are bumping memory limit on Pebble Classic... I am adding Out Of Memory checks to the code, so that now app will not silently crash and instead will show OOM message. But for now have no idea how to handle large lists on Classic. I have multiple tasklists, and when I check on my Classic, it always crashes when I try to open any particular tasklist, because "list of lists" consumes most of the available memory. This is not good. I didn't notice this problem before because I had not so many lists before I switched to Pebble Time.

Maybe I'll add a configuration option to show only certain tasklists and not all of them, this will increase available memory a bit.. Do you have any thoughts about the issue?

чт, 26 мая 2016 г. в 23:38, Iñigo Biedma notifications@github.com:

Its V3R1.

— You are receiving this because you commented.

Reply to this email directly or view it on GitHub https://github.com/MarSoft/PebbleNotes/issues/62#issuecomment-221987544

Ameb commented 8 years ago

Hello. I have removed my tasks and now i have 2 tasklists with 2 task and 1 task. Last commits have worsened the situation. My device will crash after task load by pressing any button on last commit 36cce125c736ed5773821904858ef2fd55545582. May the crash be related to my system? commit changes pBuild. The previous ed65ca723693ab036b29917e339c692ea4583db6 doesnt crash by pressing buttons, but when opening any list. [09:49:13] tasks.c:210> OOM while creating menu layer First "oom series" commit 9c377a435eba949809d787a508ba07e8fccac306 shows tasklists but crashes opening description of task. The task text is simple enough (title: "Series"):

TBBT 8x23 OP 736

0ee998b07898bf0413069c989be9a24d62a207b3 works fine for small tasklists and can open tasks with small notes. Crashes opening tasks with big notes.

My thoughts: Load the tasks titles first, and load the description later, when the task item is opened. Since you need to fetch the whole task from the API, u may load the first line (or X characters) from every task and discard the remainder. Then query again for the whole task when a task (or tasklist?) is open. Slower, higher battery drain, but may fit in memory. Im assuming whole tasks are retrieved on load now.

MarSoft commented 8 years ago

Hello. I just published a new version 1.9 with many memory-related optimizations; in particular, I try to avoid OOM condition completely by restricting malloc in tasks.c if remaining memory size would be too low. And maybe more important, I have decreased AppMessage inbox buffer from 8k to 1k, thus freeing 7 of about 10 kilobytes of dynamic memory. Please check if it works for you.

Ameb commented 8 years ago

I'm sorry :( crashes on startup

[08:51:47] options.c:14> lg font? 0
[08:51:48] options.c:15> act pos? 1
[08:51:48] tasklists.c:85> Used: 1784, free: 8356
[08:51:48] tasklists.c:94> TaskLists module initialized, window is 0x2001d880
[08:51:48] tasks.c:263> Tasks module init - loading resources...
[08:51:48] tasks.c:267> Tasks module initialized, window is 0x2001d8e8
[08:51:48] taskinfo.c:118> TaskInfo module initialized, window is 0x2001d998
[08:51:48] statusbar.c:73> Status bar: Starting...
[08:51:48] statusbar.c:43> Status: Starting... 0x2001da14
[08:51:48] statusbar.c:73> Status bar: Waiting for JS...
[08:51:48] statusbar.c:43> Status: Waiting for JS... 0x2001dba0
[08:51:48] javascript> PebbleTasks:392 loadScript /data/data/com.getpebble.android.basalt/app_js_app_files/5841ffd7-908f-4226-b687-bf6ff64cc8c5/pebble-js-app.js
[08:51:57] javascript> PebbleTasks:1 Message timeout! Sending next.
[08:51:57] javascript> PebbleTasks:1 transactionId=10 for msg {"code":22,"scope":0,"count":2}
[08:51:57] comm.c:176> Used: 2944, free: 7196
[08:51:57] comm.c:181> Message code: 22
[08:51:57] comm.c:228> Message scope: 0
[08:52:00] javascript> PebbleTasks:372 signalLoaded
[08:52:00] javascript> PebbleTasks:374 inside try-bridge-active
[08:52:00] javascript> PebbleTasks:383 signalLoaded (finalized)
[08:52:00] javascript> PebbleTasks:1 JS is running. Okay.
[08:52:00] javascript> PebbleTasks:1 sort_status: true
[08:52:00] javascript> PebbleTasks:1 sort_date: false
[08:52:00] javascript> PebbleTasks:1 sort_due: false
[08:52:00] javascript> PebbleTasks:1 sort_alpha: false
[08:52:00] javascript> PebbleTasks:1 large_font: false
[08:52:00] javascript> PebbleTasks:1 task_actions_position: 1
[08:52:00] javascript> PebbleTasks:1 access token (from LS): ya29.CjP1AtlJz7pzw1S4ATOIaBr2HwCROIHeuQPRYwNS0P3_MSUKWK4GqUJepkjMQ80aHVPtgiM
[08:52:00] javascript> PebbleTasks:1 refresh token (from LS): 1/Z9N...
[08:52:00] javascript> PebbleTasks:1 transactionId=11 for msg {"code":0}
[08:52:00] comm.c:176> Used: 2920, free: 7220
[08:52:00] javascript> PebbleTasks:1 Failed to acquire timeline token: undefined
[08:52:00] comm.c:181> Message code: 0
[08:52:00] comm.c:219> JS Ready Callback awaiting, calling
[08:52:01] statusbar.c:73> Status bar: Connecting...
[08:52:01] statusbar.c:43> Status: Connecting... 0x2001db50
[08:52:01] comm.c:49> Querying tasklists
[08:52:01] javascript> PebbleTasks:1 Received message: {"code":10,"scope":0}
[08:52:01] javascript> PebbleTasks:1 Querying all tasklists
[08:52:01] javascript> PebbleTasks:1 xhr:success
[08:52:01] javascript> PebbleTasks:1 sending 2 items
[08:52:01] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MTUyMzQzODUxODow","title":"Otros","size":-1}
[08:52:01] javascript> PebbleTasks:1 Sending item: {"id":"MTA1NzMzNzk5NjI2NTYyNzg3NjI6MDow","title":"UNI","size":-1}
[08:52:01] javascript> PebbleTasks:1 sending finished
[08:52:01] javascript> PebbleTasks:1 Message sent for transactionId=11
[08:52:01] javascript> PebbleTasks:1 transactionId=12 for msg {"code":45,"option_id":1,"option_value":false}
[08:52:01] comm.c:325> Message sent
[08:52:01] comm.c:176> Used: 2940, free: 7200
[08:52:02] comm.c:181> Message code: 45
[08:52:02] comm.c:211> Updating option
[08:52:02] options.c:20> Updating option with key 1 to val 0
[08:52:02] javascript> PebbleTasks:1 Message sent for transactionId=12
[08:52:02] javascript> PebbleTasks:1 transactionId=13 for msg {"code":45,"option_id":2,"option_value":"1"}
[08:52:02] comm.c:176> Used: 2940, free: 7200
[08:52:02] comm.c:181> Message code: 45
[08:52:02] comm.c:211> Updating option
[08:52:02] options.c:20> Updating option with key 2 to val 49
[08:52:03] options.c:32> Wrong value, trimming
[08:52:03] javascript> PebbleTasks:1 Message sent for transactionId=13
[08:52:03] javascript> PebbleTasks:1 transactionId=14 for msg {"code":20,"scope":0,"count":2}
[08:52:03] comm.c:176> Used: 2940, free: 7200
[08:52:03] comm.c:181> Message code: 20
[08:52:03] comm.c:228> Message scope: 0
[08:52:03] comm.c:243> Items count: 2
[08:52:03] tasklists.c:110> Setting count: 2
[08:52:03] statusbar.c:43> Status: Loading... 0x2001db80
[08:52:03] javascript> PebbleTasks:1 Message sent for transactionId=14
[08:52:03] javascript> PebbleTasks:1 transactionId=15 for msg {"code":21,"scope":0,"item":0,"listId":0,"title":"Otros"}
[08:52:03] comm.c:176> Used: 2988, free: 7152
[08:52:03] comm.c:181> Message code: 21
[08:52:03] comm.c:228> Message scope: 0
[08:52:03] statusbar.c:43> Status: Loading... 50% 0x2001db80
[08:52:03] comm.c:259> Statusbar Updated: 50
[08:52:03] ault_handling.c:79> App fault! {5841ffd7-908f-4226-b687-bf6ff64cc8c5} PC: 0x7f2 LR: 0x805f5a3
Program Counter (PC)    : 0x7f2      .../src/comm.c:263
Link Register (LR)      : 0x805f5a3  ???

Build log:

➜  PebbleNotes git:(master) pebble build
Setting top to                           : /Users/ameb/Dropbox/programacion/PebbleNotes
Setting out to                           : /Users/ameb/Dropbox/programacion/PebbleNotes/build
Found Pebble SDK for chalk in:           : /Users/ameb/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/chalk
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
Found Pebble SDK for basalt in:          : /Users/ameb/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/basalt
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
Found Pebble SDK for aplite in:          : /Users/ameb/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/aplite
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
'configure' finished successfully (0.075s)
Waf: Entering directory `/Users/ameb/Dropbox/programacion/PebbleNotes/build'
[ 5/65] chalk | appinfo.auto.c:  -> build/chalk/appinfo.auto.c
[10/65] chalk | c: src/PebbleNotes.c -> build/src/PebbleNotes.c.19.o
[11/65] chalk | c: src/comm.c -> build/src/comm.c.19.o
[12/65] chalk | c: src/options.c -> build/src/options.c.19.o
[13/65] chalk | c: src/statusbar.c -> build/src/statusbar.c.19.o
[14/65] chalk | c: src/taskinfo.c -> build/src/taskinfo.c.19.o
[15/65] chalk | c: src/tasklists.c -> build/src/tasklists.c.19.o
[16/65] chalk | c: src/tasks.c -> build/src/tasks.c.19.o
[17/65] chalk | c: build/chalk/appinfo.auto.c -> build/chalk/appinfo.auto.c.19.o
[18/65] chalk | cprogram: build/src/PebbleNotes.c.19.o build/src/comm.c.19.o build/src/options.c.19.o build/src/statusbar.c.19.o build/src/taskinfo.c.19.o build/src/tasklists.c.19.o build/src/tasks.c.19.o build/chalk/appinfo.auto.c.19.o -> build/chalk/pebble-app.elf
[27/65] basalt | appinfo.auto.c:  -> build/basalt/appinfo.auto.c
[28/65] basalt | c: src/PebbleNotes.c -> build/src/PebbleNotes.c.20.o
[29/65] basalt | c: src/comm.c -> build/src/comm.c.20.o
[30/65] basalt | c: src/options.c -> build/src/options.c.20.o
[31/65] basalt | c: src/statusbar.c -> build/src/statusbar.c.20.o
[32/65] basalt | c: src/taskinfo.c -> build/src/taskinfo.c.20.o
[33/65] basalt | c: src/tasklists.c -> build/src/tasklists.c.20.o
[34/65] basalt | c: src/tasks.c -> build/src/tasks.c.20.o
[35/65] basalt | c: build/basalt/appinfo.auto.c -> build/basalt/appinfo.auto.c.20.o
[36/65] basalt | cprogram: build/src/PebbleNotes.c.20.o build/src/comm.c.20.o build/src/options.c.20.o build/src/statusbar.c.20.o build/src/taskinfo.c.20.o build/src/tasklists.c.20.o build/src/tasks.c.20.o build/basalt/appinfo.auto.c.20.o -> build/basalt/pebble-app.elf
[45/65] aplite | appinfo.auto.c:  -> build/aplite/appinfo.auto.c
[46/65] aplite | c: src/PebbleNotes.c -> build/src/PebbleNotes.c.21.o
[47/65] aplite | c: src/comm.c -> build/src/comm.c.21.o
[48/65] aplite | c: src/options.c -> build/src/options.c.21.o
[49/65] aplite | c: src/statusbar.c -> build/src/statusbar.c.21.o
[50/65] aplite | c: src/taskinfo.c -> build/src/taskinfo.c.21.o
[51/65] aplite | c: src/tasklists.c -> build/src/tasklists.c.21.o
[52/65] aplite | c: src/tasks.c -> build/src/tasks.c.21.o
[53/65] aplite | c: build/aplite/appinfo.auto.c -> build/aplite/appinfo.auto.c.21.o
[54/65] aplite | pebble-js-app.js: src/js/main.js -> build/src/js/pebble-js-app.js
[55/65] aplite | cprogram: build/src/PebbleNotes.c.21.o build/src/comm.c.21.o build/src/options.c.21.o build/src/statusbar.c.21.o build/src/taskinfo.c.21.o build/src/tasklists.c.21.o build/src/tasks.c.21.o build/aplite/appinfo.auto.c.21.o -> build/aplite/pebble-app.elf
../src/js/main.js
[56/65] chalk | pebble-app.raw.bin: build/chalk/pebble-app.elf -> build/chalk/pebble-app.raw.bin
[57/65] chalk | memory-usage: build/chalk/pebble-app.elf build/chalk/app_resources.pbpack
[58/65] basalt | pebble-app.raw.bin: build/basalt/pebble-app.elf -> build/basalt/pebble-app.raw.bin
[59/65] basalt | memory-usage: build/basalt/pebble-app.elf build/basalt/app_resources.pbpack
[60/65] aplite | pebble-app.raw.bin: build/aplite/pebble-app.elf -> build/aplite/pebble-app.raw.bin
[61/65] aplite | memory-usage: build/aplite/pebble-app.elf build/aplite/app_resources.pbpack
[62/65] chalk | inject-metadata: build/chalk/pebble-app.raw.bin build/chalk/pebble-app.elf build/chalk/app_resources.pbpack -> build/chalk/pebble-app.bin
-------------------------------------------------------
CHALK APP MEMORY USAGE
Total size of resources:        4405 bytes / 1024KB
Total footprint in RAM:         14959 bytes / 64KB
Free RAM available (heap):      50577 bytes
-------------------------------------------------------
[63/65] basalt | inject-metadata: build/basalt/pebble-app.raw.bin build/basalt/pebble-app.elf build/basalt/app_resources.pbpack -> build/basalt/pebble-app.bin
-------------------------------------------------------
BASALT APP MEMORY USAGE
Total size of resources:        4405 bytes / 1024KB
Total footprint in RAM:         14696 bytes / 64KB
Free RAM available (heap):      50840 bytes
-------------------------------------------------------
[64/65] aplite | inject-metadata: build/aplite/pebble-app.raw.bin build/aplite/pebble-app.elf build/aplite/app_resources.pbpack -> build/aplite/pebble-app.bin
-------------------------------------------------------
APLITE APP MEMORY USAGE
Total size of resources:        4405 bytes / 512KB
Total footprint in RAM:         13757 bytes / 24KB
Free RAM available (heap):      10819 bytes
-------------------------------------------------------
[65/65] aplite | PebbleNotes.pbw: build/src/js/pebble-js-app.js build/chalk/pebble-app.bin build/chalk/app_resources.pbpack build/basalt/pebble-app.bin build/basalt/app_resources.pbpack build/aplite/pebble-app.bin build/aplite/app_resources.pbpack -> build/PebbleNotes.pbw
Waf: Leaving directory `/Users/ameb/Dropbox/programacion/PebbleNotes/build'
'build' finished successfully (1.495s)

I'll try to investigate more.

Ameb commented 8 years ago

Im testing the version 1.10 and seems to be working well with 2 lists, having a big note in one of the tasks! Ill test further with bigger task lists. Hype 💃

image Seems to be working. YAY!

MarSoft commented 8 years ago

Great :smile: Closing this issue, please reopen if problems arise again.