This is the mail archive of the cygwin 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: Mismatch cygwin1.dll


Yes, it seams weird. I'm checking the Version # being extracted from the DLL itself since I can't find any other way to get it. My /cygwin/bin is 1.5 and /cygwinIV is 1.7-xx. Here is cgychk from my 1.5 release:
$ chgchk -s



Cygwin Configuration Diagnostics Current System Time: Sat Aug 01 23:45:41 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   C:\cygwin\bin
       C:\cygwin\bin\X11
       C:\cygwin\lbin
       C:\cygwin\bin
       C:\Program Files\WinOne
       C:\WINDOWS\system32
       C:\WINDOWS
       C:\WINDOWS\System32\Wbem
       C:\Program Files\ATI Technologies\ATI.ACE\Core-Static
       C:\Program Files\Common Files\Ulead Systems\MPEG
       C:\Program Files\QuickTime\QTSystem\
       .

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 501(Paul)                 GID: 401(Paul)
513(None)                      544(Administrators)
545(Users)                     1005(AcronisBackupServerUsers)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 501(Paul)                 GID: 401(Paul)
513(None)                      544(Administrators)
545(Users)                     1005(AcronisBackupServerUsers)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

PWD = '/home/paul'
MAKE_MODE = 'UNIX'
CYGWIN = 'tty'
HOME = '/home/paul'

Use '-r' to scan registry

a: fd N/A N/A c: hd NTFS 51199Mb 58% CP CS UN PA FC System
d: cd N/A N/A e: hd NTFS 107520Mb 68% CP CS UN PA FC Volume1
f: hd NTFS 107520Mb 1% CP CS UN PA FC Volume2
g: hd NTFS 210696Mb 7% CP CS UN PA FC Volume3
h: hd NTFS 51199Mb 1% CP CS UN PA FC Backup of System
i: hd NTFS 107520Mb 65% CP CS UN PA FC Backup of Volume1
j: hd NTFS 107520Mb 1% CP CS UN PA FC Backup of Volume2
k: hd NTFS 210696Mb 25% CP CS UN PA FC Backup of Volume3
m: fd FAT32 7731Mb 42% CP UN KINGSTON
o: net NTFS 40970Mb 42% CP CS UN PA FC p: net NTFS 111576Mb 12% CP CS UN PA FC


.              /cygdrive  user    binmode,cygdrive
C:\cygwin      /          system  binmode
a:             /a         system  binmode
C:\cygwin\bin  /bin       system  binmode
C:             /c         system  binmode
D:             /d         system  binmode
E:             /e         system  binmode
C:\cygwin\etc  /etc       system  binmode
F:             /f         system  binmode
G:             /g         system  binmode
H:             /h         system  binmode
I:             /i         system  binmode
J:             /j         system  binmode
K:             /k         system  binmode
C:\cygwin\lib  /lib       system  binmode
M:             /m         system  binmode
N:             /n         system  binmode
O:             /o         system  binmode
P:             /p         system  binmode
\\linda\c      /pc        system  binmode
Q:             /q         system  binmode
C:\cygwin\usr  /usr       system  binmode
C:\cygwin\bin  /usr/bin   system  binmode
C:\cygwin\lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\crontab.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\vi.exe
Found: C:\cygwin\bin\vim.exe

cygwin                   1.5.25-15
cygwin-doc               1.4-4
cygwin-x-doc             1.0.4-1

Now I'm running my cygwin 1.7 instance:

cygcheck -s Well with the corrupt DLL, I could NOT run any 1.7 environment shells to open up a window. I did however restore from my Jul 29 backups a copy of the cygwin1.dll and I was able to start up my envorinment without any problems; and it is 1.7.0-51 !!! Now the version is consistance with its size. Has anyone else recently updated their cygwin1.dll to find it corrupt? Regarding my "arcane method'. do you know of any easier method to extract this information? I'm listening.

I don't understand the cygwin's download that went haywired on me earlier.

- Pauo


Christopher Faylor wrote:
On Sat, Aug 01, 2009 at 09:50:13PM -0400, Paul McFerrin wrote:
After downloading the latest updates arount 7PM tonight, I ended up with strange version numbers:

For dll 1.5
$ cd /c/cygwin/bin
$ ls -lc cygwin1.dll -rwxr-xr-x 1 Paul Paul 1872884 Mar 4 04:01 cygwin1.dll
$ strings /bin/cygwin1.dll | grep "/cygwin-[0-9]" | tail -1 | sed -e "s/^.*\/cygwin-/ /" -e "s/\/.*$//"
1.5.25-15


For cygwin 1.7
cd /c/cygwinIV/bin
$ ls -lc cygwin1.dll
-rwxr-xr-x 1 Paul Administrators 2464286 Jul 31 13:51 cygwin1.dll
$ strings /bin/cygwin1.dll | grep "/cygwin-[0-9]" | tail -1 | s >
1.5.25-15

You'd have to wonder what /bin means in the above scenario and what version of cygwin you're running.

Every window that is opened displays the current Version string in the banner area. What gives!! Sizes are consistance but Version #?

Are you saying that you have things set up to display the current version string and you use this arcane method to determine the version? You need to be much more precise if you think there is a problem and, as always, we really do need cygcheck output.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


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