From nobody Fri Sep 06 09:27:19 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0W8m0zMQz5WT1p for ; Fri, 06 Sep 2024 09:27:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0W8l6WR8z4mjW for ; Fri, 6 Sep 2024 09:27:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725614839; a=rsa-sha256; cv=none; b=xyuU7DUyLf2BnbXPqQjuYhOvx16HvUJw7XWhUbkRZlDf3rS1majgNvvmOBi3OQsK7KVstu UBFpOIuAdzx5Wp1QmkiLy7UyMC3ESzVZ5VRMqx8tJ/U4pGPznouqfaZDO5eKdFHRyE6HTA jfS79H1IqDciuN7fA4DCPEPWhtxH5yRMXAll/OkHIh9Jv0TDuMblPnM/sZ2jRLxOcPiPoI Dvqvp9NnslNeC8Eg4SW5wXQJyucKwVbXk8AalioFIyAtukI7+ceUXmfURUciTwovAVMk6p LmR6vJe7hGM3PN/mqJ5m46S56s2YizNigp5Pi/r4Hu0zufHG4pHVc47Ete9/kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725614839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GoDKd4LqJTXocTlJrEZh4JfnNgxhuT9vAln3FnCXciY=; b=eYvi6ul/Z6hzicuDAT+THYtPRWmicUfVUqzPdcnov/h7KHGFGsB2PCuxha1KPp0iWMR1VE PT36g+/tfj/t4m+gDd2sVuP5nKKtl3PoAhCuA3Q1Pizjb2eBVIJfXA39cDliy2Y9z+9TSI +Q5zYtbeCL7EAcMq4lKSZ5aDYIQ2mp8H0U5jGp09s0vFYSEiZ8CV7HH9vO8vUaA30VcNGP pstXb+T9gbbMKGnd56FN68halRdY5QXpNotcsKynu2/2VvA2TcagOh/PlT5oRP7aMh/xmK zCL8RNzTICEczDbap0fsdO/LR1CL8CxJoA1Tbm7yj3gMiZwAfMdWkyGPzisqHA== 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 4X0W8l67zdzmh2 for ; Fri, 6 Sep 2024 09:27:19 +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 4869RJRQ066545 for ; Fri, 6 Sep 2024 09:27:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4869RJnR066544 for ports-bugs@FreeBSD.org; Fri, 6 Sep 2024 09:27:19 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: ports-bugs@FreeBSD.org Subject: [Bug 281310] sysutils/avfs - Core dump when used in x11-fm/worker, strips debug symbols Date: Fri, 06 Sep 2024 09:27:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ax61@disroot.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281310 Bug ID: 281310 Summary: sysutils/avfs - Core dump when used in x11-fm/worker, strips debug symbols Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ax61@disroot.org CC: mp39590@gmail.com Flags: maintainer-feedback?(mp39590@gmail.com) CC: mp39590@gmail.com FreeBSD provided package, for v14.1, of x11-fm/worker died just after start= ing with segmentation fault. By default (per default port options), worker is compiled with avfs port. worker worked without any issues after compiling it WITHOUT avfs. I had tried to compile sysutils/avfs with debug symbols but they were remov= ed anyway during installation of the port. Let me known if there is some other option that I could twiddle for the deb= ug symbols not be removed, or after the port has been fixed to install without symbol removal in case that could help with core dump. Then I will try agai= n. # cd sysutils/avfs # make showconfig =3D=3D=3D> The following configuration options are available for avfs-1.1.4: DAV=3Doff: Build the DAV module (requires libneon) DEBUG=3Don: Build with debugging support FUSE=3Doff: FUSE (Filesystem in Userspace) support ZSTD=3Doff: Zstandard compression support =3D=3D=3D> Use 'make config' to modify these settings # make build && make install ... checking whether to build shared library and/or fuse daemon... shared checking whether debugging is enabled... yes ... libtool: install: /usr/bin/install -c .libs/libavfs.lai /aux-build/ports/freebsd/ports/sysutils/avfs/work/stage/usr/local/lib/libav= fs.la libtool: install: /usr/bin/install -c .libs/libavfs.a /aux-build/ports/freebsd/ports/sysutils/avfs/work/stage/usr/local/lib/libav= fs.a libtool: install: strip --strip-debug /aux-build/ports/freebsd/ports/sysutils/avfs/work/stage/usr/local/lib/libav= fs.a libtool: install: chmod 644 /aux-build/ports/freebsd/ports/sysutils/avfs/work/stage/usr/local/lib/libav= fs.a libtool: install: ranlib /aux-build/ports/freebsd/ports/sysutils/avfs/work/stage/usr/local/lib/libav= fs.a ... # file /usr/local/lib/libavfs.a /usr/local/lib/libavfs.so* /usr/local/lib/libavfs.a: current ar archive /usr/local/lib/libavfs.so: symbolic link to libavfs.so.0.0.2 /usr/local/lib/libavfs.so.0: symbolic link to libavfs.so.0.0.2 /usr/local/lib/libavfs.so.0.0.2: ELF 64-bit LSB shared object, x86-64, vers= ion 1 (FreeBSD), dynamically linked, for FreeBSD 14.1 (1401502), stripped I tried to build worker with DEBUG option, did not seem to have helped ... # make build -DDEBUG && make install -DDEBUG Below is the output of "bt all" for the worker core dump FWTW ... (lldb) target create "/usr/local/bin/worker" --core "worker.core" Core file '/home//worker.core' (x86_64) was loaded. (lldb) bt all * thread #1, name =3D 'worker', stop reason =3D signal SIGSEGV * frame #0: 0x000000082b2f486b libc.so.7`___lldb_unnamed_symbol6293 at strlen.S:95 frame #1: 0x0000000822df07a9 libavfs.so.0`___lldb_unnamed_symbol272 + 2= 81 frame #2: 0x0000000822dff704 libavfs.so.0`___lldb_unnamed_symbol577 + 68 frame #3: 0x0000000822e15a78 libavfs.so.0`___lldb_unnamed_symbol814 + 1= 52 frame #4: 0x0000000822e16070 libavfs.so.0`___lldb_unnamed_symbol823 + 1= 44 frame #5: 0x0000000822df379f libavfs.so.0`___lldb_unnamed_symbol327 + 5= 91 frame #6: 0x0000000822df9320 libavfs.so.0`___lldb_unnamed_symbol467 + 80 frame #7: 0x00000000003c97c8 worker`___lldb_unnamed_symbol3755 + 184 frame #8: 0x000000000039230b worker`___lldb_unnamed_symbol3065 + 667 frame #9: 0x0000000000392962 worker`___lldb_unnamed_symbol3073 + 98 frame #10: 0x0000000000390dc1 worker`___lldb_unnamed_symbol3001 + 97 frame #11: 0x0000000000398968 worker`___lldb_unnamed_symbol3174 + 88 frame #12: 0x00000000004f6b46 worker`___lldb_unnamed_symbol7383 + 342 frame #13: 0x0000000000507c4d worker`___lldb_unnamed_symbol7433 + 1277 frame #14: 0x000000082b213916 libc.so.7`__libc_start1(argc=3D1, argv=3D0x00000008207382a8, env=3D0x000000> frame #15: 0x00000000002f87c0 worker`___lldb_unnamed_symbol920 + 48 --=20 You are receiving this mail because: You are the assignee for the bug.=