Good afternoon!

2008-01-21 Thread Jose
I have fuond yuo! Here my page: http://nx-qit.nm.ru

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



why can not get ssh passwd prompt

2008-01-21 Thread Chen Yue

Hi Everyone

My requirement may be somehow insane but I really meet it.

First, I created an sshd daemon by cygwin on windows host (let it as host
A). Then I login host A by ssh and get a shell window. All the above is all
right for me.

Here is the problem, there is a bat file on windows host which would invoke
"ssh ". When I run the bat file, it can not deliver the passwd
prompt. However, if I use a bash script to execute the ssh command. It is
all right. I also tried to run ssh in debug mode (-vvv) in bat file, it
shows server side is ready to receive passwd.(Is it possible that the passwd
prompt is redirected to somewhere else?) On the other hand, if I run the bat
file directly from a local cmd/cygwin window in windows host, it is also OK,
so weird.

Now I have re-written the bat file in term of bash to get it to work. But I
am still curious about this issue. Does any one have ideas?


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



RE: Re: cygserver handle leak problem

2008-01-21 Thread Dave Korn
On 20 January 2008 15:20, Huang Bambo wrote:

> To duplicate the problem,
> 1. Run windows task manager , show handles of cygserver.
> 2. Run my program, it will create a message que, you will find the
> cygserver process's handle increased by 4
> 3. Run ipcs command, you will find the que.
> 4. Run ipcrm command to remove this command, you will find the
> cygserver's handles will only decrease by 2
> 5, go to 2 ,repeat the operation, you will find the handles owned by
> cygserver will only increase.

  You are seeing the cache growing after cygserver initial startup, but it
bottoms out quickly.  I ran this command to generate a script file:

$ for (( x = 1 ; x < 40 ; x++ )) ; do echo -e "./OceProxy.exe\nipcs\nipcrm-q
$(( $x * 65536 )) " ; done | tee foosh

then cut and pasted the content into a console, while running 

$ /usr/sbin/cygserver.exe --debug 2>&1  | tee cs5.log

in a separate console (CYGWIN=server in both).  The effect was to repeatedly
run your test, deleting the newly created queue after each run.  Each time it
got to OceProxy.exe, it paused, and I noted the number of handles in cygserver
using sysinternals' process explorer; then pressed Ctrl+C to kill OceProxy and
let the loop delete the queue and repeat.  Here are the numbers of handles I
observed each time OceProxy.exe was in the running state:

88
95
97
99
101
103
105
107
109
111
113
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
115
109

  The last 109 is after the entire script finished; it's the resting level at
that point, and each further time you run and then kill OceProxy.exe you see
the number of handles rise and fall 109 -> 115 -> 109.

  I'm guessing there's some kind of handle caching going on.  I saved a dump
of the handles on two successive goes round the loop and diffed them:

/win/i/xtool/attatchs/OceProxyFrameworkDemo $ grep ^- a-vs-b.txt
-0x168  Event   0x001F0003  0x8213F7A0
-0x16C  Event   0x001F0003  0x81B24140
-0x160  File\Device\NamedPipe\cygwin_lpc0x0012019F  0x82256F88
-0x180  File\Device\NamedPipe\cygwin_lpc0x0012019F  0x8214A1C8
-0x144  Process OceProxy.exe(324)   0x001F0FFF  0x81D28BA0
-0x178  Process OceProxy.exe(2064)  0x001F0FFF  0x81DE0020
/win/i/xtool/attatchs/OceProxyFrameworkDemo $ grep ^\+ a-vs-b.txt
+0x160  Event   0x001F0003  0x821666C0
+0x17C  Event   0x001F0003  0x81E64520
+0x180  Event   0x001F0003  0x8225DCA0
+0x16C  File\Device\NamedPipe\cygwin_lpc0x0012019F  0x81416028
+0x184  File\Device\NamedPipe\cygwin_lpc0x0012019F  0x81662AA8
+0x144  Process OceProxy.exe(508)   0x001F0FFF  0x818C8020
+0x18C  Process OceProxy.exe(2084)  0x001F0FFF  0x81DA3920
+0x178  Thread  cygserver.exe(1516): 2008   0x001F03FF  0x814891A0

  So, each time we run the test, then stop it and delete the queue, it opens
