Re: Program terminates with cygheap version mismatch detected
Christopher Faylor wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. Find the extra cygwin1.dlls and delete them. Use only the one in cygwin\bin You probably need to run rebaseall (q.v.). Well, I ran rebaseall, rebooted my system and still have the same results with this program. Any other suggestions? Many thanks, -Josh -- -Joshua Wright [EMAIL PROTECTED] http://home.jwu.edu/jwright/ pgpkey: http://home.jwu.edu/jwright/pgpkey.htm fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 Today I stumbled across the world's largest hotspot. The SSID is linksys. -- 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: Program terminates with cygheap version mismatch detected
Jörg Schaible wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. From your cygcheck output I've seen that you have or had a B15 running ... do you still use it? Even it the dll name is cygwin.dll (just a guess, B15 was not my time g), it might already allocate the same shared memory than cygwin1.dll. I tried to remove all instances of Cygwin from my system in an effort to troubleshoot: + Did a find with regedit and removed any keys with cyg in them + Removed the c:\cygwin tree + Did a Windows Find on cyg and removed all files Reinstalled cygwin, rebooted. Same error. :( Any other thoughts? Possibly a problem with Windows XP SP2? I'm not sure what to try next. Thanks, -Josh -- -Joshua Wright [EMAIL PROTECTED] http://home.jwu.edu/jwright/ pgpkey: http://home.jwu.edu/jwright/pgpkey.htm fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 Today I stumbled across the world's largest hotspot. The SSID is linksys. -- 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: Program terminates with cygheap version mismatch detected
On Sep 15, 2004, at 5:54 AM, Joshua Wright wrote: Jörg Schaible wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. From your cygcheck output I've seen that you have or had a B15 running ... do you still use it? Even it the dll name is cygwin.dll (just a guess, B15 was not my time g), it might already allocate the same shared memory than cygwin1.dll. I tried to remove all instances of Cygwin from my system in an effort to troubleshoot: + Did a find with regedit and removed any keys with cyg in them + Removed the c:\cygwin tree + Did a Windows Find on cyg and removed all files Reinstalled cygwin, rebooted. Same error. :( Any other thoughts? Possibly a problem with Windows XP SP2? I'm not sure what to try next Maybe off the wall, but keep the program that you are trying to run. Remove the cygwin tree (c:\cygwin) and then try running the exe again. See what happens. If the program runs, then there is a cygwin1.dll outside of the tree. Check the path that the program uses to see where the dll might be lurking. Could the dll have a different name then cygwin1? Where I work we've created a special dll with a different name to prevent cross over problems from the regular cygwin dll. When running a regular cygwin program in this custom space (i.e. start from bash in custom environment) the error message you've seen appears. Again off the wall things to try and check. Peter -- 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: Program terminates with cygheap version mismatch detected
On Wed, 15 Sep 2004, Peter Rehley wrote: On Sep 15, 2004, at 5:54 AM, Joshua Wright wrote: Jörg Schaible wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. From your cygcheck output I've seen that you have or had a B15 running ... do you still use it? Even it the dll name is cygwin.dll (just a guess, B15 was not my time g), it might already allocate the same shared memory than cygwin1.dll. I tried to remove all instances of Cygwin from my system in an effort to troubleshoot: + Did a find with regedit and removed any keys with cyg in them + Removed the c:\cygwin tree + Did a Windows Find on cyg and removed all files Reinstalled cygwin, rebooted. Same error. :( Any other thoughts? Possibly a problem with Windows XP SP2? I'm not sure what to try next Maybe off the wall, but keep the program that you are trying to run. Remove the cygwin tree (c:\cygwin) and then try running the exe again. See what happens. If the program runs, then there is a cygwin1.dll outside of the tree. Check the path that the program uses to see where the dll might be lurking. Or, you could simply do cygcheck program.exe, where program.exe is the one you're trying to run. It'll show all the DLLs that the program depends on statically. Igor Could the dll have a different name then cygwin1? Where I work we've created a special dll with a different name to prevent cross over problems from the regular cygwin dll. When running a regular cygwin program in this custom space (i.e. start from bash in custom environment) the error message you've seen appears. Again off the wall things to try and check. Peter -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: Program terminates with cygheap version mismatch detected
On Wed, Sep 15, 2004 at 12:57:10PM -0400, Igor Pechtchanski wrote: Or, you could simply do cygcheck program.exe, where program.exe is the one you're trying to run. It'll show all the DLLs that the program depends on statically. Right. I suspect that one of the DLLs needs to be rebased along with the others that were previously rebased. 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/
Program terminates with cygheap version mismatch detected
I've been using Cygwin for a few years to port code written for Linux systems to Windows systems. Thanks to the developers and supporters for providing such wonderful software. A user recently reported that a tool I have written no longer works on Windows systems, generating the following error: $ ./asleap.exe c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. 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. $ This is on a Windows XP SP2 machine. cygwin1.dll reports version 1.5.11. Output of cygcheck -s -v -r attached. I used the Windows Find functionality as described and removed all cygwin1.dll files except the file in c:\cygwin\bin and rebooted my system, but the error persists. Other Cygwin code on my system is working fine, yet I am unable to identify the potential issue with this program. I believe the problem may be associated with the changes implemented in Windows XP SP2, but I'm not certain. Has anyone run into a similar issue? Any suggestions? Thanks, -Josh -- -Joshua Wright [EMAIL PROTECTED] http://home.jwu.edu/jwright/ pgpkey: http://home.jwu.edu/jwright/pgpkey.htm fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 Today I stumbled across the world's largest hotspot. The SSID is linksys. Cygwin Configuration Diagnostics Current System Time: Tue Sep 14 07:40:49 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\bin c:\Program Files\PuTTY c:\cis\rat\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1003(Joshua Wright) GID: 513(None) 513(None) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1003(Joshua Wright) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\Joshua Wright' MAKE_MODE = `unix' PWD = `/cygdrive/c/DEV' USER = `Joshua Wright' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Joshua Wright\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `JWRIGHT' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Joshua Wright' HOSTNAME = `jwright' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\JWRIGHT' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/Joshua Wright' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 9 Stepping 5, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0905' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\JOSHUA~1\LOCALS~1\Temp' TERM = `cygwin' TMP = `C:\DOCUME~1\JOSHUA~1\LOCALS~1\Temp' USERDOMAIN = `JWRIGHT' USERNAME = `Joshua Wright' USERPROFILE = `C:\Documents and Settings\Joshua Wright' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a
Re: Program terminates with cygheap version mismatch detected
Joshua Wright wrote: I've been using Cygwin for a few years to port code written for Linux systems to Windows systems. Thanks to the developers and supporters for providing such wonderful software. A user recently reported that a tool I have written no longer works on Windows systems, generating the following error: $ ./asleap.exe c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. 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. $ This is on a Windows XP SP2 machine. cygwin1.dll reports version 1.5.11. Output of cygcheck -s -v -r attached. I used the Windows Find functionality as described and removed all cygwin1.dll files except the file in c:\cygwin\bin and rebooted my system, but the error persists. Other Cygwin code on my system is working fine, yet I am unable to identify the potential issue with this program. I believe the problem may be associated with the changes implemented in Windows XP SP2, but I'm not certain. Has anyone run into a similar issue? Any suggestions? Thanks, -Josh Cygwin Configuration Diagnostics Current System Time: Tue Sep 14 07:40:49 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\bin c:\Program Files\PuTTY c:\cis\rat\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1003(Joshua Wright) GID: 513(None) 513(None) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1003(Joshua Wright) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\Joshua Wright' MAKE_MODE = `unix' PWD = `/cygdrive/c/DEV' USER = `Joshua Wright' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Joshua Wright\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `JWRIGHT' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Joshua Wright' HOSTNAME = `jwright' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\JWRIGHT' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/Joshua Wright' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 9 Stepping 5, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0905' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\JOSHUA~1\LOCALS~1\Temp' TERM = `cygwin' TMP = `C:\DOCUME~1\JOSHUA~1\LOCALS~1\Temp' USERDOMAIN = `JWRIGHT' USERNAME = `Joshua Wright' USERPROFILE = `C:\Documents and Settings\Joshua Wright' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
RE: Program terminates with cygheap version mismatch detected
-Original Message- From: cygwin-owner On Behalf Of Bobby McNulty Sent: 14 September 2004 11:51 752 lines of extraneous quoting, an entire cygcheck output's worth, and all you did was add 3 lines of completely incorrect answer where you told the original poster something that if you had bothered to read his post in the first place you would have seen he had already done ? Get help. 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: Program terminates with cygheap version mismatch detected
Bobby, Bobby McNulty wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. Find the extra cygwin1.dlls and delete them. Use only the one in cygwin\bin Thanks for the suggestion, but I have already removed all the cygwin1.dll's from my system except for the file in c:\cygwin\bin. After removing the other cygwin1.dll's, I rebooted, but the problem persists. Any other suggestions? Many thanks, -Josh -- -Joshua Wright [EMAIL PROTECTED] http://home.jwu.edu/jwright/ pgpkey: http://home.jwu.edu/jwright/pgpkey.htm fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 Today I stumbled across the world's largest hotspot. The SSID is linksys. -- 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: Program terminates with cygheap version mismatch detected
On Tue, Sep 14, 2004 at 09:26:48AM -0400, Joshua Wright wrote: Bobby, Bobby McNulty wrote: c:\DEV\testing\asleap.exe (988): *** cygheap version mismatch detected - 0x6178/0xBF. You have multiple copies of cygwin1.dll on your system. Find the extra cygwin1.dlls and delete them. Use only the one in cygwin\bin Thanks for the suggestion, but I have already removed all the cygwin1.dll's from my system except for the file in c:\cygwin\bin. After removing the other cygwin1.dll's, I rebooted, but the problem persists. Any other suggestions? Many thanks, You probably need to run rebaseall (q.v.). 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/