[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Debugging execve problems]

From: Svante Signell
Subject: [Fwd: Debugging execve problems]
Date: Wed, 04 Jan 2012 16:44:20 +0100


Looks like this mail did not arrive to the ML. I'm resending and people
interested can contact me for the non-stripped iconx executable (1MB),
or build yourself from the Debian source.

-------- Forwarded Message --------
From: Svante Signell <svante.signell@telia.com>
Reply-to: svante.signell@telia.com
To: Bug hurd mailing list <bug-hurd@gnu.org>
Subject: Debugging execve problems
Date: Wed, 04 Jan 2012 11:10:11 +0100


Attached are test programs and a partial gdb session to hunt down the
problems with execv for the icon package:

Without . in PATH:
error in startup code
/dev/fd/3: can't read interpreter file header

With . in PATH:
PATH=.:$PATH; ./a.out
                                                        Hello, hello.

Test programs: test_execve.c (parts of src/icont/tunix.c)
gcc -g test_execve.c -> a.out
Icon executable: iconx
icon application program (source): hello.icn
icon application program (executable): hello
gdb session (results up to now, not complete!): debugging_execve

Attachment: test_execve.c
Description: Text Data

Attachment: hello.icn
Description: Text document

Attachment: hello
Description: application/shellscript

Attachment: debugging_execve
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]