and closes two events, two files and two process handles; and at least to
start with, it gains a thread and an event each time round.  Perhaps there's
some kind of cache of worker threads in cygserver, each of which has a
shutdown event associated with it?  It may be that it's firing up new threads
more often than it needs considering that the old queue has gone away.  We'll
need to take a look at the source - I've no idea how cygserver works
internally.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: ssh interactive shell not working

2008-01-21 Thread Larry Hall (Cygwin)

Kyle A. Dawson wrote:

After looking at all the config files, everything looked ok.  I noticed that
some files have permission weird, with group as  ?.  I noticed that my
group file only had groups from the domain not local groups.  I then append
all the local groups to the /etc/group file, and BAM, everything works.


mkgroup -l >> /etc/group

Thanks for everyone that gave suggestions, I learned a lot about debugging
ssh and cygwin.  Thanks Larry for all your help, very good problem solving
steps, if I follow the correctly ;)



Thanks for the feedback.  Should help others with any similar problem.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Jose Ramon Huerga
I'm afraid that setup.exe is still crashing.

Any clues?

Thank you.




Event Type: Error
Event Source: Application Error
Event Category: None
Event ID: 1000
Date:  21/01/2008
Time:  15:08:05
User:  N/A
Computer: DF3PS53J
Description:
Faulting application setup[1].exe, version 0.0.0.0, faulting module
setup[1].exe, version 0.0.0.0, fault address 0x000ac7e3.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 73 65 74   ure  set
0018: 75 70 5b 31 5d 2e 65 78   up[1].ex
0020: 65 20 30 2e 30 2e 30 2e   e 0.0.0.
0028: 30 20 69 6e 20 73 65 74   0 in set
0030: 75 70 5b 31 5d 2e 65 78   up[1].ex
0038: 65 20 30 2e 30 2e 30 2e   e 0.0.0.
0040: 30 20 61 74 20 6f 66 66   0 at off
0048: 73 65 74 20 30 30 30 61   set 000a
0050: 63 37 65 33 0d 0a c7e3..

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



Re: hard link error on Vista with recent snapshots

2008-01-21 Thread Corinna Vinschen
On Jan 19 07:30, Herb Maeder wrote:
> I'm seeing a error when creating hard links under Vista using the 
> cygwin1.dll snapshots starting at cygwin1-20070802.dll (through at 
> least cygwin1-20080112.dll). 
> 
> To reproduce:
>   * stop/exit all cygwin processes
>   * replace bin/cygwin1.dll with one of the snapshot dlls above
>   * fire up bash and run the following commands:
>   % rm -rf foo bar
>   % touch foo
>   % ln foo bar
>   ln: creating hard link `bar' => `foo': Permission denied

Thanks for the report.  I fixed this in CVS.  As it turned out, you
can't open a file with access flags set to 0.  ZwOpenFile requires at
least READ_CONTROL access.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: hard link error on Vista with recent snapshots

2008-01-21 Thread Corinna Vinschen
On Jan 21 15:53, Corinna Vinschen wrote:
> On Jan 19 07:30, Herb Maeder wrote:
> > I'm seeing a error when creating hard links under Vista using the 
> > cygwin1.dll snapshots starting at cygwin1-20070802.dll (through at 
> > least cygwin1-20080112.dll). 
> > 
> > To reproduce:
> >   * stop/exit all cygwin processes
> >   * replace bin/cygwin1.dll with one of the snapshot dlls above
> >   * fire up bash and run the following commands:
> >   % rm -rf foo bar
> >   % touch foo
> >   % ln foo bar
> >   ln: creating hard link `bar' => `foo': Permission denied
> 
> Thanks for the report.  I fixed this in CVS.  As it turned out, you
> can't open a file with access flags set to 0.  ZwOpenFile requires at
^
...in Vista/Longhorn.

