From nobody Sun Jul 23 03:58:43 2023 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 4R7qKH36yrz4mvtd for ; Sun, 23 Jul 2023 03:58:43 +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 4R7qKH250Qz3CGM for ; Sun, 23 Jul 2023 03:58:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690084723; 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=CL/21z9VcBLl2fPWtMpJI+h3XJz2ya9aBkSkrlwnK14=; b=o7YCTe2ohj0yjFDKKKDJcgPGdosOFigKN76563/elwNa3LXO3B8YhQqANSzlLjCtwXlxyB dXfixkcL2fRUJIOSvctHIzTRtzvpOLw1aMLXr1B4wj0n4nwmihaetdbYkIycogQ34dtsVu W8TD6hks7XyaDd34FtqbeoTAoAC50aiO3BMaGpiKH1bh2IRTZe5E9JLcCAexpMisiTgb/d jOo6aemhzEzDFLCn4BVFTSh65kVXdAUHTIBpK9f1kZYO3TwdKpsgt6uYzHSqY3Iz1EVHI4 1OTEUVmJbVCTkot/obOuylx3TtyrbIy+5CZKhxAe63F0PTslbf6VhhWQPMhqTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690084723; a=rsa-sha256; cv=none; b=X2DY1CHgAnGHgQ7vk0TS1/DSFuH2cFW6Bgb8hIVdMIEfu6k1KWnt5dxkKuAj02OtYAopV1 XmDbXvKPtk0HsIQAdYA5tdlA/vS0lk+9IT/C2ztMIr34BS8Ii0b67eCqjWTntNTw9IafzT NEDk0E0QGGpHC1XSwzENJ9w0d0+0JuXUmkDD+OyMITlKZhLg7GITShoCSnEwiOu9dKqWK0 O58nIs0skOl5r6tNhUH1IOrAiGBjuy/lWOWQZwbBejAlYzx6Y7NF8bYSnsQRFJy+BIx4W2 iAv1SHkcP2coF2Q+L5rhL4denMHCDrU5Hpie+wvwcxVTiyaZCGq3C0AcwC+d7g== 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 4R7qKH11LCzMR0 for ; Sun, 23 Jul 2023 03:58:43 +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 36N3whOk058803 for ; Sun, 23 Jul 2023 03:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36N3whxv058802 for ports-bugs@FreeBSD.org; Sun, 23 Jul 2023 03:58:43 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 272670] lang/ecl: ECL crashes instead of signaling condition on stack overflow Date: Sun, 23 Jul 2023 03:58:43 +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: kevinz5000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@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.mimetype 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272670 Bug ID: 272670 Summary: lang/ecl: ECL crashes instead of signaling condition on stack overflow Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: kevinz5000@gmail.com Flags: maintainer-feedback?(olgeni@FreeBSD.org) Assignee: olgeni@FreeBSD.org Attachment #243557 text/plain mime type: Created attachment 243557 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243557&action= =3Dedit Minimal reproduction ECL has a stack overflow detection mechanism that is supposed to signal a s= tack overflow condition to allow graceful recovery on stack overflow. This does = not appear to be working on the system I tested this on, using the ECL from lat= est packages. Steps to reproduce: 1. Get stack-overflow.lisp (attached) 2. ecl --load stack-overflow.lisp pid 23924 comm ecl has trashed its stack, killing terminated by signal SIGILL (Illegal instruction) I can't tell if this is the compiler stack canary, or the stack guard packa= ges, that is killing this process. Re-running through truss seems to suggest that it's the OS killing it: mmap(0x805b9b000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE,3,0x0) =3D 34455793= 664 (0x805b9b000) mmap(0x805bab000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE,3,0x0) =3D 34455859= 200 (0x805bab000) SIGNAL 11 (SIGSEGV) code=3DSEGV_ACCERR trapno=3D12 addr=3D0x7fffdfffe668 pid 23984 comm ecl has trashed its stack, killing _umtx_op(0x80023c080,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrup= ted system call' But I can't really tell and don't want to jump to conclusions. > uname -a FreeBSD foxtrot 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC amd64 > pkg info -f ecl ecl-21.2.1_1 Name : ecl Version : 21.2.1_1 Installed on : Wed Mar 22 20:43:51 2023 PDT Origin : lang/ecl Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : lisp lang Licenses : LGPL20 Maintainer : olgeni@FreeBSD.org WWW : https://common-lisp.net/project/ecl/main.html Comment : ANSI Common Lisp implementation Options : ASDF : on DFFI : on SAGE : on SOCKETS : on THREADS : on X11 : off Shared Libs required: libgmp.so.10 libgc.so.1 libgc-threaded.so.1 libffi.so.8 libatomic_ops.so.1 Shared Libs provided: libecl.so.21.2 Annotations : FreeBSD_version: 1301000 --=20 You are receiving this mail because: You are the assignee for the bug.=