zsh-users
 help / color / mirror / code / Atom feed
From: mneptok <mneptok@mneptok.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: zsh login coredump
Date: Sat, 21 May 2005 23:20:43 -0700	[thread overview]
Message-ID: <1116742843.6855.17.camel@localhost.localdomain> (raw)
In-Reply-To: <1050522060434.ZM9847@candle.brasslantern.com>

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@mneptok.com
--
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
--


  reply	other threads:[~2005-05-22  6:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21 23:23 mneptok
2005-05-22  0:17 ` Bart Schaefer
2005-05-22  3:15   ` mneptok
2005-05-22  6:04     ` Bart Schaefer
2005-05-22  6:20       ` mneptok [this message]
2005-05-22 15:38         ` Bart Schaefer
2005-05-23  8:37           ` mneptok
2005-05-23 16:07             ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1116742843.6855.17.camel@localhost.localdomain \
    --to=mneptok@mneptok.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).