From nobody Sun Mar 06 12:44:12 2022 X-Original-To: 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 F1BE219F187B for ; Sun, 6 Mar 2022 12:44:12 +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 4KBLrD5X9Dz3JsR for ; Sun, 6 Mar 2022 12:44:12 +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 9E62014D1E for ; Sun, 6 Mar 2022 12:44:12 +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 226CiC4s016919 for ; Sun, 6 Mar 2022 12:44:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 226CiCUJ016918 for bugs@FreeBSD.org; Sun, 6 Mar 2022 12:44:12 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: bugs@FreeBSD.org Subject: [Bug 262378] emulators/wine-devel won't start on CURRENT due to ASLR changes Date: Sun, 06 Mar 2022 12:44:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646570652; 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=neA4gMZ9p6dGqZTwzTUtoBwp+5TZ5CkDjE71a09PHiA=; b=MF3d75ac/WSUTsCk88qE1zpP5Gc40+S5WptjL8eCGAhwEOgKX5QVC6r3a13TztkkQQSZh/ K7mSUIFB8uF4Rb7fRhAaUITJ3nP+DmMoRnIqB6uM++ugcSNIjqmv6NqqocRZADY/DKfXAg iQdTsvwTE1LDn7RrYmuNZeDQYzWX7pL50gZbpDHYDbFLqvvXHgWiBJwm2waFvFyd0/lFyf 0g+/c+8gYr81Aw7E4jngtdFre37FXYNvo7JtmWsvS989VWnlb+8SX4+oaFqCNXHQuUVu7t PkKHBNw2pU8nXeu1zRLTiJXdYA1VGve9y9mY9zfvcxTbvVc8TQLnoPZq9CISOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646570652; a=rsa-sha256; cv=none; b=sCSy9nbSjd5wJKbaTDrvquCYJ7HsD4sToZy1n+2DQPNiA9c0Ftfcbaew7T3Czo+jxnx+6+ ixA17ElDIPFhcu1nhr3L97RiFFik7xP0clxzrMqHSciLtD7tZ/KeoSxQJvxd8OSUJJJXs/ GKfKNYSpJetO1gE/BXm42GGIdZNiJih2dQO+sQTarsRTkY7S4lSPhOrIDNpfTsnBylCwmL cnpUNy6hJQQ9cwLvosOP79+C6t4gUKg3p/oAg0T93k97mtZ/krje4vPQjw2Xc/1Wtbb6aW JCZTXL36U4D3KmphuF+nYIMQSeLAxcAAyf7h1+Qcsvw0CJCzOuQQ2jFSlVkjFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262378 Bug ID: 262378 Summary: emulators/wine-devel won't start on CURRENT due to ASLR changes Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: damjan.jov@gmail.com On recent CURRENT, Wine errors out and exits very quickly during startup: $ wine64 cmd err:virtual:virtual_alloc_first_teb wine: failed map the shared user data: c0000017 truss shows a lot of mmap() failures with errno 12. "git bisect" between releng/13 and main has narrowed it down to this range = of commits so far: dd694648ff0f..2075d00fabb Reading over the commit messages for those commits, and toggling some of the sysctls mentioned, I found this one got it working again: sysctl kern.elf64.aslr.stack=3D0 leading me to suspect the regression is from commit 1811c1e957ee1250b08b3246fc0db37ddf64b736 or thereabout. --=20 You are receiving this mail because: You are the assignee for the bug.=