From nobody Thu Jan 20 16:55:57 2022 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 83BE4196258F for ; Thu, 20 Jan 2022 16:55:57 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JfpYT1lMyz3JfJ for ; Thu, 20 Jan 2022 16:55:57 +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 1917A3BF7 for ; Thu, 20 Jan 2022 16:55:57 +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 20KGtv0H085295 for ; Thu, 20 Jan 2022 16:55:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20KGtvRW085294 for ports-bugs@FreeBSD.org; Thu, 20 Jan 2022 16:55:57 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 261358] ftp/pure-ftpd 1.0.50 SIGSEGV after user login with PostgeSQL backend Date: Thu, 20 Jan 2022 16:55:57 +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: ard_1@mail.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@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 flagtypes.name attachments.created 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642697757; 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=oo7gNJs6F+hyzPl9tPM+g44bgBwuINZAVPA0g1lxw9k=; b=wzG3TsYcb1+Wnl6MS//e97Mrh7qhSbJYMFqX6uJIFWQduyK36XEIfBuqtcaEWusAx3uR3n 6D2m+yBxXyKF9OT9iBEXkWCUYJMynBot2z2LDp8/Hoiu8lgFTnW6giR9AFDOlP+hMDU8Ri DHQ7jpW093IckfC3rWhCMpxwyd2eLiIjZEKI7GPqK71zKDDdevIC5KUXXaZR4H51J1mLhS 7cSCemkJx6LVudv4NKfPfm7Ve51Ycq4k3h3G9Tx4dQbmfxJ0jOP0YlZdg9e6FDbiFlJqJ6 0Wu+oyLGn2QE96c62k0Fl4wE68LZQeXGct8eYQFwp5HkzXCrFYcE7WyJ8ZVBXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642697757; a=rsa-sha256; cv=none; b=qeJxP8uA1jRAEYhSWGawHEAOtnEcVuBTa1gNGD7FPYm2axXi4O6WMIxgjd/ohy7sArhH8l eW+ViPDWgqh8XRYuky7ffOLNStfCseQOBOjv8vjXKKcjggwGkpCebAkPbVQZGc114S0dIT aOPmrONYTagUuHnpmIECxL9xjDRWISZB8jn9898OQcjSwq1kQ8iu+UXrCyKM6FUYPoeppk i7Gm0ZuRBK4sFEIbfzopCp71wAoRzPWuzLRpKRMTp/jkhe6DlKZWZeeKB4IkXVBSXxPI/r tfC3N7FuekTEQTUbmAMtEYknfMQIEht/RAFIqtKj/XGZ/kaLaLOkgz3TEcp8aA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261358 Bug ID: 261358 Summary: ftp/pure-ftpd 1.0.50 SIGSEGV after user login with PostgeSQL backend Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: ard_1@mail.ru Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Created attachment 231180 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231180&action= =3Dedit ftp/pure-ftpd build log The latest version 1.0.50 of the pure-ftpd SIGSEGV on FreeBSD 13-RELEASE-p6 just after a user login when the PostgreSQL is being used as a user database back-end. The same server configuration was working fine with the previous version 1.= 0.49 of the pure-ftpd server. There are some warnings were spotted in the pure-ftpd build log in the sect= ion that corresponds to PostgreSQL module, but I'm not sure if those warning are the real source of those SIGSEGV. I tried to attach the lldb debugger to the pure-ftpd process just before the SIGSEGV and got the following info: ---- (lldb) attach -p 15274 Process 15274 stopped Executable module set to "/usr/local/sbin/pure-ftpd". Architecture set to: x86_64--freebsd13.0. (lldb) continue Process 15274 resuming Process 15274 stopped * thread #1, name =3D 'pure-ftpd', stop reason =3D signal SIGSEGV: invalid = address (fault address: 0x1538) frame #0: 0x000000080177025f libc.so.7`strlen + 31 libc.so.7`strlen: -> 0x80177025f <+31>: movq (%rcx), %rax 0x801770262 <+34>: movq %rax, %rdx 0x801770265 <+37>: notq %rdx 0x801770268 <+40>: addq %r8, %rax (lldb) bt * thread #1, name =3D 'pure-ftpd', stop reason =3D signal SIGSEGV: invalid = address (fault address: 0x1538) * frame #0: 0x000000080177025f libc.so.7`strlen + 31 frame #1: 0x00000000010459ca pure-ftpd`___lldb_unnamed_symbol149$$pure-= ftpd + 42 frame #2: 0x000000000104462c pure-ftpd`___lldb_unnamed_symbol144$$pure-= ftpd + 684 frame #3: 0x0000000001034760 pure-ftpd`___lldb_unnamed_symbol34$$pure-f= tpd + 544 frame #4: 0x0000000001042338 pure-ftpd`___lldb_unnamed_symbol128$$pure-= ftpd + 1048 frame #5: 0x000000000103ddc8 pure-ftpd`___lldb_unnamed_symbol68$$pure-f= tpd + 3816 frame #6: 0x000000000103e917 pure-ftpd`___lldb_unnamed_symbol74$$pure-f= tpd + 903 frame #7: 0x000000000103cbd4 pure-ftpd`___lldb_unnamed_symbol66$$pure-f= tpd + 6276 frame #8: 0x0000000001030922 pure-ftpd ---- but since the executable built from ports doesn't contain any debug symbols this info is merely useless. I need some help in building this port with the debug symbols enabled to be able to trace this issue further. --=20 You are receiving this mail because: You are the assignee for the bug.=