You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched through the codebase for other uses and fwupd seems to be the only location, so I wanted to bring your attention to it. fwupd might need to be patched or updated.
The workaround seems to be to ensure g_file_monitor_cancel is called explicitly before disposing of the handle.
Steps to Reproduce
Currently, it is hypothetical in fwupd, but given that this is a known issue in GFileMonitor, it would be a good idea to defensively apply the workaround (g_file_monitor_cancel before disposal of the handle).
There's only a handful of uses of g_file_monitor in fwupd. $grep -rni g_file_monitor * plugins/thunderbolt/fu-self-test.c:716: ok = g_file_monitor_cancel (monitor); plugins/thunderbolt/fu-self-test.c:771: monitor = g_file_monitor_file (f, G_FILE_MONITOR_NONE, NULL, &error); src/fu-remote-list.c:90: monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL, error); src/fu-config.c:206: self->monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL, error); src/fu-main.c:1665: priv->argv0_monitor = g_file_monitor_file (argv0_file, G_FILE_MONITOR_NONE,
Expected behavior
A clear and concise description of what you expected to happen.
fwupd version information
Please provide the version of the daemon and client.
$ fwupdmgr --version
Please note how you installed it (apt, dnf, pacman, source, etc):
fwupd device information
Please provide the output of the fwupd devices recognized in your system.
$ fwupdmgr get-devices --show-all-devices
Additional questions
Operating system and version:
Have you tried rebooting?
Is this a regression?
The text was updated successfully, but these errors were encountered:
Describe the bug
This is a report from an issue we observed in Chrome OS's infrastructure.
Steps to Reproduce
Currently, it is hypothetical in fwupd, but given that this is a known issue in GFileMonitor, it would be a good idea to defensively apply the workaround (
g_file_monitor_cancel
before disposal of the handle).There's only a handful of uses of g_file_monitor in fwupd.
$grep -rni g_file_monitor * plugins/thunderbolt/fu-self-test.c:716: ok = g_file_monitor_cancel (monitor); plugins/thunderbolt/fu-self-test.c:771: monitor = g_file_monitor_file (f, G_FILE_MONITOR_NONE, NULL, &error); src/fu-remote-list.c:90: monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL, error); src/fu-config.c:206: self->monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL, error); src/fu-main.c:1665: priv->argv0_monitor = g_file_monitor_file (argv0_file, G_FILE_MONITOR_NONE,
Expected behavior
A clear and concise description of what you expected to happen.
fwupd version information
Please provide the version of the daemon and client.
Please note how you installed it (
apt
,dnf
,pacman
, source, etc):fwupd device information
Please provide the output of the fwupd devices recognized in your system.
Additional questions
The text was updated successfully, but these errors were encountered: