Isn't the crash because cURL is freed before it's used in cd_warning()?
I mean the following lines in function cd_weather_get_distant_data() in
weather/src/applet-read-data.c:
cForecastData = cairo_dock_get_url_data (cURL, &erreur)
g_free (cURL);
if (erreur != NULL)
{
cd_warning ("while downloading forecast data:\n%s -> %s", cURL,
erreur->message);
...
...
cForecastData = cairo_dock_get_url_data (cURL, &erreur);
g_free (cURL);
if (erreur != NULL)
{
cd_warning ("while downloading forecast data:\n%s -> %s", cURL,
erreur->message);
--
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/788437
Title:
Crash when band width is exhausted
Status in Cairo-Dock : Plug-ins:
New
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.
_______________________________________________
Mailing list: https://launchpad.net/~cairo-dock-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cairo-dock-team
More help : https://help.launchpad.net/ListHelp