Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh login coredump



On Sun, 2005-05-22 at 06:04 +0000, Bart Schaefer wrote:

> OK, so ...
> 
> If you're getting a parse error on that line, the problem must be that
> `id -u` is returning *nothing* (it might very well be dumping core as
> well).  Since `id -u` only prints an integer, it must be the case that
> it's unable even to obtain that integer, which means that one of
> 
>       euid = geteuid ();
>       ruid = getuid ();
>       egid = getegid ();
>       rgid = getgid ();
> 
> is failing catastrophically.
> 
> As zsh also calls these library routines, that's probably the cause of
> the crash.

"id -u" works form within bash and zsh.

-bash-2.05b$ id -u
32033

-bash-2.05b$ zsh

[mnep@gong]~% id -u
32033

Odd.

./k

kurt von finck
-- 
http://www.mneptok.com
mneptok@xxxxxxxxxxx
--
public key at: subkeys.pgp.net
server key id: 5229D26A
fingerprint: 127A A484 ADBF A5AD E7FB 8CD2 8913 18F4 5229 D26A
--
Success is more a function of consistent common sense than it is of
genius. - An Wang
--



Messages sorted by: Reverse Date, Date, Thread, Author