/srv/irclogs.ubuntu.com/2011/08/20/#ayatana.txt

DBOany trunk testers present for Unity?00:59
DBOI need a second opinion00:59
GiulioChi all07:34
GiulioCcan i ask a question about the latest update of unity (and unity-2d)?07:34
davidcallejcastro_, ping08:05
andyrockhi all11:17
htorqueandyrock: hi! i'm sure you can help me with bug 829961 - what would i need to do to get some useful valgrind output?11:24
ubot5Launchpad bug 829961 in indicator-application (Ubuntu) "indicator-applications leaks memory" [Undecided,New] https://launchpad.net/bugs/82996111:24
andyrockhtorque, hi11:44
andyrockhtorque, G_SLICE=always-malloc G_DEBUG=gc-friendly  valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log compiz --replace11:45
andyrockand attach valgrind.log11:46
htorquecan't i just write a wrapper for the indicator to check and restart that one?11:46
htorqueand: do i need to let it run for some time or is it done after finishing the startup?11:47
andyrockmhhh... you should "valgrind" unity-panel-service11:48
andyrocknot the entire compiz11:49
andyrockso you know unity-panel-service is a dbus service11:49
htorqueyeah... indicator-datetime is a small thing, indicator-applications definitely should be looked at, and unity-panel-service goes haywire here. while idling it's fine, but when using it there are some weird jumps adding lots of ram to the process.11:50
htorqueyes11:50
andyrockso go here /usr/share/dbus-1/services11:50
andyrocknow you should comment (with a #) the Exec line in unity panel service file11:50
andyrocki don't remember the right name of the file11:51
andyrocknow you can killall unity-panel-services11:51
htorquecom.canonical.Unity.Panel.Service.service ;-)11:51
andyrockyep :)11:51
andyrockbtw you can killall unity-panel-services and run the command11:52
htorqueyeah, and then i'd start it with valgrind - when that's done can i kill it or will it finish?11:52
andyrockG_DEBUG=gc-friendly  valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log unity-panel-service11:52
andyrockyou can kill it...11:52
andyrockor just logout and login11:52
andyrockusing this method you should get useful information about the leaks...11:53
htorqueand for those processes that leak over time, should i let valgrind run for a while or doesn't that matter?11:53
andyrockuse it for a while...11:53
andyrocktry to do something with the indicators11:54
andyrocksuch as opening menu, scrolling11:54
andyrocketc.11:54
andyrock4-5 min should be enough11:54
htorquewith indicator-applications and -datetime i actually don't need to do anything - mem consumption raises all the time :-(11:54
andyrockso wait a pair of minutes than kill unity-panel-service or just logout/login11:55
htorqueunity-panel-service can be upped by opening and closing the network indicator (i think that's still called nm-applet), but i've seen leaks without doing that (just normal desktop usage)...11:55
andyrockok... update your bug description too :)11:57
htorquesure, will do11:57
htorquethanks for your help :-)11:57
andyrocki will be online for a while... if you need help ping me ;)11:57
htorquehere's an updated plot: http://img.xrmb2.net/images/731666.png  - indicator-datetime and -application show the same issue after a unity restart, so at least that's reproducible here. :)12:00
OmegaHmm, I found a very weird bug12:00
Omegayou cannot use media buttons in some applications while a right clight menu is open12:01
Omegaand in others (like firefox) it dismisses the right click menu12:01
Omegaclick*12:01
htorqueOmega: can you give an example on such an application? i can reproduce the firefox behavior.12:02
Omegabanshee12:03
OmegaI'll submit a bug report12:03
andyrockhtorque, i think that valgrind unity-panel-service should valgrind also indicator-datetime, etc.12:03
andyrockif i'm not wrong they are "dlopened" in unity-panel-service12:04
andyrockbtw tedg can give you more info ;)12:04
htorqueOmega: post it here, i'll confirm12:04
htorqueandyrock: thanks again! :-)12:05
andyrockyw12:08
Omegahtorque: can you reproduce it with banshee, or nautilus or gnome-terminal?12:12
Omega(it might affect all gtk apps)12:13
Omegahttps://bugs.launchpad.net/indicator-sound/+bug/83003712:17
ubot5Ubuntu bug 830037 in The Sound Menu "media buttons do not function correctly when right click menu is open in some applications" [Undecided,New]12:17
Omegahtorque: ^12:17
htorqueOmega: confirmed, and yes, i'm seeing the same results in those examples12:20
Omegahtorque: are you on oneiric?12:21
htorqueyes12:21
OmegaI am on natty12:21
htorqueok, i'll add that to the report12:21
Omega(was reporting it against indicator-sound the best thing to do?)12:22
htorquei got no idea myself against which package to report that12:23
htorquesomeone will sort it out, no worries12:23
=== andyrock_ is now known as andyrock
=== alecu is now known as ext3
=== ext3 is now known as alecu
manzabudhi21:02
manzabudsome one there21:02
=== yofel_ is now known as yofel
manzabudhi some one21:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!