> least READ_CONTROL access.
 
 ...in Vista/Longhorn.  0 works fine in earlier
Windows versions.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Larry Hall (Cygwin)

Jose Ramon Huerga wrote:

I'm afraid that setup.exe is still crashing.

Any clues?



Have you followed the advice given previously in this thread?



If so, please provide some details of what you attempted and the
problems you saw.  If not, please read the advice given already
and report back your results.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Jose Ramon Huerga
 I tried with setup-2.575.exe and setup-2.578.exe, and they crash too.

Below you can see the last lines of filemon.exe.


Thanks in advance.

Jose R.


//



129817:08:38setup[1].exe:4324   WRITE
C:\DOCUME~1\jrhuerga\LOCALS~1\Temp\77a6_appcompat.txt   SUCCESS Offset:
788 Length: 1666
129917:08:38setup[1].exe:4324   DIRECTORY   
C:\WINDOWS\system32\NO MORE
FILES   FileBothDirectoryInformation
130017:08:38setup[1].exe:4324   CLOSE   C:\WINDOWS\system32\
SUCCESS 
130117:08:38setup[1].exe:4324   WRITE
C:\DOCUME~1\jrhuerga\LOCALS~1\Temp\77a6_appcompat.txt   SUCCESS Offset:
2454 Length: 42
130217:08:38setup[1].exe:4324   CLOSE   
C:\DOCUME~1\jrhuerga\LOCALS~1\Temp\77a6_appcompat.txt   SUCCESS
131017:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\system32\Apphelp.dll SUCCESS Attributes: A
131117:08:38setup[1].exe:4324   OPEN
C:\WINDOWS\system32\Apphelp.dll SUCCESS Options:
Open  Access: 00100020
131217:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\system32\Apphelp.dll SUCCESS Length: 126976
131317:08:38setup[1].exe:4324   CLOSE   
C:\WINDOWS\system32\Apphelp.dll SUCCESS 
131417:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\system32\Apphelp.dll SUCCESS Attributes: A
131517:08:38setup[1].exe:4324   OPEN
C:\WINDOWS\system32\Apphelp.dll SUCCESS Options:
Open  Access: 00100020
131617:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\system32\Apphelp.dll SUCCESS FileNameInformation
131717:08:38setup[1].exe:4324   CLOSE   
C:\WINDOWS\system32\Apphelp.dll SUCCESS 
131817:08:38setup[1].exe:4324   OPEN
C:\WINDOWS\AppPatch\sysmain.sdb SUCCESS Options:
Open  Access: Read
131917:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\AppPatch\sysmain.sdb SUCCESS Length: 1190796
132017:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\AppPatch\sysmain.sdb SUCCESS Length: 1190796
132117:08:38setup[1].exe:4324   QUERY
INFORMATION C:\WINDOWS\AppPatch\sysmain.sdb SUCCESS Length: 1190796
132217:08:38setup[1].exe:4324   OPEN
C:\WINDOWS\AppPatch\systest.sdb NOT
FOUND   Options: Open  Access: Read
132317:08:38setup[1].exe:4324   OPENC:\WINDOWS\system32\
SUCCESS Options:
Open Directory  Access: 0011
132417:08:38setup[1].exe:4324   DIRECTORY   
C:\WINDOWS\system32\SUCCESS FileBothDirectoryInformation:
dwwin.exe
132517:08:38setup[1].exe:4324   CLOSE   C:\WINDOWS\system32\
SUCCESS 
132717:08:38setup[1].exe:4324   OPENC:\ SUCCESS 
Options: Open
Directory  Access: 0011
132817:08:38setup[1].exe:4324   DIRECTORY   C:\ SUCCESS 
FileBothDirectoryInformation:
WINDOWS
132917:08:38setup[1].exe:4324   CLOSE   C:\ SUCCESS 
133017:08:38setup[1].exe:4324   OPENC:\WINDOWS\ SUCCESS 
Options: Open
Directory  Access: 0011
133117:08:38setup[1].exe:4324   DIRECTORY   C:\WINDOWS\ 
SUCCESS FileBothDirectoryInformation:
system32
133217:08:38setup[1].exe:4324   CLOSE   C:\WINDOWS\ SUCCESS 

