Date: Fri, 31 May 2024 01:36:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279417] databases/sqlite3 crashes with SIGSEGV in dspam Message-ID: <bug-279417-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 ** <email> 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 <vova@domain...> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279417-7788>