From owner-freebsd-emulation@freebsd.org Sat May 23 11:49:10 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4098E2C8674 for ; Sat, 23 May 2020 11:49:10 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49ThTd3Bj2z3b1s for ; Sat, 23 May 2020 11:49:09 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id q129so5190037iod.6 for ; Sat, 23 May 2020 04:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nLkBNgoLCwtIMdrtSCOmeWOsOITPdnDecE0dEZBJwes=; b=fd5ApRyH6xJV6udjzPHwFRTLZ/Jt5xAL9cWdiEvvGzIl87RddbdzjuSSgZw7fkwvJn oUwgBehIYzTFSPAAXhbrGxFK3TcQkLXrUKtEqoQYWBTo/NyKdBzrY49v8J4YFKAXnc5I BxLpKyvGtAUpGCmtf+zh0mMtT2/odOli6oh7zSrcH4MiDXl0wLDPR81jN8LJvwnKKtJA hLmP4Ph/vZyHlVJmdIbPEPtPh/Bit+ZywWFKq1AbYvRQdwM2J9hShOZ+3AHJuU8Ws/iu Y1dE4/HdW517mWRdXAqgviVvs0VfV0ryCwHuogjJQLFVZ/QPMAusf9/T2t+xR9rjDs1J iSBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nLkBNgoLCwtIMdrtSCOmeWOsOITPdnDecE0dEZBJwes=; b=cdUAl1Imqn7KxkObFhFY1jZhppg5nuYb49iUUY8yGxDZGN7m/NYyakc2/dgVOIpT3f /gFMA2HOifxWQiB90Ka7KYbW+KOfmmPJAgy5+Sk9wI+GcPNE48lrxvnFvYwcXZ1KbySS /8HaozoWAUYWxErHwZ5i3EkRgTiTs44QbbkBT7RVjSXR4DNB6UYJDzohfk00jhPlFK/D dFa6ES5QnG1rGtw2G0jEKkjQBEDgBuOwT39E0qwmnsjU+NWsAmrZhZYrSP4jZ17I/C1l nAjuy5a2BcUHpPBAl2hlI74ypHnJ1tvJAvyrww2UNxEmZA1UavdBknsagabV3QDVzLGm KLWg== X-Gm-Message-State: AOAM533BRK0vocHPKQ8hvbRkboYHYxjqc6S+NmQ61Vx9ZKrnX4EQzOzy gSXTuFhbVFLsXbNd8+F6LHGh3OUOBXxr1JPE9AOMbVzLH08= X-Google-Smtp-Source: ABdhPJwmzrtggAwt84tpIM4GFoDfY+c9pNUbsynta44ABsxh6uVbVah/xq5niAGRIZ0v7iIiTeVkQDP18oaivy1G6j8= X-Received: by 2002:a5d:9c0f:: with SMTP id 15mr5204531ioe.63.1590234548373; Sat, 23 May 2020 04:49:08 -0700 (PDT) MIME-Version: 1.0 References: <20200523111633.GO64045@kib.kiev.ua> In-Reply-To: <20200523111633.GO64045@kib.kiev.ua> From: Damjan Jovanovic Date: Sat, 23 May 2020 13:48:17 +0200 Message-ID: Subject: Re: Wine 5.9 bugfix To: Konstantin Belousov Cc: freebsd-emulation@freebsd.org, Gerald Pfeifer X-Rspamd-Queue-Id: 49ThTd3Bj2z3b1s X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fd5ApRyH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of damjanjov@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=damjanjov@gmail.com X-Spamd-Result: default: False [-3.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.039]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-emulation@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.997]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d33:from]; NEURAL_HAM_SHORT(-0.79)[-0.793]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 11:49:10 -0000 On Sat, May 23, 2020 at 1:16 PM Konstantin Belousov wrote: > On Sat, May 23, 2020 at 11:45:43AM +0200, Damjan Jovanovic wrote: > > Hi > > > > Wine 5.9 is out, and all 3 of the bugs in 5.7 - 5.8 that were affecting > > FreeBSD should be fixed upstream now. > > > > However I accidentally introduced another bug recently, where we don't > > check the return value from an mmap() call, resulting in assertion > failures > > and possibly memory corruption... I debugged it and a patch to fix it is > > available (https://source.winehq.org/patches/data/185684). Please build > > ports with that patch applied to 5.9. Sorry. > > > > Otherwise 5.9 should be a really good release: it loads DLLs at correct > > addresses on FreeBSD, something Linux did better than us before, but we > > caught up now ;). Some of the more difficult applications like Cygwin and > > some copy-protected games should start working. > > > > Also Konstantin and other developers have fixed that rtld-elf issue in > the > > base system by changing link_map.l_addr to work the way it does on > > Linux/NetBSD/Illumos ( > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246561), which means > Wine > > will crash on start again in the next FreeBSD release (which is? 13?) as > The fix should appear in stable/12 in one week, assuming no further > regressions are reported. This means that the earliest release is 12.2. > > Great thank you, I've got a patch prepared for when it's merged.