Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 5 Jun 2003 09:11:14 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: FischRon DOT external AT infineon DOT com cc: ptsekov AT gmx DOT net, Subject: RE: mc segfaults In-Reply-To: <9843A649BAD7FB4686F6FCBC840D600E08036A2D@mucse001.eu.infineon.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 5 Jun 2003 FischRon DOT external AT infineon DOT com 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) > > > >Hello, > > > >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 > >environment > >- 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 > 56297 > > $ grep -c 56297 /etc/passwd > 0 > > There *is* an entry in /etc/passwd corresponding to my > Windows account, but it has user id 121833. > > Ronald 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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/