Program not being executed at all
Kostik Belousov
kostikbel at gmail.com
Sat Dec 30 04:47:53 PST 2006
On Sat, Dec 30, 2006 at 02:47:18AM -0300, Alejandro Pulver wrote:
> Hello.
>
> 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.
>
> The output of 'ktrace' is the following (it just stops before running
> it):
>
> 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"
>
> Interestingly 'ldd' also crashes when examining it, outputting the
> following (however 'ktrace' has more information):
>
> /usr/local/bin/quake2max:
> /usr/local/bin/quake2max: signal 6
>
> 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.
>
> 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.
>
> Could someone investigate this please?
>
> Thanks and Best Regards,
> Ale
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061230/e13c6401/attachment.pgp
More information about the freebsd-hackers
mailing list