** Changed in: weather-indicator
       Status: Fix Committed => Invalid

** Changed in: indicator-weather (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to indicator-weather in Ubuntu.
https://bugs.launchpad.net/bugs/745037

Title:
  100% CPU, forever

Status in Indicator-Weather:
  Invalid
Status in “indicator-weather” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: indicator-weather

  Found my desktop slow, compiz almost unusable. The reason was
  indicator-weather taking all the cpu.

  strace showed zillions of:

  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)
  write(2, "\n(indicator-weather:24083): LIBD"..., 135) = -1 EFBIG (File too 
large)

  and indeed:
  -rw------- 1 fta fta 2.0G 2011-03-29 09:36 ~/.xsession-errors

  Looking at process 24083 in that file, it started like this:

  /usr/bin/indicator-weather:1574: Warning: invalid cast from `(null)' to 
`DbusmenuMenuitem'
    gtk.main()

  (indicator-weather:24083): LIBDBUSMENU-GLIB-CRITICAL **:
  dbusmenu_menuitem_build_variant: assertion `DBUSMENU_IS_MENUITEM(mi)'
  failed

  (indicator-weather:24083): LIBDBUSMENU-GLIB-CRITICAL **:
  dbusmenu_menuitem_build_variant: assertion `DBUSMENU_IS_MENUITEM(mi)'
  failed

  (indicator-weather:24083): LIBDBUSMENU-GLIB-CRITICAL **:
  dbusmenu_menuitem_build_variant: assertion `DBUSMENU_IS_MENUITEM(mi)'
  failed

  (indicator-weather:24083): LIBDBUSMENU-GLIB-CRITICAL **: 
dbusmenu_menuitem_build_variant: assertion `DBUSMENU_IS_MENUITEM(mi)' failed
  ..

  32 millions (!!!) times until i killed it.
  So those 2Gigs of logs are all about from indicator-weather.

  Nothing obvious in indicator-weather.log. It ends like this:

  2011-03-29 09:09:19,779 - DEBUG - Indicator: updateWeather: setting rate to 15
  2011-03-29 09:10:19,779 - DEBUG - Indicator: updating refresh label, 1 min. 
ago
  2011-03-29 09:11:19,838 - DEBUG - Indicator: updating refresh label, 2 min. 
ago
  2011-03-29 09:12:19,900 - DEBUG - Indicator: updating refresh label, 3 min. 
ago
  2011-03-29 09:13:19,962 - DEBUG - Indicator: updating refresh label, 4 min. 
ago
  2011-03-29 09:14:20,023 - DEBUG - Indicator: updating refresh label, 5 min. 
ago
  2011-03-29 09:15:20,085 - DEBUG - Indicator: updating refresh label, 6 min. 
ago
  2011-03-29 09:16:20,147 - DEBUG - Indicator: updating refresh label, 7 min. 
ago
  2011-03-29 09:17:20,208 - DEBUG - Indicator: updating refresh label, 8 min. 
ago
  2011-03-29 09:18:20,270 - DEBUG - Indicator: updating refresh label, 9 min. 
ago
  2011-03-29 09:19:20,332 - DEBUG - Indicator: updating refresh label, 10 min. 
ago
  2011-03-29 09:20:20,394 - DEBUG - Indicator: updating refresh label, 11 min. 
ago
  2011-03-29 09:21:20,448 - DEBUG - Indicator: updating refresh label, 12 min. 
ago
  2011-03-29 09:22:20,509 - DEBUG - Indicator: updating refresh label, 13 min. 
ago
  2011-03-29 09:23:20,571 - DEBUG - Indicator: updating refresh label, 14 min. 
ago
  2011-03-29 09:24:19,838 - DEBUG - Indicator: updateWeather: updating weather 
for ['55863565', 'Rueil-Malmaison']
  2011-03-29 09:24:19,839 - DEBUG - Setting: getting cached weather for 55863565
  2011-03-29 09:24:19,841 - DEBUG - Indicator: getWeather for location 
'Rueil-Malmaison, Île-de-France, France'
  2011-03-29 09:24:19,841 - DEBUG - Indicator: getWeather: updating weather 
report
  2011-03-29 09:24:19,846 - DEBUG - Indicator: loading weather from cache for 
['55863565', 'Rueil-Malmaison']
  2011-03-29 09:24:19,846 - DEBUG - Indicator: menu_normal: filling in a menu 
for found places
  2011-03-29 09:24:19,854 - DEBUG - Indicator: update_label: setting label to ''
  2011-03-29 09:24:19,857 - DEBUG - Indicator: update_label: setting label to 
'7.8 C'
  2011-03-29 09:24:20,010 - DEBUG - Weather: current condition: '34', 
'('weather-clear', 'weather-clear-night', False, 'Fair')'
  2011-03-29 09:24:20,011 - DEBUG - Weather: got sunrise '07:35:00', sunset 
'20:14:00', night = False
  2011-03-29 09:24:20,011 - DEBUG - Indicator: updateWeather: got condition 
'Fair', icon 'weather-clear'
  2011-03-29 09:24:20,011 - DEBUG - Weather: day, show 'weather-clear' icon
  2011-03-29 09:24:20,013 - DEBUG - Indicator: fill in menu with params: 
city='Rueil-Malmaison', temp='Temperature: 7.8 C', humid='Humidity: 71%', 
wind='Wind: SE , 11.3 km/h', sunrise='Sunrise: 07:35 AM', sunset='Sunset: 08:14 
PM', puretemp=7.8 C
  2011-03-29 09:24:20,013 - DEBUG - Indicator: menu_normal: filling in a menu 
for found places
  2011-03-29 09:24:20,033 - DEBUG - Indicator: update_label: setting label to ''
  2011-03-29 09:24:20,039 - DEBUG - Setting: Saving cached weather data
  2011-03-29 09:24:20,043 - DEBUG - Weather: day, show 'weather-clear' icon
  2011-03-29 09:24:20,046 - DEBUG - Setting: getting cached weather for 55863565
  2011-03-29 09:24:20,063 - DEBUG - Indicator: update_label: setting label to 
'7.8 C'
  2011-03-29 09:24:20,074 - DEBUG - Setting: getting value for current
  2011-03-29 09:24:20,094 - DEBUG - Setting: setting 'current'='Fair'
  2011-03-29 09:24:20,094 - DEBUG - Setting: getting value for current
  2011-03-29 09:24:20,103 - DEBUG - Setting: setting 'current' was updated
  2011-03-29 09:24:20,109 - DEBUG - Indicator: updateWeather: setting rate to 15

  
  9:24 -> 9:36.. 8 mins to fill 2Gigs of logs. and I killed it at 16:50. I'm 
glad xsession-errors is not LARGEFILE capable.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: indicator-weather 11.03.20+repack-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Tue Mar 29 16:58:49 2011
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100331)
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/usr/bin/tcsh
  SourcePackage: indicator-weather
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/weather-indicator/+bug/745037/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to