maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [N900] Yes, another hildon-home bug thread... (https://talk.maemo.org/showthread.php?t=86804)

sixwheeledbeast 2012-09-13 11:20

[N900] Yes, another hildon-home bug thread...
 
OK so recently I have been suffering the infamous hildon-home memory leak.
After 2 days or so hildon-home starts to pop up and use 50% of resources every minute or so getting worse until you reboot, reinstall hildon-home or killall hildon-home.
Yes, I have read all the threads on here and they all end in mystery as to what the cause was, people reflash all is happy.

Out of interest (or for testing purposes) I have slowly been un-installing applications to find the bug.
Finding the bug the hard way is not working so far after uninstalling seemingly half of my applications in HAM.

Is it possible I am fighting a losing game and actually I could un-install everything and still need to reflash?

This is my stable device and I fairly strictly, install applications from extras only. Or if they have been tested for a few months on my testing device and there important, some from testing etc.

My testing device hasn't got this issue and it has some very unstable devel applications on it.
Also installed are all applications that's currently on my stable device too.
This is why I come to ask the above question.

Here's my "maemo-list-user-packages" output.
I have noticed some of these have been uninstalled but still show in the list they have been highlighted.

Code:

100boxes        0.9.0-5        user/games        752
1up        1.1.0-2        user/utilities        148
abook-qrcode        0.4.1        user/office        104
advanced-clock-plugin        0.15.3        user/desktop        744
angrybirds        1.4.2        user/hidden        37300
birthday        0.3-1        user/desktop        88
browser-switchboard        3.3-2fremantle2        user/network        168
callerx        0.1.6        user/utilities        156
celltowerinfo        0.0.2-0maemo2        user/network        164
cl-launcher        0.3-2        user/desktop        160
colorflood        0.6-1        user/games        168
community-ssu-enabler        0.6-7        user/system        108
contact-zoom        0.3-2        user/utilities        72
cooktimer        0.0.2-7        user/utilities        684
copernicium        1.4-2        user/science        264
countdowntimer        0.5-2        user/utilities        164
cpumem-applet        0.0.3        user/utilities        64
crazychickens        0.1-7        user/hidden        916
cssufeatures        2.5-6        user/system        264
custom-operator-name-widget        0.1        user/desktop        100
cutecw        1.0-2        user/education        612
de-lite        1.0.1-1        user/games        268
decoders-support        0.4        user/multimedia        84
demine        0.1.0-fremantle1        user/games        192
epubreader        0.4        user/education        472
espeak        1.46.17        user/multimedia        48
extcalllog        0.6        user/network        180
extended-contacts-search        0.5        user/utilities        68
extkbd        1.0.3        user/system        240
fennec        7.0.1-2        user/network        36160
filebox        0.7-2        user/utilities        2048
flashlight-applet        0.4-5        user/desktop        284
fm-boost        0.2-2fremantle1        user/system        120
fmms        1.3.3        user/network        840
fmradio        2010.03.20        user/multimedia        2172
freecell4maemo        1.0.0-fremantle6        user/games        436
gboggle        1.1.3maemo3-2        user/games        5200
givemefive        0.2.20100104-2        user/games        192
gnumeric        1.10.12-2        user/office        19208
gpsdata        0.4-1        user/navigation        152
gpsjinni        0.6.20100209-2        user/multimedia        320
gtranslate        0.6.1        user/education        344
jspeed        0.1-9        user/navigation        1040
kernel-power-flasher        1:2.6.28-10power50        user/system        240
kernel-power-settings        0.16        user/system        144
leafpad        0.8.17le-0maemo1        user/utilities        944
lens-cover-reminder-sp        0.4        user/desktop        124
libqtm-bearer        1:1.0.2-maemo4+0m5+0cssu1        user/libs        292
libqtm-contacts        1:1.0.2-maemo4+0m5+0cssu1        user/libs        1000
libqtm-location        1:1.0.2-maemo4+0m5+0cssu1        user/libs        248
libqtm-messaging        1:1.0.2-maemo4+0m5+0cssu1        user/libs        840
libqtm-multimedia        1:1.0.2-maemo4+0m5+0cssu1        user/libs        1528
libqtm-publishsubscribe        1:1.0.2-maemo4+0m5+0cssu1        user/libs        236
libqtm-sensors        1:1.0.2-maemo4+0m5+0cssu1        user/libs        328
libqtm-serviceframework        1:1.0.2-maemo4+0m5+0cssu1        user/libs        384
libqtm-systeminfo        1:1.0.2-maemo4+0m5+0cssu1        user/libs        412
libqtm-versit        1:1.0.2-maemo4+0m5+0cssu1        user/libs        456
maesynth        0.1.0-5        user/multimedia        3264
maetronome        0.2.0        user/multimedia        120
mafw-lastfm        0.0.8-1        user/multimedia        200
marble        1.4.0-2        user/navigation        608
marble-maps        1.4.0-2        user/navigation        8188
mbarcode        1.0.3-1        user/utilities        28
mbarcode-plugin-qrcode        0.0.7-5        user/utilities        164
mbarcode-plugin-webrequest        0.1.15-11        user/utilities        156
mbarcode-plugin-wifi        0.1.0-13        user/utilities        76
mbarcode-plugins-all        0.0.2-1        user/utilities        36
mcsp        1.0-6        user/development        44
mirror        2.1-1        user/multimedia        188
mobile-maps-10        8.1.1        user/navigation        4564
monav-routing-daemon        0.3.release-1        user/navigation        276
movie-schedule        0.3.0-3        user/network        504
mp-fremantle-community-pr        21.2011.38-1Smaemo4.1        user/system        12
mspede        1.1.0-0        user/games        496
mussorgsky        0.5.2-3        user/multimedia        292
n900-fmrx-enabler        1.5-4+0m5        user/libs        92
netmon        0.6-1        user/utilities        160
neverputt        1.5.5-3        user/games        224
offscr-anglemeter        1.0.1        user/hidden        972
offscr-backgammon        1.0.2        user/hidden        1660
offscr-banner        1.0.1        user/hidden        856
offscr-discs        1.1.1        user/multimedia        1120
offscr-level        1.0.2        user/hidden        784
offscr-resistors        1.0.1        user/hidden        924
offscr-solitaire        1.1.3        user/hidden        1048
ogg-support        1.1.1        user/multimedia        120
omweather        0.28.13        user/desktop        4108
omweather-weather-com-stations-db        1.0.6        user/desktop        3524

openmediaplayer        20120912-1        user/multimedia        2040
openssh-client        1:5.1p1-6.maemo5        user/network        1192
openssh-server        1:5.1p1-6.maemo5        user/network        456
opera-mobile        11.5beta1-14~fremantle0        user/network        15008
papertoss        1.0.0-4        user/games        612
per-contact-ringtones        1.0.3-0        user/system        296
petrovich        0.2        user/system        76
pierogi        1.1.5        user/utilities        1420
powatool        0.1        user/utilities        88
powerphone        1.1.0        user/games        243
powertop        1.2        user/development        84
presencevnc        0.8        user/network        392
proximityd        0.2.2        user/system        88
psswitcher        0.2-3        user/system        152
pyobd        0.9.2-22        user/utilities        588
pyrecipe        0.5.1-3        user/utilities        492
qcpufreq        0.4.1-1        user/system        308
qlister        0.2-7        user/utilities        92
qmltube        1.1.1        user/multimedia        4900
qnitconverter        0.4-2        user/utilities        148
qthello        1.2-1        user/games        656
qtquickcompat        0.1.0+0cssu1        user/development        8
queen-beecon        1.3.3        user/desktop        564
reactionfaceoff        0.0.1-3        user/games        9424
recorder        0.3.4        user/multimedia        240
rootsh        1.8        user/system        32
rulerjinni        1.0.20100104-3        user/utilities        248
scoresheet        1.0-1        user/utilities        140
scout        0.1.5        user/office        240
seriesfinale        0.6.9-1        user/utilities        372
sgt-puzzles        8853-1maemo3        user/games        1704
shortcutd        0.1.4-1        user/system        240
showtime        1.2-9        user/utilities        2756
simple-brightness-applet        1.1-1maemo0        user/desktop        64
smscon        0.9.17-1        user/utilities        516
smscon-editor        0.9.12-1        user/network        476
smw        1.7-3        user/games        28048
starhash-enabler        0.2        user/system        16
status-area-orientationlock-applet        1.0+0cssu3.1        user/desktop        164
stopish        0.9.3-1        user/utilities        148
storageusage        1.1.4        user/utilities        216
sudser        0.2.0-4        user/system        36
swappolube        1.4-2        user/system        244
tar-gnu        1.22-2maemo5        user/system        2360
thembloodyducks        1.1.3        user/games        2044
theremin        1.8.1-3        user/multimedia        660
threetictac        0.7-2        user/games        308
timerjinni        1.1.20100223-2        user/utilities        264
tracker-cfg        0.3.2-4        user/system        136
tuner        0.1.3        user/multimedia        132
tweakflashver        0.4.0-maemo1        user/utilities        212
tweakr        0.0.17-2        user/system        228
unnethack        3.5.3-19        user/games        3244
vumeter        0.11.2        user/multimedia        192
wallpaeper        0.6.2        user/utilities        344
wifi-switcher        0.0.10        user/desktop        140
wifiinfo        0.10.20100104-2        user/utilities        712
wok        1.0-3        user/games        1016
wordsler        0.3.1        user/games        3800

Do we think there is an application somewhere causing this for some to be affected and others not?

Will the solution ever be found and how?

There is a possibly it's an application long un-installed that's broken something, Will what it has damaged be reinstallable?

I have install --reinstall"ed"
Code:

hildon-home
hildon-desktop
hildon-input-method
hildon-control-panel
hildon-status-menu

Answers, solutions, theories and comments all welcome.

imo 2012-09-13 11:24

Re: [N900] Yes, another hildon-home thread...
 
yes there is always a problem with hildon home ,Reboot ,most of the time is the only solution .It gets worse by the time ,so eventually you need to reflash your device .Cssu doesnt offer any help either .There should be something done about it . Thanks sixwheeled for bringing this up .

sixwheeledbeast 2012-09-14 17:50

Re: [N900] Yes, another hildon-home bug thread...
 
Can't believe I am the only one with this issue and want to try to get it solved?

Copernicus 2012-09-14 18:15

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by sixwheeledbeast (Post 1266468)
Can't believe I am the only one with this issue and want to try to get it solved?

Hmm. Not that it helps much, but I haven't yet seen this issue on my N900s. One point of interest, though -- browsing through the threads, it looks like everyone thinks widgets are the cause (although nobody seems to have pinned down a particular offending widget). I actually don't run any widgets, which may be why I haven't hit the problem yet.

Is there a difference in the widgets running on your test machine and your stable machine?

sixwheeledbeast 2012-09-14 18:31

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by Copernicus (Post 1266486)
Hmm. Not that it helps much, but I haven't yet seen this issue on my N900s. One point of interest, though -- browsing through the threads, it looks like everyone thinks widgets are the cause (although nobody seems to have pinned down a particular offending widget). I actually don't run any widgets, which may be why I haven't hit the problem yet.

Is there a difference in the widgets running on your test machine and your stable machine?

No, the first thing I did after reading all the threads on here was remove all the "not pinned down" application suggestions including all widgets.

I have even apt-get remove the whole default rss app.

I have two widgets on my test device but none on my stable.
Also as I say the applications on my stable are the same as on my testing device now.

This is why I am asking the questions as nobody has really found an answer as to what causes it.

I would hate for a bug in a "stable" extras applcation not to be found causing this misery to many not in the know.
My thoery behind it being an applcation is a non-TMO friend has the same problem but not to the same extent.

He only uses the extras catalogue and has never ever used any other repos or CSSU.

Thanks for your suggestions, I thought I was going to be talking to myself for a while...

freemangordon 2012-09-14 18:40

Re: [N900] Yes, another hildon-home bug thread...
 
maybe you should try to trace memory allocations, though I simply don't know if it is possible on the device itself

imo 2012-09-14 19:37

Re: [N900] Yes, another hildon-home bug thread...
 
3 desktop windows with 11 widgets on plus around 80 apps icons in app menu.When things are up and running in the background ,xorg shows up with 16 to 17 % of cpu usage .Hildon home also uses upto 11 % to 22 % of the cpu but only sometimes unlike that of xorg and also there is pulse audio,one of another culprit. I was really considering to do a Reflash today but since i have taken a lot of notes with penpen application ,kept me reluctant to do sucha thing . I wish it could be like any frigging fast device.Atleast there should have been some improvements after cssu .Actually without cssu ,N900 runs faster but looks a bit boring yeah . I hope some one blends something into hildon home .I read somewhere though that Xorg is the main culprit but on the other hand ,it is most necessary thing to keep the N900 up and running . Adios

Edit : between my N900 runs great .No problem what so ever ,its just that sometimes it gets so slow and kinda frustrating one . Sixwheeled problem is pretty much serious though .

peterleinchen 2012-09-14 19:40

Re: [N900] Yes, another hildon-home bug thread...
 
Hey six wheeler,

is it like the process goes crazy and takes lot of cpu? And you do not recognize it, everything works normally, but you notice it by battery drain? Killing the process will get it started again and sort it out until next time happening?

If so gimme some more info, maybe I have a workaround for you. As on my device I experience that with hildon-desktop and made myself a solution (I have desktop-cmd-exec under suspicion).

sixwheeledbeast 2012-09-14 20:03

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by peterleinchen (Post 1266526)
Hey six wheeler,

is it like the process goes crazy and takes lot of cpu? And you do not recognize it, everything works normally, but you notice it by battery drain? Killing the process will get it started again and sort it out until next time happening?

Yes fairly similar.
It happens after a few days or so of light browsing with opera, heavy media player use and fairly heavy phone use. This is my normal usage pattern for the last 2 years or more.

This bug has happened on occasion in the past but it has more recently gone from happening maybe every month or more to 1-2 days.

It seems to be related to usage as if I reboot on a Friday the bug will not appear until Tuesday-Wednesday. If I reboot on a Monday it will be normally reappear by Wednesday.
I generally use the media player and phone applications a lot less of a weekend.

hildon-home starts popping up in top with about 50% CPU every minute or so. If you leave it for another day or so, eventually you notice heavy battery drain and hildon-home not responding messages under heavy load. At this point hildon-home is using 99% for long periods of time.

Although I am interested in your workaround my aim is to populate enough information to find the problem and get it fixed.

peterleinchen 2012-09-14 20:52

Re: [N900] Yes, another hildon-home bug thread...
 
Here is my workaround. I hope it helps you to sort it out. Keep me/us informed.


I am still looking for a solution/workaround to detect "hanging" of hildon-home, not reacting on touches, and let me missing all notifications.
I can not detect and have no idea, when this happens. Any suggestions?

sixwheeledbeast 2012-09-21 15:58

Re: [N900] Yes, another hildon-home bug thread...
 
So an update on this, I decided to reflash combined.
2 days 17 hours later hildon-home bug is back, however I have some more information.

I woke up early this morning and was checking up on my TMO active topics for about 40 minutes.
My alarm clock went off and it acted really slow to silence.
Then "hildon-home not responding" checked top and low and behold it's back. Had to killall h-d to get any response back.

I am thinking is maybe connected to alarmed or my alarm clock, will do some more testing.

ade 2012-09-21 17:27

Re: [N900] Yes, another hildon-home bug thread...
 
sixwheeledbeast,
what alarmclock are you referring to? I guess the stock clock or replacement clock?
Keep in mind these are only temporary interfaces to control alarmed. They play no role to the actual alarming. It could have more impact if you leave these applications running, but I guess that is not the case.

sixwheeledbeast 2012-09-21 18:00

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by ade (Post 1270093)
sixwheeledbeast,
what alarmclock are you referring to? I guess the stock clock or replacement clock?
Keep in mind these are only temporary interfaces to control alarmed. They play no role to the actual alarming. It could have more impact if you leave these applications running, but I guess that is not the case.

Stock clock on this one at the moment.
I do realise that but wondering if they are causing a corrupt file somewhere.
Had a look in var/cache/alarmed/alarm_queue.ini
Had about 14 alarms that I wasn't using, cleared with the clock app.

Oddly I have just realised I had an active alarm but no bell symbol in the statusbar. I didn't even realise the statusbar had a symbol for an active alarm. I have had an alarm at 7:55 every morning for years with no symbol only removing and recreating the alarm has made it appear.

Are there any other files or things that I could reinstall or check?

freemangordon 2012-09-21 18:53

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by sixwheeledbeast (Post 1270112)
Stock clock on this one at the moment.
I do realise that but wondering if they are causing a corrupt file somewhere.
Had a look in var/cache/alarmed/alarm_queue.ini
Had about 14 alarms that I wasn't using, cleared with the clock app.

Oddly I have just realised I had an active alarm but no bell symbol in the statusbar. I didn't even realise the statusbar had a symbol for an active alarm. I have had an alarm at 7:55 every morning for years with no symbol only removing and recreating the alarm has made it appear.

Are there any other files or things that I could reinstall or check?

Did you make a backup of the broken file, so we can reproduce the bug?

sixwheeledbeast 2012-09-21 21:17

Re: [N900] Yes, another hildon-home bug thread...
 
1 Attachment(s)
Quote:

Originally Posted by freemangordon (Post 1270136)
Did you make a backup of the broken file, so we can reproduce the bug?

I moved it to alarm_queue.ini.bak
But it's been overwritten somehow, it seems exactly the same as the alarm_queue.ini file now.

Wish I'd copied it to the SD card now. :mad:
Here they are if it helps.

Although I have figured out the status symbol thing.
It seems if you make an alarm in alarmed application the item is added to the alarm_queue.ini but the statusbar symbol isn't shown.

It's not displayed even if you edit the event in worldclock.

Also all this playing with my alarms has caused the bug to reappear within 12 hours of my last killall h-home.
This is very unusual, it normally takes a couple of days to pop up again.

ade 2012-09-21 22:03

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by sixwheeledbeast (Post 1270215)

Although I have figured out the status symbol thing.
It seems if you make an alarm in alarmed application the item is added to the alarm_queue.ini but the statusbar symbol isn't shown.

It's not displayed even if you edit the event in worldclock.
.

Alarmed does not add the flag ALARM_EVENT_SHOW_ICON.

Your last remark is not valid for the replacement clock. After editing it will add this flag.

Acurus_ 2012-09-21 22:35

Re: [N900] Yes, another hildon-home bug thread...
 
Since the last CSSU-update my desktop is freezing once a day. The only choice is to reboot. Till the last CSSU-update this happened every five or six months, only.

peterleinchen 2012-09-22 11:48

Re: [N900] Yes, another hildon-home bug thread...
 
@ acurus_
There is no need to reboot.
killall hildon-home does the trick.
But please see here and also here for a workaround.

Maybe I should put this also into a new thread with new matching title?

sixwheeledbeast 2012-09-22 12:01

Re: [N900] Yes, another hildon-home bug thread...
 
I believe killall hildon-xyz is not advised for general use.

Quote:

Running killall hildon-desktop is not recommended, since hildon-desktop does not come back in a 100% clean state.
Reboot is the best way to bring back cleanly.
Most of the time my third party widgets used to come back of there own accord anyway.

@Acurus_ I think the best way is to find a solution to your freezes on another thread, this is not normal. You will have to provide more information tho.

peterleinchen 2012-09-22 12:18

Re: [N900] Yes, another hildon-home bug thread...
 
sixwheeeledbast, you are/were right.
I experienced also ages ago problems when having hildon-desktop killed a few times. But since I run my scripts (link few posts above) I never experienced any problems after having h_desktop restarted. Maybe it is because it is restarted while screen locked or because of PR1.3? I have no clue, but for me killing h-desktop is no problem anymore. And h-home I do a tenth times per day caused by my SIM switching and also no probs at all. What kind of "unclean state" you refer to?

AND:
let us not mix up these two things.
hildon-home problem (freezing) and hildon-desktop problem (cpu high/battery drain)!
But it seems sixwheeeledbeast suffers both probs combined.

sixwheeledbeast 2012-09-22 12:21

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by peterleinchen (Post 1270545)
What kind of "unclean state" you refer to?

Quote from the CSSU wiki pages.

peterleinchen 2012-09-22 12:30

Re: [N900] Yes, another hildon-home bug thread...
 
OK, thanks.
But I (and my N900) do live good in that unclean state :D

Maybe someone out there who can elaborate a bit more?

sixwheeledbeast 2012-09-22 13:01

Re: [N900] Yes, another hildon-home bug thread...
 
@peterleinchen
To add to your edit I am NOT having both h-d and h-h problems.

The exact issue is listed in the OP, but it is not h-h freezing or h-d causing high CPU.

It's h-h causing higher and higher CPU usage after a period of time, much like reported memory leaks on other threads.

h-d doesn't show any problems in top during the issues with h-h.

sixwheeledbeast 2012-09-26 18:37

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by sixwheeledbeast (Post 1270070)
I am thinking is maybe connected to alarmed or my alarm clock, will do some more testing.

As per link

It seem I maybe mistaken I have removed all the alarms and tested and the issue comes back after a similar amount of time.
The only things in the alarm_queue now are the default HAM and modest updates.

I can only assume that the alarm clock provokes it and/or makes it more obvious due to the lack of response under load.

Anybody got any more ideas on how to diagnose?

sixwheeledbeast 2012-09-29 23:08

Re: [N900] Yes, another hildon-home bug thread...
 
Code:

[ 5153.263458] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5183.262908] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5213.263427] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5243.263732] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5273.261901] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5303.262939] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5333.263488] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5363.263244] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5393.263549] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5423.263854] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5453.263580] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5483.262847] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5513.263275] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5543.263214] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5573.263427] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5603.263244] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5633.262847] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5636.746520] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[ 5661.376953] slide (GPIO 71) is now open
[ 5663.235443] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5693.535369] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5723.238677] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values