133317:08:38setup[1].exe:4324   OPENC:\WINDOWS\system32\
SUCCESS Options:
Open Directory  Access: 0011
133417:08:38setup[1].exe:4324   DIRECTORY   
C:\WINDOWS\system32\SUCCESS FileBothDirectoryInformation:
dwwin.exe
133517:08:38setup[1].exe:4324   CLOSE   C:\WINDOWS\system32\
SUCCESS 
133617:08:38setup[1].exe:4324   READC:  SUCCESS Offset: 
172032 Length: 32768
133717:08:38setup[1].exe:4324   READC:  SUCCESS Offset: 
835584 Length: 32768
136417:08:38setup[1].exe:4324   OPENC:\ SUCCESS 
Options: Open
Directory  Access: 0011
136517:08:38setup[1].exe:4324   DIRECTORY   C:\ SUCCESS 
FileBothDirectoryInformation:
WINDOWS
136617:08:38setup[1].exe:4324   CLOSE   C:\ SUCCESS 
136717:08:38setup[1].exe:4324   OPENC:\WINDOWS\ SUCCESS 
Options: Open
Directory  Access: 0011
136817:08:38setup[1].exe:4324   DIRECTORY   C:\WINDOWS\ 
SUCCESS FileBothDirectoryInformation:
system32
136917:08:38setup[1].exe:4324   CLOSE   C:\WINDOWS\ SUCCESS 

137017:08:38setup[1].exe:4324   OPENC:\WINDOWS\system32\
SUCCESS Options:
Open Directory  Access: 0011
137117:08:38setup[1].exe:4324   DIRECTORY   
C:\WINDOWS\system32\SUCCESS FileBothDirectoryInformation:
dwwin.exe
137217:08:38setup[1].

Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Larry Hall (Cygwin)

Jose Ramon Huerga wrote:

 I tried with setup-2.575.exe and setup-2.578.exe, and they crash too.

Below you can see the last lines of filemon.exe.



Hm, I don't see much relevant in the list of files accessed.  When in
the process do you see 'setup.exe' crashing?  If it's during the
installation, the perhaps your '/var/log/setup.log.full' would provide
some context, assuming it is a package that was corrupted after download.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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



[ANNOUNCEMENT] Updated: mathomatic-12.8.5-1

2008-01-21 Thread Reini Urban

The changes since 12.8.0 are many and include bug fixes,
improvements, and a more consistent user interface.
See http://mathomatic.orgserve.de/changes.txt

Cygwin build changes:
* added library

About:
Mathomatic is a highly portable, general purpose symbolic math program
that can solve, simplify, combine, differentiate, integrate, and compare
algebraic equations. It can do standard, complex number, and polynomial
arithmetic. It is extremely easy to use and has pretty colored, easily
readable display of equations.

See http://www.mathomatic.org/


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
Reini Urban
mathomatic support under Cygwin at cygwin@cygwin.com










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



RE: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Dave Korn
On 21 January 2008 16:17, Jose Ramon Huerga wrote:

>  I tried with setup-2.575.exe and setup-2.578.exe, and they crash too.
> 
> Below you can see the last lines of filemon.exe.

> 1298  17:08:38setup[1].exe:4324   WRITE
>   C:\DOCUME~1\jrhuerga\LOCALS~1\Temp\77a6_appcompat.txt   SUCCESS

> 1311  17:08:38setup[1].exe:4324   OPENC:\WINDOWS\system32
> \Apphelp.dll  SUCCESS Options: Open  Access: 00100020

> 1319  17:08:38setup[1].exe:4324   QUERY
> INFORMATION   C:\WINDOWS\AppPatch\sysmain.sdb SUCCESS Length: 

> 1324  17:08:38setup[1].exe:4324   DIRECTORY
C:\WINDOWS\system32\
>   SUCCESS FileBothDirectoryInformation: dwwin.exe

> 1374  17:08:38setup[1].exe:4324   READ
>   C:\WINDOWS\system32\config\SOFTWARE SUCCESS Offset:
> 8634368 Length: 4096

  These lines show files being accessed by the error reporting process after
the crash has already taken place; any sign of the actual cause must be
earlier in the output, and most likely involving files under C:\cygwin.


>> Unhandled exception at 0x004ac7e3 in setup.exe: 0xC005: Access
>> violation reading location 0x01a1ff3c. 

  This tells us that the problem was most likely stack corruption while
attempting to throw an exception[*]... for whatever that's worth.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today

[*] - 004ac790 <__Unwind_SjLj_RaiseException>:
  4ac790:   55  push   %ebp
  4ac791:   89 e5   mov%esp,%ebp
  4ac793:   57  push   %edi
  4ac794:   56  push   %esi
  4ac795:   53  push   %ebx
  4ac796:   83 ec 2csub$0x2c,%esp
  4ac799:   a1 d0 0f 52 00  mov0x520fd0,%eax
  4ac79e:   8b 7d 08mov0x8(%ebp),%edi
  4ac7a1:   85 c0   test   %eax,%eax
  4ac7a3:   0f 84 c3 00 00 00   je 4ac86c
<__Unwind_SjLj_RaiseException+0xdc>
  4ac7a9:   8b 48 30mov0x30(%eax),%ecx
  4ac7ac:   85 c9   test   %ecx,%ecx
  4ac7ae:   0f 88 cd 00 00 00   js 4ac881
<__Unwind_SjLj_RaiseException+0xf1>
  4ac7b4:   8b 50 30mov0x30(%eax),%edx
  4ac7b7:   85 d2   test   %edx,%edx
  4ac7b9:   0f 85 81 00 00 00   jne4ac840
<__Unwind_SjLj_RaiseException+0xb0>
  4ac7bf:   8b 40 28mov0x28(%eax),%eax
  4ac7c2:   89 45 f0mov%eax,0xfff0(%ebp)
  4ac7c5:   8d 5d eclea0xffec(%ebp),%ebx
  4ac7c8:   89 45 ecmov%eax,0xffec(%ebp)
  4ac7cb:   eb 0b   jmp4ac7d8
<__Unwind_SjLj_RaiseException+0x48>
  4ac7cd:   8d 76 00lea0x0(%esi),%esi
  4ac7d0:   8b 45 ecmov0xffec(%ebp),%eax
  4ac7d3:   8b 00   mov(%eax),%eax
  4ac7d5:   89 45 ecmov%eax,0xffec(%ebp)
  4ac7d8:   31 c9   xor%ecx,%ecx
  4ac7da:   85 c0   test   %eax,%eax
  4ac7dc:   ba 05 00 00 00  mov$0x5,%edx
  4ac7e1:   74 05   je 4ac7e8
<__Unwind_SjLj_RaiseException+0x58>
  4ac7e3:   8b 48 18mov0x18(%eax),%ecx
  4ac7e6:   31 d2   xor%edx,%edx


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



Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Jose Ramon Huerga
It happens at the end of the installation phase. The last information
I can see in the Progress dialog is:

Uninstalling ...
bash

The last files that are modified under C:\cygwin are:

  C:\cygwin\etc\setup\last-cache
  C:\cygwin\etc\setup\last-mirror
  C:\cygwin\etc\setup\mirrors-lst
  C:\cygwin\etc\setup\timestamp
  C:\cygwin\etc\setup\utmp

