← Back to team overview

cairo-dock-team team mailing list archive

[Bug 788437] Re: Crash when band width is exhausted

 

Just a guess:

The function cd_weather_update_from_data() is used in
cd_weather_launch_periodic_task() in weather/src/applet-read-data.c:

myData.pTask = cairo_dock_new_task_full (myConfig.iCheckInterval,
(CairoDockGetDataAsyncFunc) cd_weather_get_distant_data,
(CairoDockUpdateSyncFunc) cd_weather_update_from_data,
(GFreeFunc) _free_shared_memory,
pSharedMemory);

_free_shared_memory(), which includes cd_weather_reset_weather_data
(&pSharedMemory->wdata), is called there. So, perhaps
cd_weather_reset_weather_data (&pSharedMemory->wdata) should be removed
from cd_weather_update_from_data()?

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Project.
https://bugs.launchpad.net/bugs/788437

Title:
  Crash when band width is exhausted

Status in Cairo-Dock : Plug-ins:
  Fix Committed
Status in “cairo-dock-plug-ins” package in Ubuntu:
  Confirmed

Bug description:
  Cairo-Dock crashed and restarted while my whole band width was used up
  by another process. The relevent part of xsession-errors is attached.
  It says that the applet 'weather' may be the culprit.

  I use a recent Bazaar version and it's the second time I see such a
  crash. In both occasions the band width was used up by another
  process.


References