From nobody Fri May 31 01:36:31 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 4Vr5Lm0tPKz5LrH8 for ; Fri, 31 May 2024 01:36:32 +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 4Vr5Ll6gDbz4qy7 for ; Fri, 31 May 2024 01:36:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717119391; a=rsa-sha256; cv=none; b=D9wQh2WE2ymoYRft3dqECSORRchRp2iOH/0UfX9jJ3TcGqz9+uTQ6Dc9u0wGU8hiOuMu/1 zJsBHchBP3hxUy0lObhCZt9N79h4tv/JRXEuqK1TdSt8LnEp4hrD/KIOHWL+dW93nEulPB +DoPudsljr/WyqDT1RgqchwzSYWGanAUQ7lbrNvlMIgYpVw91empFwqO0CUV7V33vZ5n9v xq2UdphhFtVLSx2izA8jVMMPDJ6cCJckvz0BF51MbOpTo/JBridShNvQ+cDORcZc2EjQZr ILp4us4B/JQ9AKMXL6AmAPH8/PtXQwlr1w0TuClvv9IPOAWbS+GeD5ze3dJwTA== 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=1717119391; 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=bR+RVLoE0zKVcgDKVrmZ+enswdhLB5qGyvF0O4auams=; b=ZBUh13Y8IQn/dEBiJgXsSrSg6SU4Cxleza9bLQwDaNCel4XtVnxRgeRbTm16PToYmZkFXy nTyLGXIqNpK7oYMRTcjEfJ2eaiZ3Eild57+0NYT3cCvl8OKW6o2tO38qBRDxyPBdMLEc8a gSdKYO9kpRR6WHZMDbMYvekb1HwvgBdFPscphDEUUYRC73h8MxF39rYHAn2kgMxAvAry0d NrYGOP2QLIP3KefsPk345bd+5i1nt3wU18AJTcndqbUNGa4z208BYtHBE9wSGzst4smjrQ nm1EAE6lfek3np+HlObB31aiXqFOhE34gKmGj3REkhcMtDvtri1MwEpOkE1Siw== 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 4Vr5Ll67L7z13q2 for ; Fri, 31 May 2024 01:36:31 +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 44V1aVQh008997 for ; Fri, 31 May 2024 01:36:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44V1aVs8008996 for ports-bugs@FreeBSD.org; Fri, 31 May 2024 01:36:31 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 279417] databases/sqlite3 crashes with SIGSEGV in dspam Date: Fri, 31 May 2024 01:36:31 +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 Some People X-Bugzilla-Who: vova@fbsd.ru 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=3D279417 Bug ID: 279417 Summary: databases/sqlite3 crashes with SIGSEGV in dspam Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: vova@fbsd.ru CC: pavelivolkov@gmail.com CC: pavelivolkov@gmail.com Flags: maintainer-feedback?(pavelivolkov@gmail.com) sqlite3-3.45.1,1 badly break dspam - now it died with SIGSEGV: exim -d -d -M 1sCqf4-00000000HJz-3K8x ... LOG: MAIN ** R=3Ddspam_spamscan_router T=3Ddspam_spamcheck_transport: Child= process of dspam_spamcheck_transport transport (running command "/usr/local/bin/dsp= am --deliver=3Dinnocent --user "${lookup{$local_part} lsearch,ret=3Dkey {/etc/passwd}}" -- %u") was terminated by signal 11 (segmentation fault) ... if start debugger while it not yet crashed: # lldb -n dspam (lldb) c Process 91463 resuming Process 91463 stopped * thread #1, name =3D 'dspam', stop reason =3D signal SIGSEGV: invalid addr= ess (fault address: 0x121668) frame #0: 0x0000000824cbdfd4 libc.so.7`___lldb_unnamed_symbol5326 + 164 libc.so.7`___lldb_unnamed_symbol5326: -> 0x824cbdfd4 <+164>: movq (%rax), %rax 0x824cbdfd7 <+167>: movq %rax, %r13 0x824cbdfda <+170>: shrq $0x30, %r13 0x824cbdfde <+174>: leaq 0x28685b(%rip), %rcx (lldb) bt * thread #1, name =3D 'dspam', stop reason =3D signal SIGSEGV: invalid addr= ess (fault address: 0x121668) * frame #0: 0x0000000824cbdfd4 libc.so.7`___lldb_unnamed_symbol5326 + 164 frame #1: 0x00000008242d002e libsqlite3_drv.so`_sqlite_drv_query_error(error=3D"_ds_set_signature: sqlite3_prepare() failed", query=3D"INSERT INTO dspam_signature_data (signature,created_on,data) VALUES (\"6659280d914632013293170\",date('now'),?)") at sqlite3_drv.c:1339:3 frame #2: 0x00000008242d284d libsqlite3_drv.so`_ds_set_signature(CTX=3D0x000018d77d45a100, SIG=3D0x000018d77d4ba280, signature=3D"6659280d914632013293170") at sqlite3_drv.c:974:5 frame #3: 0x000000000020c51b dspam`process_message(ATX=3D0x000000082112= e210, message=3D0x000018d77d45c0e0, username=3D"vova", result_string=3D0x00000008= 2112d7a8) at dspam.c:641:17 frame #4: 0x000000000020a975 dspam`process_users(ATX=3D0x000000082112e2= 10, message=3D0x000018d77d45c0a0) at dspam.c:1892:16 frame #5: 0x0000000000209484 dspam`main(argc=3D6, argv=3D0x000000082112= f148) at dspam.c:263:14 frame #6: 0x0000000824bcbafa libc.so.7`__libc_start1 + 298 frame #7: 0x0000000000208ea0 dspam`_start + 48 (lldb) if rollback to previous sqlite3-3.45.0_1,1 - everything goes fine: LOG: MAIN =3D> vova R=3Ddspam_spamscan_router T=3Ddspam_spamcheck_= transport FreeBSD srv 14.0-RELEASE FreeBSD 14.0-RELEASE #16 f9716eee8ab4: Fri Apr 5 13:43:53 MSK 2024 root@srv:/usr/obj/usr/src/amd64.amd64/sys/SRV amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=