Then it crashes. The files c:\cygwin\var\log\setup.log and
c:\cygwin\var\log\setup.log.full don't get touched in the installation
process.


Thank you.

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



RE: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Dave Korn
On 21 January 2008 16:47, Jose Ramon Huerga wrote:

> It happens at the end of the installation phase. The last information
> I can see in the Progress dialog is:
> 
> Uninstalling ...
> bash
> 
> The last files that are modified under C:\cygwin are:


  It's not necessarily related to a file that is being modified, it could
easily be caused by reading file that's already been corrupted.  Are there any
references to "C:\cygwin\etc\setup\bash.lst.gz" around there?  Do you see any
error message when you run "zcat /etc/setup/bash.gz.lst", or just a list of
files?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Jose Ramon Huerga
Yes, the file bash.lst.gz seems to be wrong:


$ ls -l /etc/setup/bash.lst.gz
-rwxr-x---+ 1 jrhuerga Users 10 Jan 16 17:28 /etc/setup/bash.lst.gz

$ zcat /etc/setup/bash.lst.gz
gzip: /etc/setup/bash.lst.gz: unexpected end of file




Jose R.



On Jan 21, 2008 5:47 PM, Jose Ramon Huerga <[EMAIL PROTECTED]> wrote:
> It happens at the end of the installation phase. The last information
> I can see in the Progress dialog is:
>
>Uninstalling ...
>bash
>
> The last files that are modified under C:\cygwin are:
>
>  C:\cygwin\etc\setup\last-cache
>  C:\cygwin\etc\setup\last-mirror
>  C:\cygwin\etc\setup\mirrors-lst
>  C:\cygwin\etc\setup\timestamp
>  C:\cygwin\etc\setup\utmp
>
> Then it crashes. The files c:\cygwin\var\log\setup.log and
> c:\cygwin\var\log\setup.log.full don't get touched in the installation
> process.
>
>
> Thank you.
>

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



RE: setup.exe 2.573.2.2 is crashing in Windows XP

2008-01-21 Thread Dave Korn
On 21 January 2008 17:07, Jose Ramon Huerga wrote:

> Yes, the file bash.lst.gz seems to be wrong:
> 
> 
> $ ls -l /etc/setup/bash.lst.gz
> -rwxr-x---+ 1 jrhuerga Users 10 Jan 16 17:28 /etc/setup/bash.lst.gz
> 
> $ zcat /etc/setup/bash.lst.gz
> gzip: /etc/setup/bash.lst.gz: unexpected end of file

  Ok, let's try replacing it with a known good one; if setup.exe can't read
the list of files to remove during uninstall, it's no wonder it goes wrong!

  You'll need to find the correct saved bash installation tarball in your
local package storage directory, and then create a new list file.  For example
(YMMV):

/etc/setup $ bash --version
GNU bash, version 3.2.25(17)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

... I have version bash-3.2.25-17 installed (you can also find this out from
"cygcheck -c bash"), so I search for the package in my local packages dir
(which is C:\cygwin.src\):

/etc/setup $ find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'
/win/c/cygwin.src/http%3a%2f%2fftp.heanet.ie%2fpub%2fcygwin/release/bash/bash-
3.2.25-17.tar.bz2

  So, having found it, we need to generate a (plain, nonverbose, unadorned,
one filename per line) listing of its contents using "tar tjf" (plus the
previous find command in backticks to get the path correct), then pipe that
through gzip to create the new list file:

tar tjf `find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'` \
  | gzip > /etc/setup/bash.lst.gz

  Once you've done that, try zcat on it as before to verify that it's valid,
then try again with setup.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe crashes upgrading (uninstalling) bash

