[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 rozhuk...@gmail.com changed: What|Removed |Added CC||rozhuk...@gmail.com --- Comme

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 --- Comment #7 from rozhuk...@gmail.com --- IMHO getfsent() is very legacy API, getmntinfo() can do same but threadsafe by design. https://www.freebsd.org/cgi/man.cgi?query=getmntinfo&apropos=0&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Por

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 --- Comment #8 from Tijl Coosemans --- (In reply to rozhuk.im from comment #7) Use of getfsent is correct here. Glib has two functions, one that returns "mount points" from /etc/fstab using getfsent and another that returns "mounts" using

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 --- Comment #9 from rozhuk...@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=getfsstat&sektion=2&apropos=0

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 --- Comment #10 from rozhuk...@gmail.com --- I dig inside this. #5 0x00080a181da9 in g_unix_mount_point_at () at /usr/local/lib/libgio-2.0.so.0 #6 0x00080a1e0811 in () at /usr/local/lib/libgio-2.0.so.0 - ignore_trash_mount() #7

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 rozhuk...@gmail.com changed: What|Removed |Added Attachment #218846||maintainer-approval?

[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

2020-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311 --- Comment #12 from rozhuk...@gmail.com --- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1707 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-xfce