bugGforth - Bugs: bug #20761, problems running 6.2 on Cygwin

 
 

bug #20761: problems running 6.2 on Cygwin

Submitted by:  John Comeau <jcomeau_ictx>
Submitted on:  Sun 12 Aug 2007 11:25:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 12 Aug 2007 11:37:27 PM UTC, comment #1:

The obvious fix worked:

jcomeau@intrepid /usr/src/uF
$ mkdir /usr/local/lib/gforth

jcomeau@intrepid /usr/src/uF
$ ln -s /cygdrive/c/Program\ Files/gforth/ /usr/local/lib/gforth/0.6.2

jcomeau@intrepid /usr/src/uF
$ gforth
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
bye

John Comeau <jcomeau_ictx>
Sun 12 Aug 2007 11:25:50 PM UTC, original submission:

I attempted submitting this by email to bug-gforth@gnu.org, but it doesn't show up here so will copy the text here:

I just downloaded and installed gforth. It doesn't look as though it overwrote cygwin1.dll but something is clearly messed up. I'll try rebooting but it doesn't look good:

From CMD window logged in as an administrator:

C:\WINDOWS\system32>"\Documents and Settings\All
Users\Documents\gforth-0.6.2.exe"

From bash window as normal (limited) user:

jcomeau@intrepid /usr/src/uF
$ ln -s /cygdrive/c/Program\ Files/gforth/gforth.exe /usr/bin/gforth
4 [main] ? (1588) C:\cygwin\bin\bash.exe: *** fatal error - system shared
memory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3 [main] ? (2976) C:\cygwin\bin\bash.exe: *** fatal error - system shared
memory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3 [main] ? (704) C:\cygwin\bin\bash.exe: *** fatal error - system shared m
emory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3 [main] ? (2824) C:\cygwin\bin\bash.exe: *** fatal error - system shared
memory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
4 [main] ? (2688) C:\cygwin\bin\bash.exe: *** fatal error - system shared
memory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3 [main] ? (1056) C:\cygwin\bin\bash.exe: *** fatal error - system shared
memory version mismatch detected - 0x75BE0074/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
5 [main] bash 3208 fork: child -1 - died waiting for longjmp before initia
lization, retry 0, exit code 0x100, errno 11
bash: fork: Resource temporarily unavailable

From CMD window:

C:\WINDOWS\system32>dir \cygwin1.dll /s
Volume in drive C has no label.
Volume Serial Number is ECF4-C9E2

Directory of C:\cygwin\bin

01/31/2007 04:33 AM 1,873,811 cygwin1.dll
1 File(s) 1,873,811 bytes

Directory of C:\Documents and Settings\Administration\My Documents

01/20/2006 11:28 AM 1,805,448 cygwin1.dll
1 File(s) 1,805,448 bytes

Directory of C:\Documents and Settings\Administration\My
Documents\cdrtools-latest

01/20/2006 11:28 AM 1,805,448 cygwin1.dll
1 File(s) 1,805,448 bytes

Directory of C:\Documents and Settings\jcomeau\My Documents\WinAVR\bin

01/19/2007 11:55 AM 1,872,821 cygwin1.dll
1 File(s) 1,872,821 bytes

Directory of C:\Program Files\gforth

08/01/2004 06:52 PM 1,140,105 cygwin1.dll
1 File(s) 1,140,105 bytes

Total Files Listed:
5 File(s) 8,497,633 bytes
0 Dir(s) 980,086,784 bytes free

After this, I rebooted, and sure enough, normal operation of Cygwin was restored. But then, after attempting to run gforth, the error happened again. After another reboot, I removed cygwin1.dll from \Program Files\gforth, and that stopped the problem, but now gforth won't run:

jcomeau@intrepid /usr/src/uF
$ gforth
gforth: cannot open image file gforth.fi in path .;/usr/local/lib/gforth/site-forth;
/usr/local/share/gforth/site-forth;
/usr/local/lib/gforth/0.6.2;
/usr/local/share/gforth/0.6.2 for reading

Now it thinks it was installed under Cygwin, I guess because it had to search for a cygwin1.dll outside its installation directory? I'll probably figure out a resolution to this, but the scariness of the bug made me want to post it somewhere. The last time Cygwin crapped out on me it was an all-day job to restore operation... thanks, guys -- jc

John Comeau <jcomeau_ictx>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by anton (Updated the item)
  • -unavailable- added by jcomeau_ictx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Aug 2007 06:21:09 PM UTCantonOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1