Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2020 22:09:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        xfce@FreeBSD.org
Subject:   [Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes
Message-ID:  <bug-250311-28711-iu8jGyXmwn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250311-28711@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250311-28711@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250311

--- Comment #10 from rozhuk.im@gmail.com ---
I dig inside this.

#5  0x000000080a181da9 in g_unix_mount_point_at () at
/usr/local/lib/libgio-2.0.so.0
#6  0x000000080a1e0811 in  () at /usr/local/lib/libgio-2.0.so.0 -
ignore_trash_mount()
#7  0x000000080a1e0624 in  () at /usr/local/lib/libgio-2.0.so.0 -
ignore_trash_path()
#8  0x000000080a1e4235 in  () at /usr/local/lib/libgio-2.0.so.0 -
g_local_file_trash() / _g_local_file_has_trash_dir()
#9  0x000000080a1e3d4e in  () at /usr/local/lib/libgio-2.0.so.0 - some proxy
staff
#10 0x000000080a116a88 in g_file_enumerator_next_file () at
/usr/local/lib/libgio-2.0.so.0

This code path check is "x-gvfs-notrash" present in mount options.

As for me, better to patch this:
GList *
g_unix_mount_points_get (guint64 *time_read)
{
  if (time_read)
    *time_read =3D get_mount_points_timestamp ();

  return _g_get_unix_mount_points ();
}

add lock and cache.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250311-28711-iu8jGyXmwn>