Should I be worrying about this in "dmesg" every 30 seconds?

sixwheeledbeast 2012-10-20 20:44

Re: [N900] Yes, another hildon-home bug thread...
 
Back again with more information.

After noticing that when the issue occurs the following also appears to use 1.1% CPU.

Code:

/sbin/mce --force-syslog
I thought I'd try killing mce.

Code:

sudo stop mce
Then hildon-home starts behaving it's self until you restart mce, then the issue is back as it was before stopping mce.

I can reproduce this over and over again.

reinob 2012-10-22 07:52

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by sixwheeledbeast (Post 1274086)
Code:

[ 5153.263458] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
...
[ 5633.262847] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values
[ 5636.746520] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2

Should I be worrying about this in "dmesg" every 30 seconds?

Have you disabled BME? are you using the in-kernel charging module?

freemangordon 2012-10-22 07:56

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by reinob (Post 1283709)
Have you disabled BME? are you using the in-kernel charging module?

I'd rather bet he has some of those CPU/mem/battery "monitoring" tools, they are famous CPU/battery eaters.

sixwheeledbeast 2012-10-22 17:52

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by reinob (Post 1283709)
Have you disabled BME? are you using the in-kernel charging module?

No I have not disabled BME. Or modified anything as regard charging module. Using KP50 on this at the moment.

