We have moved to a new Sailfish OS Forum. Please start new discussions there.
153

Could Jolla help fixing a bug in #1 SailfishOS app? [answered]

asked 2014-07-22 12:48:26 +0200

Morpog gravatar image

updated 2014-09-14 15:27:04 +0200

Since Mitäkuuluu is probably the most used and most wanted SailfishOS app (even though not listed in Jolla store), you should have a big interest to fix this bug.

Mitäkuuluu kinda randomly gets stuck with 100% CPU usage, but still works while it's at it. I guess lots of high power consumption notes here in TJC are because of Mitäkuuluu and people think it's caused by the latest firmware update ;)

You can see my latest bug report about it here: http://talk.maemo.org/showthread.php?p=1433581#post1433581 And the old issue on github: https://github.com/CODeRUS/mitakuuluu2/issues/141

Mitäkuuluu is fully open source, so maybe an experienced Jolla developer could have a look at it?

https://github.com/CODeRUS/mitakuuluu2

You can contact the developer (coderus) on IRC freenode in channel #sailfishos Comment of him:

It's probably caused by wrong using keepalive between reconnections, as keepalive creates inside connection class working in different thread and recreated on every reconnect. https://github.com/CODeRUS/mitakuuluu2/blob/master/server/src/Whatsapp/connection.cpp#L120

Please help him fixing this bug.

Edit: Yes, this still happens with latest release 0.8.1-4

Edit2: This still happens with latest version 0.8.2-3

Just for information, Mitäkuuluu OpenRepos Download stats:

Total Downloads: 62,698

image description

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by dsilveira
close date 2014-09-26 15:01:21.509925

Comments

1

Great idea. Mitäkuuluu is a great app, but is annoying that that bug sometimes make it eating a lot of battery.

Malkavian ( 2014-07-22 12:53:08 +0200 )edit

It's probably caused by wrong using keepalive between reconnections, as keepalive creates inside connection class working in different thread and recreated on every reconnect. https://github.com/CODeRUS/mitakuuluu2/blob/master/server/src/Whatsapp/connection.cpp#L120

coderus ( 2014-07-22 12:54:23 +0200 )edit
1

isn't it already fixed in the latest mitäkuuluu update?

till ( 2014-07-22 12:58:53 +0200 )edit
4

seems it's not fixed. i have no enough time and resources to reproduce that bug myself, and logs says almost nothing related to real issue causing high cpu usage.

coderus ( 2014-07-22 12:59:29 +0200 )edit
3

at least for me it seems to be fixed, hadn't had any high loads of since installing v.0.8.1

till ( 2014-07-22 13:03:59 +0200 )edit

1 Answer

Sort by » oldest newest most voted
43

answered 2014-09-25 02:08:38 +0200

Basil gravatar image

updated 2014-10-01 00:45:58 +0200

I was able to reproduce the bug under certain conditions, so the debug session occured.

Bug seems to be fixed, atleast I cannot reproduce it with fix applied.

Fix will be released after regression tests (i.e. soon).

edit flag offensive delete publish link more

Comments

1

Well done!

midnightoil ( 2014-09-25 22:28:23 +0200 )edit
1

great !!! thank you !

tvicol ( 2014-09-25 23:29:13 +0200 )edit
1

Well done :D you are my hero for the day :)

jakonator ( 2014-09-26 11:50:17 +0200 )edit

So just out of curiosity: What was causing this bug? :)

Alex ( 2014-10-01 01:41:06 +0200 )edit
2

@Alex unexpected loops occurred during data processing.

Basil ( 2014-10-01 08:01:50 +0200 )edit

Question tools

Follow
9 followers

Stats

Asked: 2014-07-22 12:48:26 +0200

Seen: 4,735 times

Last updated: Oct 01 '14