This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error running cygcheck 1.32


On Tue, 8 Jul 2003, Igor Pechtchanski wrote:

> On Tue, 8 Jul 2003, Kevin Van Workum wrote:
>
> > I have cygcheck version 1.32. If I run cygcheck -s, a window titled
> > "Program Error" pops up. The window says "cygcheck.exe has generated
> > errors and will be closed by Windows. You will need to restart the
> > program. An error log is being created." cygcheck stops printing
> > information after the PATH is printed. The output is below.
> >
> > What causes this problem?
> > How can I fix it?
> > Where is this error log created?
> >
> > <<begin cygcheck output>>
> >
> > Cygwin Win95/NT Configuration Diagnostics
> > Current System Time: Tue Jul 08 09:51:11 2003
> >
> > Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
> >
> > Path:   c:\cygwin\usr\X11R6\bin
> >         c:\cygwin\usr\local\bin
> >         c:\cygwin\opt\kde2\bin
> >         c:\cygwin\opt\kde2\lib
> >         c:\cygwin\usr\local\lib\qt2\bin
> >         c:\cygwin\usr\local\bin
> >         c:\cygwin\bin
> >         c:\cygwin\bin
> >         c:\WINNT\system32
> >         c:\WINNT
> >         c:\WINNT\System32\Wbem
> >         c:\Program Files\Common Files\Adaptec Shared\System
> >         c:\matlab6p5\bin\win32
> >         c:\cygwin\bin
> >         c:\cygwin\usr\X11R6\bin
> >         c:\cygwin\home\vanw\bin
> >         .
> >
> > <<end cygcheck output>>
> >
> > Kevin Van Workum, PhD
> > X-Replace-Address: yes
> > reply-to: vanw a_t nist d_o_t gov
>
> Kevin,
>
> After printing the PATH, the later versions of cygcheck attempt to execute
> "id.exe" to get user information.  For some reason this fails for you.
> Can you try executing "id" and "CYGWIN=nontsec id" on the command line and
> posting the output?  Try also running "cygcheck -s" under strace and
> seeing what is the last system call cygcheck makes before it fails.
> 	Igor

Running "id" prints:
uid=1003(vanw) gid=513(None) groups=513(None),544(Administrators),545(Users)

Running "CYGWIN=nontsec id" prints:
uid=1003(vanw) gid=513(None) groups=513(None)

I'm not sure what to look for in the strace output. Below is the
last few lines and attached is the entire output of "strace cygcheck -s".

   91   39372 [main] id 1884 etc::file_changed: fn[2] c:\cygwin\etc\group
res 0
   97   39469 [main] id 1884 etc::dir_changed: fn[2] c:\cygwin\etc\group
change_possible 0
   91   39560 [main] id 1884 etc::file_changed: fn[2] c:\cygwin\etc\group
res 0
  183   39743 [main] id 1884 writev: writev (1, 0x22FC70, 1)
   98   39841 [main] id 1884 fhandler_base::write: binary write
 2166   42007 [main] id 1884 fhandler_base::write: 77 = write (0x10022228,
77)
  197   42204 [main] id 1884 writev: 77 = write (1, 0x22FC70, 1), errno 0
  101   42305 [main] id 1884 close: close (1)
  539   42844 [main] id 1884 fhandler_base::close: closing '/dev/pipew'
handle 0x60
  160   43004 [main] id 1884 close: 0 = close (1)
  182   43186 [main] id 1884 do_exit: do_exit (0)
   97   43283 [main] id 1884 void: 0x0 = signal (20, 0x1)
   92   43375 [main] id 1884 void: 0x0 = signal (1, 0x1)
   91   43466 [main] id 1884 void: 0x0 = signal (2, 0x1)
   89   43555 [main] id 1884 void: 0x0 = signal (3, 0x1)
  125   43680 [main] id 1884 fhandler_console::close: decremented
open_fhs, now 1
  113   43793 [main] id 1884 fhandler_console::close: decremented
open_fhs, now 0
  108   43901 [main] id 1884 sigproc_terminate: entering
   96   43997 [main] id 1884 proc_terminate: nchildren 0, nzombies 0
   91   44088 [main] id 1884 proc_terminate: leaving
  175   44263 [main] id 1884 __to_clock_t: dwHighDateTime 0, dwLowDateTime
0
   90   44353 [main] id 1884 __to_clock_t: total 00000000 00000000
  106   44459 [main] id 1884 __to_clock_t: dwHighDateTime 0, dwLowDateTime
300432
   91   44550 [main] id 1884 __to_clock_t: total 00000000 0000001E
 1545   46095 [main] id 1884 _pinfo::exit: Calling ExitProcess 0

Kevin Van Workum, PhD

Attachment: strace.out
Description: Text document

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]