Quote:

Originally Posted by freemangordon (Post 1283714)
I'd rather bet he has some of those CPU/mem/battery "monitoring" tools, they are famous CPU/battery eaters.

Can you give me an example please?
cpumem applet? Qcpufreq?
FYI my dpkg list is in OP.

The issue with "battery not calibrated" happened shortly after replacing my battery for a polarcell. It was a one off and I haven't seen this again after I rebooted. I am guessing they were two unrelated issues.

Any ideas why stopping mce fixes my hildon-home issue?

Shivu025 2012-10-24 13:16

Re: [N900] Yes, another hildon-home bug thread...
 
I am also facing the same issue, when ever MyN900 becomes slow I used to check when was the last time I restarted and it was 2days 4hrs..
And I suspect Load-applet application for this behavior.. I uninstalled this app but still MY N900 slows down after 2days..

mr_pingu 2012-11-26 08:47

Re: [N900] Yes, another hildon-home bug thread...
 
Another person who faced the problem that peterleinchen described:
-Hildon-home popup that it is not responding
-Hildon-home in a freeze state, you can scroll but the widgets are "frozen", you cannot click them (includes shortcuts)

My installed and active widgets:
- Default Calendar widget
- 3x ConnectNow widget with 3 wifi APs
- Desktop Clock Widget
- Default mediaplayer widget
- Sticky Notes widget
- Few qbw: Here I explained which ones: http://talk.maemo.org/showthread.php?p=1255342
That's generally my whole desktop setup

