delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/05/15:57:53

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=CUY
bNTtAX+XII93ZplLBGjXBk+urlQCLPXfb7dhIFVJbYYkDjFAhhgHnaHPjOkNk2qV
f1YjtwMqKmVqHzjH8aZynO7+kW0WMFOufoG2+RVWgaoVLlypUJCXAwOABKX1rg8N
5aK3vNPlb+igIOfuCKHxQOmvwAr7FgfPxcuxHB24=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=pjqIu2GJf
f7tq87ulol0nIbIlAI=; b=u+qCl2v89DIGB6jx53i7H2B9ktVb5Yr6IKIKuzK+w
/dggCUBTi228yaseeeak+tHmDslC/AxwRI0mQbtUifOlhtnivcQB5hEOnIkGAU4i
/YAQZ3EMiywCuP9JRwfo1qa7E1mD9SNNf4VOHtEHLTka2LGjlnMU79pavkGHTikI
ec=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*matt, sk:CYGWIN_, 0.291, 20151114
X-HELO: mail-pf0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=4MqKRUbXU0gB5qL/I/Dgc3FFUUHuHnT26SCYtPV82cs=; b=ZJKnd9BXtCqAdkbVpzK1W0Eroewbhn9kIpg1rEb5QYvbn/EIuyV9R8nJqHPC/7sI5t SOreC/gWIobzGvYAu+pWRTddx7lHHReEif7ds2YRVUBy7nklMu00YWsVxtSOgGGrnCrK Wh6xDActiDDbdFzYVeU/IHm6AzhsrOs+llLNx23UltR3pLe2JG2wRaUCXg9E1JYzd4Oo TGlo8INcfmlkI5gmcxpxOP8JkJqp7yMCrlXvN8PDzISs6E0lB1rpf/gOQOZYJXnXmc5t /tDvfpkP8+uiH6p8Edm1yoOe31nVTbVWyxsnrLMwx+4FPlw8FtwHnTVBnJ9RHjKReKtL zNrw==
X-Received: by 10.98.80.140 with SMTP id g12mr4007062pfj.26.1452027452959; Tue, 05 Jan 2016 12:57:32 -0800 (PST)
To: cygwin AT cygwin DOT com
From: "Matt D." <matt AT codespunk DOT com>
Subject: Segfault when running tests for SDL 1.2.15
Message-ID: <568C2E21.9070708@codespunk.com>
Date: Tue, 5 Jan 2016 15:57:05 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0

I'm not sure where to direct this to but from my testing so far the 
segfault is only occurring when building the libraries with Cygwin. I've 
created a support script which will allow it to compile correctly under 
the latest Cygwin:

SDL:
https://www.libsdl.org/release/SDL-1.2.15.tar.gz

Support Script:
http://pastebin.com/2dGFwzhH

Drop the script in the SDL-1.2.15 directory and run it; I named mine 
./configure-cygwin for clarity. It will patch configure and configure.in 
and add some other minor changes to get it working.

Then:

make
make install

cd test
./configure
make

After the tests have been built you will find that testsprite.exe and 
testbitmap.exe seem to work but segfault when the mouse moves into the 
client area.

testgl.exe segfaults immediately.

I've build the same source using TDM-GCC with no issues.

What can be done to look into this kind of segfault?

My environment:
CYGWIN_NT-10.0-WOW 2.3.1(0.291/5/3) 2015-11-14 12:42 i686 Cygwin
Winows 10 x64, AMD FX-8370, GeForce 970


Thanks,

Matt D.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019