zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: mneptok <mneptok@mneptok.com>
Cc: zsh-users@sunsite.dk
Subject: Re: zsh login coredump
Date: Sun, 22 May 2005 06:04:34 +0000	[thread overview]
Message-ID: <1050522060434.ZM9847@candle.brasslantern.com> (raw)
In-Reply-To: <1116731745.6855.13.camel@localhost.localdomain>

On May 21,  8:15pm, mneptok wrote:
} Subject: Re: zsh login coredump
}
} On Sat, 2005-05-21 at 17:17 -0700, Bart Schaefer wrote:
} 
} > Did it occur to you to look at /etc/profile line 33 or perhaps at
} > /etc/profile.d/krb5.sh line 5, to see what's causing the parse errors?
} > 
} > Has /etc/profile or /etc/profile.d/krb5.sh changed recently?  Why?
} 
} Yes, it did occur to me, but nothing jumped out at me:
} 
} 33 if [ `id -u` = 0 ]; then
} 
} 5         if [ `id -u` = 0 ] ; then

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.


  reply	other threads:[~2005-05-22  6:05 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 [this message]
2005-05-22  6:20       ` mneptok
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=1050522060434.ZM9847@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=mneptok@mneptok.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).