All QBW only update click with exception of(updated on desktop):
Max - CPU-Freq
IP
uptime
battery percentage

I suspect one of these to let H-h freeze

freemangordon 2012-11-26 09:22

Re: [N900] Yes, another hildon-home bug thread...
 
Well, install gdb and debug symbols and next time h-h is frozen just attach gdb and check where it iterates. Post the backtrace here and we all will be happy :)

peterleinchen 2012-11-26 09:26

Re: [N900] Yes, another hildon-home bug thread...
 
@mr_pingu
You do not have DCEW installed, it seems? But QBW.
And we are using about the same commands (IP, uptime, ...).
What we have in common is only mediaplayer and cal-home-widget.

I suspected DCEW to be the bad guy, but it seems it is just bad h-h implementation!?

Do you remember which desktop was shown, when this happened?
I cannot, but guess it was my first with cal-home-widget and a bunch of DCEW commands (IP, uptime, batt, ...).

peterleinchen 2012-11-26 10:08

Re: [N900] Yes, another hildon-home bug thread...
 
Hey freeman,
did not see your post in between.

Many thanks in advance for your efforts.

I do have gdb installed and just did so with h-h-dbg.
But the last time I used gdb was 15 years ago and even then I did not understand it very well ;)

So i fetched process id of h-h with
~ $ ps |grep home
1515 user 3932 T /usr/bin/hildon-home
1519 user 120m S /usr/bin/hildon-home
1998 user 29300 S /usr/bin/osso-abook-home-applet
23706 user 2844 S grep home

