X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DFwaOhZ6bUuC69Eq C87BwMbYzBf6i82n8CvVS3zUISfF3rUusHGyWjy+o5Qh8BPCP0ZJJ6UXbD6nI+Dy OhDjz+oFTDM7Z16nk+zRTAgU/GYbmrXwzhFAMXGPke743QOIz1aC6f0USx3uDgkM gy3+yUFUusafRHfeUfHr3Z/5+eI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ZHZfeDI2GUuubgmjaxsZZv 1pz3g=; b=LA7G5XeczPfq617LMG7qEQfRwJytAlmO+NeIjCLttbZWhp0D4dgvVY nD+UHy28jGNCTKh1okrhNAvoV7eojuhQsh9Cs/fuK1Sfkf/CKEN7FROZY+3gY92h 6gAgn28Ed1GR2dqNpw4dhghdEvldftOT0NGUzkxyaz1q2nrtUn2rM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=EMail, E-Mail, UD:avast.com, wwwavastcom X-HELO: mail-wr1-f51.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=d34JwmTFnttPNXhb3GuHzC0keBVvAWVUT/8wV8S75Ws=; b=XrIUf3H7wkQfazypwu9ipOSLJyXGlJ1/BkaBVUOVjj+Uu+fkSSHALaueS5KmmW756x pATODGUdwJlUccH+AQRIQijXJjruzEuGIMmi/J7YClA4tuthK3KaD48+rTbFrZWUT90V RosDiTeGh8rd4GL3V32jGP4NyHJa4IROwehMFU8em2h6EUH9iWnjv3WWqDhaeDfm3hZ9 EFoZXXGpuEEpcFF5qrYsYF3Uoh+3FcepqX/WlJgHt++xDCIlVfdVh5Qh/bmQAlfFHwxI JvO+2UNAJwWMeeqMAsGYm5Y/dBhDqkbdG8V1gzZsoeW4Eu3Bcig++9dt7cOck2Jj4eVU wvVw== Subject: Re: Self-compiled xorg-server 1.20.0 crashes at startup, buffer overflow To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <86847bc0-6588-41c9-7243-6810b8cbc959@gmail.com> Date: Mon, 30 Jul 2018 18:07:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w6UG7bC3020604 Am 30.07.2018 um 17:33 schrieb tumtum00: > Self-compiled xorg-server 1.20.0 crashes at startup, buffer overflow > > Hello all, > > after building xorg-server 1.20.0 without errors, the XWin binary crashes at startup due to a buffer overflow. XWin 1.20.0 from Cygwin repos works as expected. > > Setup: > - Freshly installed Win7 x86_64 VM > - Cygwin x86_64 > - Dependencies installed as described in https://x.cygwin.com/docs/cg/prog-build-prerequisites.html, plus xcb-composite-devel > - Applied the following patches to my Cygwin environment, otherwise the build would fail: > https://github.com/cygwinports/cygport/commit/1072fd872757bd7aa97fa8daf95ed13f70f56291 > https://github.com/cygwinports/cygport/commit/c4e0f0ec5f9a5a691fd19efe2bda3cdf278baef5 > - Downloaded patched xorg-server 1.20.0-2 sources as described in https://x.cygwin.com/docs/cg/prog-obtaining-source.html, "Obtaining via Cygwin setup" > > Build: > $ cygport --64 xorg-server.cygport prep > $ cygport --64 xorg-server.cygport compile > > XWin binary > /usr/src/xorg-server-1.20.0-2.src/xorg-server-1.20.0-2.x86_64/src/xserver-cygwin-1.20.0-2/x86_64-pc-cygwin/hw/xwin/XWin > is then executed. > what about doing also "install package" and properly install the resulting binary ? --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple