Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2020 21:33:44 +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-cTgH1Oifnd@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 #9 from rozhuk.im@gmail.com ---
Ugly glib`s gio strikes again...


(In reply to Tijl Coosemans from comment #8)

Yes, but getfsstat() looks like thread safe.
https://www.freebsd.org/cgi/man.cgi?query=3Dgetfsstat&sektion=3D2&apropos=
=3D0&manpath=3DFreeBSD+12.1-RELEASE+and+Ports=20

Calling g_unix_mount_points_get() instead of g_unix_mounts_get() - very str=
ange
design for g_file_enumerator_next_file().
g_unix_mounts_get() - uses getfsstat().

g_unix_mount_points_get() - with parsing /etc/fstab looks like some staff f=
or
dbus or other software that should deal with mount/unmount only.

--=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-cTgH1Oifnd>