But both process IDs show that I attach with gdb to /usr/bin/maemo-invoker, not h-h.

So can you give us a short guide how to get the info you need, like
ps | grep home
fetch ID
gdb
attach ID
backtrace
and then post output...
Or?

--edit
with id 1519 I did not see any info
(gdb) attach 1519
Attaching to program: /usr/bin/maemo-invoker, process 1519
(no debugging symbols found)
(no debugging symbols found)
0x4018d798 in ?? ()
0x4018d798: cmn r0, #4096 ; 0x1000
(gdb)

with 1515 I saw a lot of libs loaded (all without dbg syms), but none essential
(gdb) detach
Detaching from program: /usr/bin/maemo-invoker, process 1515
(gdb) attach 1519
Attaching to program: /usr/bin/maemo-invoker, process 1519
(no debugging symbols found)
(no debugging symbols found)
0x4018d798 in ?? ()
0x4018d798: cmn r0, #4096 ; 0x1000
(gdb) detach
Detaching from program: /usr/bin/maemo-invoker, process 1519
(gdb) attach 1515
Attaching to program: /usr/bin/maemo-invoker, process 1515
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libgvfscommon.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgvfscommon.so.0
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.5.so...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.5.so...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgio-2.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /lib/ld-linux.so.3...Reading symbols from /usr/lib/debug/lib/ld-2.5.so...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.3
Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.5.so...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.5.so...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
0x401206cc in read () from /lib/libc.so.6
0x401206cc <read+28>: mov r7, r12
(gdb) backtrace
#0 0x401206cc in read () from /lib/libc.so.6
#1 0x000099dc in ?? ()
#2 0x000099dc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

freemangordon 2012-11-26 10:31

Re: [N900] Yes, another hildon-home bug thread...
 
@peterleinchen - for start install libc6 debug symbols, then continue to attach/detach/install debug symbols for every library in the backtrace which is missing them.

Have in mind that libc6 debug symbols are in SDK repo, you'll need to enable it.

The correct process ID is always the bigger one, 1519 in the case above

BTW I am on #maemo, join if you wish for some "online support" :)

EDIT:

And you definitely want to install hildon-home-dbg package ;)

EDIT2: sorry, had missed the "h-h-dbg" part in your post

peterleinchen 2012-11-26 12:03

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by freemangordon (Post 1298492)
@peterleinchen - for start install libc6 debug symbols, then continue to attach/detach/install debug symbols for every library in the backtrace which is missing them.

Have in mind that libc6 debug symbols are in SDK repo, you'll need to enable it.

Somehow I already had libc6-dbg installed :confused: (maybe crash-reporter?).
Do I really need to load all symbol libs? OK, if it occurs in one of those libs, then of course (and I will continue to fetch missing symbols).


Quote:

Originally Posted by freemangordon (Post 1298492)
The correct process ID is always the bigger one, 1519 in the case above

Assumed so, but now I know.

Quote:

Originally Posted by freemangordon (Post 1298492)
BTW I am on #maemo, join if you wish for some "online support" :)

