2010 Anitvirus Disabled Cygwin Apps Entirely
I installed 2010 AV on Windows Vista and discovered not only bash.exe but every Cygwin app I tried would crash.
I verified 2010 AV as the cause by uninstalling (problem went away) and reinstalling 2009 (problem stayed away).
The usual cause of this is an installation copying an older copy of cygwin1.dll somewhere earlier on the path, e.g. windows/system32. However I could not find such a thing anywhere on my disk (hidden or no).
Comments
-
Hello MKairys ,
If you still have BitDefender and Google Desktop installed please follow the steps bellow :
1. Go to Start->Control Panel.
2. Open Add or Remove Programs (Programs and Features on Vista)
3. Look for Google Desktop and verify the version of this application.
4. Remove Google Desktop.
5. Reboot the computer and verify if the issue still occurs.
6. Reply with the outcome and with the version of Google Desktop that you had installed.
Thank you .0 -
If you still have BitDefender and Google Desktop installed please follow the steps bellow :
Thank you for your reply, Alex, but I have never had Google Desktop installed.0 -
MKairys ,
Go into Expert Mode, then Antivirus then click on BD AVC Settings and disable it. See if the app crashes again. It is possible that cygwin1.dll is injecting itself into processes and Active Virus Control is blocking it.0 -
Go into Expert Mode, then Antivirus then click on BD AVC Settings and disable it.
Well, that sounded promising, but didn't fix it.0 -
Hello MKairys,
I went on a hunch when i suggested to disable AVC earlier. But we went ahead and tested the Cygwin app and we found out the access violation issue posted here by other users could be the culprit. We installed Cygwin with AVC enabled and sh.exe crashed right away. We installed the correctly and ran the cygwin.bat file from the installation folder which calls bash.exe --login -i . Without AVC enabled the app ran. After enabling AVC, the app crashed. I made a screenshot, where the 0xC0000005 error can be seen. Also there is the cygwin terminal. Can you confirm that this is the error you get? My colleagues are already working on a fix for this error.
As i said, we tested by running cygwin.bat with AVC, crash, then disabled AVC, clicked OK, then ran the .bat again and it started.
Try to disable AVC again, or better disable for a moment the whole Antivirus module. Restart the computer to make sure that nothing from AVC is loaded.0 -
-
-
Hello MKairys,
There is an incompatibility between cygwin and BitDefender AVC (Behavioral Scanner).
I'm going to get a little bit technical here in order to explain in detail what is happening :
Unfortunately, cygwin1.dll has a hardcoded image loading base (0x61000000) wich conflicts with one of the BitDefender AVC plugins injected into processes for monitoring their behaviour. Since, to offer maximum protection, the BitDefender AVC dlls are among the first to be loaded in the address space of any process, and well before cygwin1.dll, the cygwin1.dll cannot load at its desired image base, thus generating crashes. In a general purpose DLL written for Windows, this is not a problem, since such dll can work being loaded at any imagebase. But this is not the case for cygwin, wich insists on loading at the fixed address, and if not, generating crashes.
Now, how to fix :
1. Temporary disable AVC (BitDefender->Antivirus->Advanced Settings, uncheck AVC).
2. Make sure all cygwin applications are closed.
3. Open a cmd line and enter the following :
cd c:\cygwin\bin
copy cygwin1.dll cygwin_orig.dll
copy cygwin1.dll cygwin_tmp.dll
rebase -b 0x35000000 cygwin_tmp.dll
copy cygwin_tmp.dll cygwin1.dll
4. Reenable AVC (BitDefender->Antivirus->Advanced Settings, check AVC)
Try now to run cygwin.
By doing the above, we remapped cygwin1.dll to another imagebase (0x35000000). If it still does not work, please try remapping at various imagebases (such as 0x30000000 or 0x40000000 or 0x25000000 etc) until you find one that works.
Regards,
DHL0 -
rebase -b 0x35000000 cygwin_tmp.dll
That seems to have worked.0 -
I am not finished with this problem I see. I have BD AV 2010 on two systems, desktop and laptop, very similar as far as O/S and other software. On the laptop
rebase -b 0x35000000 worked as I said. On the desktop however I have not found a vaule that works; I have tried 0x20000000 - 0x80000000. Should I continue in this manner or what?0 -
Hi,
Yes, please continue in this manner, start from 0x10000000 and go in increments of 0x3000000 (0x10000000, 0x13000000,0x16000000,0x19000000,0x1C000000, 0x1F000000, 0x22000000 etc).
Hope it works0 -
It doesn't. I went from 0x10000000 by 0x3000000 as you suggested, until I got to 0x90000000 at which point nothing worked at all.
0 -
In this case, please add cygwin executables to the Active Virus Control exclusion list. In this way, AVC will not affect by any means the loading base of cygwin dlls.
Thank you,
DHL0 -
Sigh. There are over 800 .exe files in my cygwin/bin. Of course I don't use them all, but I use at least 50 or so, and I don't know for example which are used in turn by commands I do use.
I suppose I could approach this iteratively and keep adding files as I need them, but it doesn't look pretty. The browse window for the exclusions list doesn't allow multiple selection either. Is there no way I could add a folder to the exclusion list? Or the cygwin1.dll file itself? Or is there perhaps a configuration file I could open in a text editor to add to this list?
Wht about rebasing the BitDefender dll instead of the cygwin one?0 -
I'm in the same boat, here. I am running Vista x64; I tried rebasing to a few locations but with no luck.
I use Cygwin extensively and I am not comfortable turning off AVC for what ends up being 90% of the time, in order to have Cygwin open.
If I have to give one up, BD will be the one.0 -
If I have to give one up, BD will be the one.
Likewise.0 -
I'm afraid BD Support has given up on this one. It has been over two weeks since they last contacted me regarding my support case, and that was only to repeat suggestions already given in this thread.
In fairness to them I should say I don't know what the solution would be, except possibly an enhancement to the AVC exclusion dialog that would allow a folder (or perhaps a DLL) to be specified.
I don't know where I will go next however; in the past several years I have used Norton AV, ZoneAlarm Suite, and Kaspersky, and recently I tried out Avira and Nod32, and for one reason or another (intrusiveness, resource use, etc.) I haven't liked any of them.0 -
Is anyone at Bitdefender working on this? It's a major issue, and as others have said, it's BD that's going to be dumped, not all my Cygwin-based apps.
I've tried opening a support case and gotten the now-typical complete lack of response from BD.
And yes, I've tried rebasing. The only solution I've found is to turn off BD. If that's the solution, why am I paying them for the privilege of not using it?
As an aside, what's happened to them? I've used BD for years, but starting with BD 2009 things seem to have completely fallen apart. Buggy, slow, no support, etc. 2010 seems even worse, no cygwin, various operations don't work, and nobody on their end seems to care at all.0 -
I for one have abandoned BD because of this issue. (I am going with Microsoft Security Essentials for now.)
0 -
Well, I just did too. BD has clearly become an unsupported and virtually useless product. I'm sorry I bought so many 2009 licenses (home, kids, and my wife's office). It's sad, because I've been a loyal user for years.
But, I need a product that actually works and is supported. So, I just dumped BD and switched to NAV (which I used to hate). I have to say, it's much faster than BD 2010 and all my apps actually work again. It does cost a bit more, but paying less for something that doesn't work isn't really saving anything.0 -
... paying less for something that doesn't work isn't really saving anything.
Good point0 -
I am not finished with this problem I see. I have BD AV 2010 on two systems, desktop and laptop, very similar as far as O/S and other software. On the laptop
rebase -b 0x35000000 worked as I said. On the desktop however I have not found a vaule that works; I have tried 0x20000000 - 0x80000000. Should I continue in this manner or what?
Hi MKairys,
Is your operating system 32-bit or 64-bit?
If it is 64-bit and Cygwin is for 64-bit platform try rebase at a bigger address: 0x3500000000.
Or post your complete OS version and Cygwin version.
Cheers!0 -
Hi MKairys,
Is your operating system 32-bit or 64-bit?
If it is 64-bit and Cygwin is for 64-bit platform try rebase at a bigger address: 0x3500000000.
Or post your complete OS version and Cygwin version.
Cheers!
My OS at the time was Vista 32-bit. At this time I am no longer using BitDefender, but thanks for the suggestion.0 -
Well this is pretty sad. I too use Cygwin in a big way and have found I've wasted a day trying to get cygwin to work after installing DB Total Security 2010 on a 32bit WinXP SP3 system, and a 32bit Windows Vista SP2 machine.
The recode worked to some extent.
Looks like this has been with BD for a while.
I switched from ZoneAlarm to BD for a number of reasons.
For what it's worth. Cygwin is installed from the setup.exe downloaded from cygwin.com. That way you get the latest version of cygwin. According to the website it's "Latest Cygwin DLL release version is 1.7.1-1"
I don't think it matters what version of cygwin - I attempted reinstalling cygwin because the v1.5 cygwin wouldn't work only to find v1.7 won't either.
I would suggest the BD Labs spend a bit of time just installing Cygwin and then diagnose what BD does.
The common factor is - BD.
Redhat/Cygwin may have to add BD to their BLODA.
If it goes the way of having to ditch BD I would expect a refund on the 9 licenses I've paid for. How does one go about doing that ?0 -
I am using 32 bit vista and am encounter the same problem on both BitDefender Antivirus 2010 as well as 2009. Below is the detail of my issue
- Install Bitdefender
- Install cygwin, cygwin setup crash
- turn off BD, reinstall cygwin
- rebase dlls using rebaseall
- still crash
I have attached the screen shot.
This is a serious issue for bitdefender. The crash only start to happen to my machines around 2 months ago. Bitdefender support team should report to us on how are they going to address the issue. At this stage it seems nothing is happening and there is no follow up action.
If the situation does not change I will too switch away from bitdefneder.
Regards,
Bernard0 -
Hi all,
An update will be delivered soon that will fix issue with cygwin applications.
Regards!0 -
Hi all,
An update that fixes problem with cygwin was delivered past week.
Best regards!0 -
Anybody tested this? I gave up BD because of the cygwin issue and I'm not really happy with the other security software that I've switched to, but its paid for and I don't really want to reconfig to test this.
Cygwin is "mission critical" for me.Hi all,
An update that fixes problem with cygwin was delivered past week.
Best regards!0 -
Hello Randy,
Further to your query be kindly informed that we haven't received any further complains after the fix was released. Feel free to install BitDefender and let me know if any further issues occur.
Regards,0 -
Anybody tested this? I gave up BD because of the cygwin issue and I'm not really happy with the other security software that I've switched to, but its paid for and I don't really want to reconfig to test this.
Cygwin is "mission critical" for me.
Hi Randy C,
Just keep BitDefender up to date.
Regards0 -
I reccently installed BD TS 2012 for the first time, and have run into the same issue using Win 7 x64 w/ SP1, and a recently installed version of Cygwin. BD claims that its last update was today (Aug 26, 2011).
Has this ever been fixed? Was it fixed and rebroken? Keeping BD up to date obviously does not work.
I tried using the built-in BD "Help and Support" to submit a ticket, but didn't get past the "I agree to allow Bitdefender Support Tool to gather..." whatever unspecified information it wants "...from my system". Apparently it isn't possible to use the built-in means to submit a support ticket without risking privacy and security. A contract engineer working under NDA cannot agree to that without demonstrating that the information collected will not violate the NDA.0 -
I reccently installed BD TS 2012 for the first time, and have run into the same issue using Win 7 x64 w/ SP1, and a recently installed version of Cygwin. BD claims that its last update was today (Aug 26, 2011).
Has this ever been fixed? Was it fixed and rebroken? Keeping BD up to date obviously does not work.
I tried using the built-in BD "Help and Support" to submit a ticket, but didn't get past the "I agree to allow Bitdefender Support Tool to gather..." whatever unspecified information it wants "...from my system". Apparently it isn't possible to use the built-in means to submit a support ticket without risking privacy and security. A contract engineer working under NDA cannot agree to that without demonstrating that the information collected will not violate the NDA.
I recently installed BD Antivirus 2012 after I reinstalled Windows 7 64 Ultimate. I then installed Cygwin and had issues when running it. I removed Cygwin, put BD in game mode and then I reinstalled Cygwin, but this time I right-clicked on setup.exe and left-clicked 'Run as Administrator', even though my id is an admin account. After reinstalling Cygwin in this manner, I had no more issues with it, even after turning BD game mode off. You might give this a try. Worked great for me!0 -
Hi
Thank you very much for your feedback.
Al the discussions related to Bitdefender 2012 will continue on this area:
http://forum.bitdefender.com/index.php?showforum=228
Have a nice day.0