public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Self-compiled xorg-server 1.20.0 crashes at startup, buffer overflow
Date: Mon, 30 Jul 2018 19:06:00 -0000	[thread overview]
Message-ID: <86847bc0-6588-41c9-7243-6810b8cbc959@gmail.com> (raw)
In-Reply-To: <xXobGF2ZMAup4U6upeZeUT3opDh7hre6sWHSAxvN47Xqg3DQf19yecPcsNI_fp-hZ9wlneKpfh18sFgVad0nRvTKnojh_4yCAEF9Zw-s0a0=@protonmail.com>

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

  reply	other threads:[~2018-07-30 16:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 17:27 tumtum00
2018-07-30 19:06 ` Marco Atzeri [this message]
2018-07-31 16:15 ` tumtum00
2018-07-31 23:18 ` Jon Turney
2018-08-03 17:19   ` tumtum00
2018-08-03 18:14     ` Jon Turney
2018-08-06 14:52       ` tumtum00

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86847bc0-6588-41c9-7243-6810b8cbc959@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).