Thanks for the offer. But until now it is just setup. Maybe will come back to your offer later, when I could reproduce and fetch more info.
But I have no idea why and when this happens. So it may take weeks to run again into it (and hopefully I can remember then (quite older now ;)) and I do have the time/opportunity to check out.
Hopefully mr_pingu (or others) may also help out ...

Quote:

Originally Posted by freemangordon (Post 1298492)
And you definitely want to install hildon-home-dbg package ;)
EDIT2: sorry, had missed the "h-h-dbg" part in your post

Sure thing, no prob :)


--edit
BTW now I get dozens of symbols loaded, but at the beginning the output looks like there are still missing a few. Need to fetch full output of gdb anyway ...

freemangordon 2012-11-27 07:15

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by peterleinchen (Post 1298509)
Do I really need to load all symbol libs? OK, if it occurs in one of those libs, then of course (and I will continue to fetch missing symbols).

gdb will load them for you, you don't have to load them by hand, but you have to have them installed.

Quote:

But I have no idea why and when this happens. So it may take weeks to run again into it (and hopefully I can remember then (quite older now ;)) and I do have the time/opportunity to check out.
Hopefully mr_pingu (or others) may also help out ...
Well, having to wait for a week or two is nothing compared to the date of the first post in this very thread :)

mr_pingu 2012-11-27 10:19

Re: [N900] Yes, another hildon-home bug thread...
 
I don't mind some testing but I still have only one device so I would like to know the impact of gdb and the debug-symbols for a day to day use phone ;)

If the impact is not that big, I will bother you, freemangordon, on IRC to get this thing up. I never used gdb before...

freemangordon 2012-11-27 10:41

Re: [N900] Yes, another hildon-home bug thread...
 
Quote:

Originally Posted by mr_pingu (Post 1298822)
I don't mind some testing but I still have only one device so I would like to know the impact of gdb and the debug-symbols for a day to day use phone ;)

If the impact is not that big, I will bother you, freemangordon, on IRC to get this thing up. I never used gdb before...

The only possible impact is rootfs space usage. Though you can move debug symbols to /opt and symlink

mr_pingu 2012-11-27 10:53

Re: [N900] Yes, another hildon-home bug thread...
 
That's no problem then, right now I have 78MB free. Also, after we got the logs we want we can remove the -dev, right? :)

Do you have time to help me, right now?


All times are GMT. The time now is 19:11.

vBulletin® Version 3.8.8