From owner-freebsd-desktop@freebsd.org Fri Oct 16 03:21:54 2020 Return-Path: Delivered-To: freebsd-desktop@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E055544DFEF for ; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCBJy5hqLz4MXr for ; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C388F44DED7; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) Delivered-To: desktop@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C352544E116 for ; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CCBJy4r2vz4MTr for ; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 896FEA289 for ; Fri, 16 Oct 2020 03:21:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09G3LsSG026265 for ; Fri, 16 Oct 2020 03:21:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09G3LsKC026264 for desktop@FreeBSD.org; Fri, 16 Oct 2020 03:21:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes Date: Fri, 16 Oct 2020 03:21:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bugsfreebsd@ttmath.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 03:21:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250311 Tomasz Sowa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugsfreebsd@ttmath.org --- Comment #4 from Tomasz Sowa --- I have got a similar problem with x11-fm/caja: #0 strlcpy (dst=3D0x7fffde9f2280 "\300\b \t\b", src=3D, dsize=3D) at /disk2Tb/usr/src/lib/libc/string/strlcpy.c:39 39 if ((*dst++ =3D *src++) =3D=3D '\0') [Current thread is 1 (LWP 100454)] (gdb) bt #0 strlcpy (dst=3D0x7fffde9f2280 "\300\b \t\b", src=3D, dsize=3D) at /disk2Tb/usr/src/lib/libc/string/strlcpy.c:39 #1 0x00000008019bc50e in fstabscan () at /disk2Tb/usr/src/lib/libc/gen/fstab.c:184 #2 0x00000008019bc20c in getfsent () at /disk2Tb/usr/src/lib/libc/gen/fstab.c:227 #3 0x000000080161ec06 in _g_get_unix_mount_points () at ../gio/gunixmounts.c:1436 #4 0x000000080161eab8 in g_unix_mount_points_get (time_read=3D0x0) at ../gio/gunixmounts.c:1660 #5 0x000000080161edc9 in g_unix_mount_point_at (mount_path=3D0x8055a4fe0 "/disk4T", time_read=3D0x0) at ../gio/gunixmounts.c:1687 #6 0x00000008016b1754 in ignore_trash_mount (mount=3D0x808f2fe30) at ../gio/glocalfile.c:1789 #7 0x00000008016ac9cb in ignore_trash_path (topdir=3D0x8055a4f80 "/disk4T"= ) at ../gio/glocalfile.c:1814 #8 0x00000008016ac74a in _g_local_file_has_trash_dir (dirname=3D0x80912f3e0 "/home/tomek/2/kopie", dir_dev=3D176) at ../gio/glocalfile.c:1850 #9 0x00000008016b2a8a in _g_local_file_info_get_parent_info (dir=3D0x80912= f3e0 "/home/tomek/2/kopie", attribute_matcher=3D0x807a05ea0, parent_info=3D0x7fffde9f2e28) at ../gio/glocalfileinfo.c:880 #10 0x00000008016ae2d5 in g_local_file_query_info (file=3D0x805d4c120, attributes=3D0x8072633c0 "standard::*,access::*,mountable::*,time::*,unix::*,owner::*,selinux::*,thu= mbnail::*,id::filesystem,trash::orig-path,trash::deletion-date,metadata::*", flags=3DG_FILE_QUERY_INFO_NONE, cancellable=3D0x0, error=3D0x7fffde9f2f30) = at ../gio/glocalfile.c:1217 #11 0x0000000801567c19 in g_file_query_info (file=3D0x805d4c120, attributes=3D0x8072633c0 "standard::*,access::*,mountable::*,time::*,unix::*,owner::*,selinux::*,thu= mbnail::*,id::filesystem,trash::orig-path,trash::deletion-date,metadata::*", flags=3DG_FILE_QUERY_INFO_NONE, cancellable=3D0x0, error=3D0x7fffde9f2f30) = at ../gio/gfile.c:1286 #12 0x0000000801575ccd in query_info_async_thread (task=3D0x8091551c0 [GTas= k], object=3D0x805d4c120, task_data=3D0x807a4b9d0, cancellable=3D0x0) at ../gio/gfile.c:5534 #13 0x00000008015eb4d3 in g_task_thread_pool_thread (thread_data=3D0x809155= 1c0, pool_data=3D0x0) at ../gio/gtask.c:1417 #14 0x000000080187b3c7 in g_thread_pool_thread_proxy (data=3D0x805581260) at ../glib/gthreadpool.c:354 #15 0x0000000801879a35 in g_thread_proxy (data=3D0x805c92800) at ../glib/gthread.c:820 #16 0x000000080143afec in thread_start (curthread=3D0x805ea0300) at /disk2Tb/usr/src/lib/libthr/thread/thr_create.c:292 #17 0x0000000000000000 in () The first patch fixed the problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=