2008-01-21 Thread Robert Jason Meerman
> On 2007-0820 06:07:47, Eric Blake wrote:
> > According to wei on 8/19/2007 3:09 PM:
> > > It's a popup box from setup.exe. I also attached the cygcheck.out in the
> > > email
> >
> > And what did the popup say?  Nothing in your cygcheck output
> > is jumping out at me as unusual, but without knowing what the
> > crash said, I don't know the full picture.
>
> the original thread is a bit aged, this is why I'm starting a new one...
>
> the same problem was reported on 19th Aug by Xie Wei...
>
> he didn't solve the problem, he just reinstalled all of cygwin from scratch.
> this isn't really an option for me (or at least I want to be sure that I don't
> loose my users' data and the list of installed packages).
> I can debug here, if I have an executable with debug info.

I also had this problem, but I managed to solve it and wanted to share
my solution with the mailing list.

C:\cygwin\etc\setup\bash.lst.gz   was corrupt, opening it in WinRAR
and trying to view the file inside it resulted in an error about
"Unexpected end of file". I deleted this file, ran setup.exe and just
kept hitting "Next". Bash upgraded fine and setup exited normally.

HTH,
RobM

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



Re: setup.exe 2.573.2.2 is crashing in Windows XP AND Re: setup.exe crashes upgrading (uninstalling) bash *AND* Re: 1.5.25-7: Update using setup.exe hangs at "Uninstalling... bash"

2008-01-21 Thread Dave Korn
On 21 January 2008 17:21, Dave Korn wrote:



> tar tjf `find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'` \
>   | gzip > /etc/setup/bash.lst.gz
> 
>   Once you've done that, try zcat on it as before to verify that it's valid,
> then try again with setup.

  BTW, just deleting it and rerunning setup might also do the job, as at
http://cygwin.com/ml/cygwin/2008-01/msg00420.html
but sometimes it doesn't work, as at 
http://cygwin.com/ml/cygwin/2008-01/msg00354.html

  It's also possible that the tarball in the package directory might be
corrupted and this somehow causes the problem, in which case we would expect
to see an error message during the attempt to regenerate the lst.gz file.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe crashes upgrading (uninstalling) bash AND Re: setup.exe 2.573.2.2 is crashing in Windows XP *AND* Re: 1.5.25-7: Update using setup.exe hangs at "Uninstalling... bash"

2008-01-21 Thread Dave Korn
On 21 January 2008 17:49, Robert Jason Meerman wrote:

> I also had this problem, but I managed to solve it and wanted to share
> my solution with the mailing list.
> 
> C:\cygwin\etc\setup\bash.lst.gz   was corrupt, opening it in WinRAR
> and trying to view the file inside it resulted in an error about
> "Unexpected end of file". I deleted this file, ran setup.exe and just
> kept hitting "Next". Bash upgraded fine and setup exited normally.

  Hmm, we should really try and merge this thread with the other ongoing
threads about this exact same problem!  

  BTW, in case just deleting it doesn't work - and when I suggested it to Wei
http://cygwin.com/ml/cygwin/2008-01/msg00354.html
it didn't work, I just posted a recipe to regenerate the list file from the
tarball in your local package storage dir:
http://cygwin.com/ml/cygwin/2008-01/msg00419.html

  It's also possible that the tarball in the package directory might be
corrupted and this somehow causes the problem, in which case we would expect
to see an error message during the attempt to regenerate the lst.gz file.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



cygwin won't run, missing cygintl-8.dll file - solution that worked for me

2008-01-21 Thread Daniel Cardenas

I did an install of cygwin.  When I tried to run the shell I received the 
problem that cygintl-8.dll was not found.  I
tried various solutions including the ones outlined in below messages without 
success.  Through the process I also found
that many of the dll's where missing not just cygintl-8.dll.

What finally worked was deleting the cygwin directory and re-installing.

Thanks,
Daniel


* From: Christopher Faylor 
* To: cygwin at cygwin dot com
* Date: Tue, 2 Jan 2007 06:59:33 -0500
* Subject: Re: cygwin won't run, missing cygintl-8.dll file
* References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
* Reply-to: cygwin at cygwin dot com


