From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Gesthuizen Subject: bug#32458: Acknowledgement (SDL SEGFAULTs on foreign distro) Date: Wed, 22 Aug 2018 21:18:46 +0200 Message-ID: References: <4990ca3b-560e-6049-4f54-d597bf8a2dc4@yahoo.de> <87ftz8pxde.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tJusovGCQgl2ERFgOdOR9kUnTkLeGEpCd" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsYhV-0005P8-Te for bug-guix@gnu.org; Wed, 22 Aug 2018 15:21:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsYfi-0005YH-FN for bug-guix@gnu.org; Wed, 22 Aug 2018 15:20:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsYfi-0005YB-4M for bug-guix@gnu.org; Wed, 22 Aug 2018 15:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fsYfh-00028F-US for bug-guix@gnu.org; Wed, 22 Aug 2018 15:20:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ftz8pxde.fsf@fastmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke , 32458@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tJusovGCQgl2ERFgOdOR9kUnTkLeGEpCd Content-Type: multipart/mixed; boundary="ztF58IvHPRoDvYDwnqR63eowNWIgxSr97"; protected-headers="v1" From: Tim Gesthuizen To: Marius Bakke , 32458@debbugs.gnu.org Message-ID: Subject: Re: bug#32458: Acknowledgement (SDL SEGFAULTs on foreign distro) References: <4990ca3b-560e-6049-4f54-d597bf8a2dc4@yahoo.de> <87ftz8pxde.fsf@fastmail.com> In-Reply-To: <87ftz8pxde.fsf@fastmail.com> --ztF58IvHPRoDvYDwnqR63eowNWIgxSr97 Content-Type: multipart/mixed; boundary="------------14AC2619D82330939118F0F8" Content-Language: en-US This is a multi-part message in MIME format. --------------14AC2619D82330939118F0F8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 20.08.2018 22:59, Marius Bakke wrote: > Hello again, >=20 > Just a quick feedback on the bisect script: >=20 > Tim Gesthuizen writes: >=20 >> #!/bin/sh >> >> cd $HOME/src/guix/build >> (cd ..; ./bootstrap) || exit 125 >> (../configure --localstatedir=3D/var && make -j8) || exit 125 >> PATH=3D$(./pre-inst-env guix build teeworlds | grep /gnu/store | tail= -n 1) || exit 125 >> $PATH/bin/teeworlds || exit 1 >=20 > I suggest not running "./bootstrap" and "./configure" in between runs. > "make" will invoke ./configure (with current parameters) if necessary. >=20 > Then it can be reduced to a two-liner: >=20 >=20 >=20 >=20 > Again, nice work; I look forward to fix this bug :-) >=20 I have changed the bisect script. You find the new one attached. I have never worked with autoconf so I just wanted to be sure that everything would configure correctly and not cause problems. > I think the reason > you had to skip these commits were because of ABI issues in the git > checkout (incompatible Guile objects). Well, I also somewhat forgot that I fixed teeworlds not a long time ago (see commit e402a66b07c12aadf5eed1472110684831f1f498)... so any compilations of teeworlds before were doomed to fail. This is not as bad as it sounds because remembering this gave me a commit that I could definitely verify as good. With this new starting point I started bisecting again from that commit marked as the first good one to the current commit on master marked as the first bad one. This bisect passed without a single skip. It reports that the bug was first introduced by 5318b103ff277efbac248a066d162589a9083baa (which is the first commit after a larger merge). I also noticed something odd: After I realized that using teeworlds for verifying SDL could not have been a very wise decision I wrote a little guile script using guile-sdl2 (sdl.scm). I tried to bisect using this script for SDL verification and found out that I could not find any commits where SDL2 worked for me. Even in commits where teeworlds builds and runs without a problem SDL2 will always crash. Also there are some revisions where teeworlds starts with bad resolution (the window begins on my second monitor and ends somewhere on my first monitor). But that is probably not of interest now. I hope these informations help. If I forgot something in the rush of writing this mail feel free to ask for it. --------------14AC2619D82330939118F0F8 Content-Type: application/x-shellscript; name="test.sh" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.sh" IyEvYmluL3NoCgpjZCAkSE9NRS9zcmMvZ3VpeC9idWlsZAoobWFrZSAtajggY2xlYW4tZ28g YWxsKSB8fCBleGl0IDEyNQouL3ByZS1pbnN0LWVudiBndWl4IGVudmlyb25tZW50IC0tYWQt aG9jIHRlZXdvcmxkcyAtLSB0ZWV3b3JsZHMgfHwgZXhpdCAxCg== --------------14AC2619D82330939118F0F8 Content-Type: text/x-scheme; name="sdl.scm" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="sdl.scm" (use-modules (sdl2) (sdl2 render) (sdl2 surface) (sdl2 video)) (define (draw ren) (clear-renderer ren) (present-renderer ren) (sleep 2)) (sdl-init) (call-with-window (make-window) (lambda (window) (call-with-renderer (make-renderer window) draw))) (sdl-quit) --------------14AC2619D82330939118F0F8-- --ztF58IvHPRoDvYDwnqR63eowNWIgxSr97-- --tJusovGCQgl2ERFgOdOR9kUnTkLeGEpCd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKUiC5+8BRKEri5fa0uWPaa77GdUFAlt9txsACgkQ0uWPaa77 GdU6Ngf/YjsQA0MCJwAeHHaZmkEpfv1nHSZuCrE77MzeVTRMSmkg7O5pN2K7zmDo 5g/KsycMa4TGVn2gXOeDiRrUJ5XdrLv0/msKC9D09WmpMGOy6Zf0jwOkuR2LSw/J ln6Xm0+g3A4K1RMtbD+x3v2pqxwZ6DtekA1q5S46NdYy0IVmwaS/69BNp0xo2gSt iQs4Q+dVJLtA1Nd9h+a6C8SH2lleB6D8KXPxATpCzYKIe5Xqw1nRbqPTBsw1C5Ks O4ExtzT5Rv9ckJcBXNai/Gnjf1CsukWSTO1nxq8VYS3PqjnrD4FTdChgN0AhlHZ1 3hLfstgDOE+GwYrXMRji5lqlyWGQHg== =EWGF -----END PGP SIGNATURE----- --tJusovGCQgl2ERFgOdOR9kUnTkLeGEpCd--