This is the mail archive of the
mailing list for the Cygwin project.
RE: mc segfaults
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: FischRon dot external at infineon dot com
- Cc: ptsekov at gmx dot net, <cygwin at cygwin dot com>
- Date: Thu, 5 Jun 2003 09:11:14 -0400 (EDT)
- Subject: RE: mc segfaults
- Reply-to: cygwin at cygwin dot com
On Thu, 5 Jun 2003 FischRon.firstname.lastname@example.org wrote:
> >> Starting mc or mcedit causes the following assertion violation:
> >> ** CRITICAL **: file /tmp/build/mc-4.6.0/src/utilunix.c: line 81
> >> (init_groups):
> >> assertion `pwd != NULL' failed.
> >> Segmentation fault (core dumped)
> >As far I as I can tell this error message suggests that
> >something with you
> >system is not OK. Would you please give more details about you
> >- windows version
> Windows 2000
> >, cygwin version (uname -a)
> CYGWIN_NT-5.0 mucw0291 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown
> unknown Cygwin
> >, etc. Do the files
> >/etc/passwd and /etc/group exist on your system ?
> Yes, but /etc/passwd is somewhat strange, in that my user
> id (i.e. what is returned by 'id -u') does not match the
> respective entry in /etc/passwd:
> $ id -u
> $ grep -c 56297 /etc/passwd
> There *is* an entry in /etc/passwd corresponding to my
> Windows account, but it has user id 121833.
Okay, Ronald, you're suffering from the UID wrapping problem. Cygwin UIDs
are currently 16 bit, so any number higher than 65535 will get wrapped
(and did). You can change your UID to any unique number smaller than
65535 (56297 should do as well as any other). I don't know that that's
the cause of your mc problem, but it's something to fix nonetheless.
If it turns out to fix your problem, it's a bug in 'mc', IMO.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html