#790121 xfce4-weather-plugin: Source ID 2485 was not found when attempting to remove it

Package:
xfce4-weather-plugin
Source:
xfce4-weather-plugin
Description:
weather information plugin for the Xfce4 panel
Submitter:
Ingo
Date:
2015-06-28 11:24:03 UTC
Severity:
important
#790121#5
Date:
2015-06-27 12:07:02 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
Just running the weather-plugin in the panel of XFCE-Desktop

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I did already report that as a bug against libglib2.0-0
(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709197#38)

   * What was the outcome of this action?
Reply from Simon McVittie was:

This is not related to the g_slice_set_config thing; it is GLib
diagnosing a bug in the way xfce4-weather-plugin, or some other library
used by xfce4-weather-plugin, is using it.

Specifically, the bug is that something in xfce4-weather-plugin or a
library that it uses added an event source to GLib, for which GLib
happens to have allocated source ID 7763, and then asked to remove event
source 7763 twice. The first time, it gets removed; the second time
triggers a warning. Older GLib versions didn't warn about that; but it
is actually a potentially serious bug, because if source ID 7763 had
been reused for something else, that something else would have been
removed instead. That's why newer GLib warns when applications do this,
in an attempt to get it fixed.

My .xsession-errors still gets filled with pairwise messages like tis:

weather-Message: hole http://api.yr.no/weatherapi/sunrise/1.0/?lat=49.986395;lon=7.968520;date=2015-06-27
weather-Message: hole http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat=49.986395;lon=7.968520;msl=100

(xfdesktop:2661): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
weather-Message: hole http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat=49.986395;lon=7.968520;msl=100

(wrapper:2728): GLib-CRITICAL **: Source ID 1241 was not found when attempting to remove it
weather-Message: hole http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat=49.986395;lon=7.968520;msl=100

(wrapper:2728): GLib-CRITICAL **: Source ID 2485 was not found when attempting to remove it
weather-Message: hole http://api.yr.no/weatherapi/locationforecastlts/1.2/?lat=49.986395;lon=7.968520;msl=100

(wrapper:2728): GLib-CRITICAL **: Source ID 3724 was not found when attempting to remove it


   * What outcome did you expect instead?
Smooth opreation without the risk that some valid "Source ID" gets removed by accident.

#790121#10
Date:
2015-06-27 12:33:34 UTC
From:
To:
control: tag -1 moreinfo

Unfortunately, that's not really helpful here. Finding “a bug in xfce4
-weather-plugin or some other library” without any clue where it might
lies, isn't really possible with that kind of information.

So feel free to debug this and provide any insight if you really feel
bad about it.

Regards,

#790121#17
Date:
2015-06-27 16:06:31 UTC
From:
To:
Am 27.06.2015 um 14:33 schrieb Yves-Alexis Perez:

Thanks for your response. If I understand Simon McVittie right, this bug
might already be in earlier versions of the plugin, it just was not
reported by glib. On the other hand the entries in ~/.xsession-errors
should show up on every Jessie installation with XFCE and weather-plugin
every 20 minutes - that's the interval the data are refreshed.

Please advise which additional information is needed.

Regards, Ingo

#790121#22
Date:
2015-06-28 11:20:36 UTC
From:
To:
Try to find out if the problem lies in a library or in the weather
plugin itself, then if it's in the plugin, where exactly?

Regards,