Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 14:21:50 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Alejandro Pulver <alepulver@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Program not being executed at all
Message-ID:  <20061230122149.GM21325@deviant.kiev.zoral.com.ua>
In-Reply-To: <20061230024718.22131bff@phobos.mars.bsd>
References:  <20061230024718.22131bff@phobos.mars.bsd>

next in thread | previous in thread | raw e-mail | index | archive | help

--Cf/4ySkkvY6jtT1l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 30, 2006 at 02:47:18AM -0300, Alejandro Pulver wrote:
> Hello.
>=20
> I tried to update the port I maintain "games/quake2max", a Quake II
> engine, but when I try to run the compiled executables, except for
> the dedicated server (quake2max-ded) they output "Abort" and quit.
>=20
> The output of 'ktrace' is the following (it just stops before running
> it):
>=20
> 82753 ktrace   RET   ktrace 0
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/sbin/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/bin/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/usr/sbin/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/usr/bin/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/usr/games/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/usr/local/sbin/quake2max"
> 82753 ktrace   RET   execve -1 errno 2 No such file or directory
> 82753 ktrace   CALL  execve(0xbfbfe320,0xbfbfe844,0xbfbfe84c)
> 82753 ktrace   NAMI  "/usr/local/bin/quake2max"
>=20
> Interestingly 'ldd' also crashes when examining it, outputting the
> following (however 'ktrace' has more information):
>=20
> /usr/local/bin/quake2max:
> /usr/local/bin/quake2max: signal 6
>=20
> My first thought was that it was a GCC bug, so I tried compiling it
> with 4.1 (my system is a FreeBSD 6.1-RELEASE-p1 with GCC 3.4.4
> 20050518) but it made no difference.
>=20
> Interestingly the actual "games/quake2max" port works just fine
> (version 0.44), and I couldn't see something suspicious with a quick
> look to the 'diff' output. I have attached a patch to update the port
> in the tree to the 0.45 version.
>=20
> Could someone investigate this please?
>=20
> Thanks and Best Regards,
> Ale
>=20
> P.S.: please CC me since I am not subscribed to the list.

Please, show the output of the commands
file /usr/local/bin/quake2max
readelf -ld /usr/local/bin/quake2max



--Cf/4ySkkvY6jtT1l
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFllndC3+MBN1Mb4gRAhkSAJ9i4/KeAazhnGRi8zL0D7os3hbvfACbBH/p
pIoQBGuxxZ4hknWEy+4u3lo=
=MILX
-----END PGP SIGNATURE-----

--Cf/4ySkkvY6jtT1l--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230122149.GM21325>