On Tue, Jan 02, 2007 at 05:10:10AM -0500, Charli Li wrote:

Gary Richardson just had to cough out the following stream of bytes from
the specified email client, on 1/2/2007 5:06 AM:

Hello,
I've installed cywin before on XP and had no problem.
I've just installed cygwin 1.5.23-2 on Windows XP and when I
went to run it I received the msg "Application failed to start because
cygintl-8.dll was not found. Reinstalling application may fix this
problem." I tried that and it didn't.
I have tried Google and the web and searched the mailing
archives but have not found an answer. Could I have a pointer so as to
find where to go to fix this. Thanks in advance


Using Windows Explorer, look in C:\cygwin\bin (or wherever else you
installed it) and check to see if any .dll files have .dll.new instead.
Rename those that do and run Cygwin again.


Actually, it is safer to just reboot your system, which will cause those
dlls to be renamed automatically.  If you still have this error then go
to http://cygwin.com/packages/ , search for the package which contains
this file and install it by rerunning setup.exe.

cgf


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



RE: cygwin won't run, missing cygintl-8.dll file - solution that worked for me

2008-01-21 Thread Dave Korn
On 21 January 2008 18:21, Daniel Cardenas wrote:

> I did an install of cygwin.  When I tried to run the shell I received the
> problem that cygintl-8.dll was not found.  I tried various solutions
> including the ones outlined in below messages without success.  Through the
> process I also found that many of the dll's where missing not just
> cygintl-8.dll.  
> 
> What finally worked was deleting the cygwin directory and re-installing.

  That's probably overkill.  It should also have been possible to just re-run
setup.exe, choosing "Install from local directory", and clicking 'next' all
the way through without changing the settings; when you do that, setup should
verify your existing install and replace anything that's missing.

  I'm curious what went wrong when you tried this one of the solutions:

>   If you still have this error then go
> to http://cygwin.com/packages/ , search for the package which contains
> this file and install it by rerunning setup.exe.

  That should have also worked.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: hard link error on Vista with recent snapshots

2008-01-21 Thread Herb Maeder
On Jan 21 16:23, Corinna Vinschen wrote:
> On Jan 21 15:53, Corinna Vinschen wrote:
> > On Jan 19 07:30, Herb Maeder wrote:
> > > I'm seeing a error when creating hard links under Vista using the 
> > > cygwin1.dll snapshots starting at cygwin1-20070802.dll (through at 
> > > least cygwin1-20080112.dll). 
> > > 
> > > To reproduce:
> > >   * stop/exit all cygwin processes
> > >   * replace bin/cygwin1.dll with one of the snapshot dlls above
> > >   * fire up bash and run the following commands:
> > >   % rm -rf foo bar
> > >   % touch foo
> > >   % ln foo bar
> > >   ln: creating hard link `bar' => `foo': Permission denied
> > 
> > Thanks for the report.  I fixed this in CVS.  As it turned out, you
> > can't open a file with access flags set to 0.  ZwOpenFile requires at
> ^
> ...in Vista/Longhorn.
> 
> > least READ_CONTROL access.
>  
>  ...in Vista/Longhorn.  0 works fine in earlier
> Windows versions.

Excellent!  Thank you very much for the explanation and the quick fix.

Herb.

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



[ANNOUNCEMENT] Updated: nasm-2.01-1

2008-01-21 Thread Dean Scarff
The cygwin package of nasm has been updated to the latest stable  
release, 2.01.


The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler  
designed for portability and modularity.


Changes since 2.00:

  * Fix the handling of MMX registers with explicit "qword" tags on
memory (broken in 2.00 due to 64-bit changes.)
  * Fix the PREFETCH instructions.
  * Fix the documentation.
  * Fix debugging info when using "-f elf" (backwards alias for "-f
elf32").
  * Man pages for rdoff tools (from the Debian project.)
  * ELF: handle large numbers of sections.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
Dean



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