![]() |
[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 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 |
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 .
|
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?
|
Re: [N900] Yes, another hildon-home bug thread...
Quote:
Is there a difference in the widgets running on your test machine and your stable machine? |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
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... |
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
|
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 . |
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). |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
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. |
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? |
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. |
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. |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
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? |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
|
Re: [N900] Yes, another hildon-home bug thread...
1 Attachment(s)
Quote:
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. |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
Your last remark is not valid for the replacement clock. After editing it will add this flag. |
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.
|
Re: [N900] Yes, another hildon-home bug thread...
|
Re: [N900] Yes, another hildon-home bug thread...
I believe killall hildon-xyz is not advised for general use.
Quote:
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. |
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. |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
|
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? |
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. |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
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? |
Re: [N900] Yes, another hildon-home bug thread...
Code:
[ 5153.263458] bq27x00-battery 2-0055: battery is not calibrated! ignoring capacity values |
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 Code:
sudo stop mce I can reproduce this over and over again. |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
|
Re: [N900] Yes, another hildon-home bug thread...
Quote:
|
Re: [N900] Yes, another hildon-home bug thread...
Quote:
Quote:
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? |
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.. |
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 |
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 :)
|
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, ...). |
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?) |
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 |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
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:
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 ... Quote:
--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 ... |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
Quote:
|
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... |
Re: [N900] Yes, another hildon-home bug thread...
Quote:
|
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