Program's Internal State Corrupted???

???
I have been using Avast (home version) for almost a month and a half, and have been very pleased with it. Yesterday, I discovered that my computer had several windows indicating some ‘buffer’ errors. I deleted those windows and tried to get into my Outlook Express (I have the latest IE browswer installed on a Win98 os, Compaq Presario computer). A window came up with the following:
“Buffer Over-run detected Program…OGRAMFILES\ALWIL\Software\Avast4\ASHMAISV.exe
A buffer program has been detected which has corrupted the program’s internal state. The program cannot safely continue execution and must now be terminated.”
Has anyone had this happen before, and if so, what did you do to fix it? Help!
Thanks!

LeLe

You will have to download your mail with the scanner disabled (by the Mail Protection Wizard).

I would appreciate if you could resend me the mail that is causing it to help repair this bug. Thank you.

Thank you for responding. I am at work at the moment, but when I get home, I will disable the avast antivirus scanner from my Outlook Express (email) and see if that fixes the problem.
I seriously do NOT want to be without an antivirus scanner for my email program (IE Outlook Express). I have come to rely on its detection accuracy. Is there any way that I can reactivate the antivirus for my email? If so, please let me know how I can do this.
BTW, are you sure you want me to forward all my email (if it works)? Most of it is spam (a real nuisance!). Let me know one way or another.
Thanks!

LeLe

I went home at lunch and disabled the avast antivirus feature for my email program. I was able to download my email after that with no problem. I then sent you the emails that I had received, so far. The concern I have is that I will need to keep it disabled in order to get my emails from now on. That would not be very wise, imo. I would like to know what I need to do to fix this problem thoroughly, so that I can get the avast antivirus functioning in my email program, again.
BTW, before going to work this morning, I downloaded my emails (that I had not been able to download when the ‘buffer’ problem began last night) by using the online ‘mail2web’ site. Unfortunately, I deleted all of my ‘junk’ email from there. The email that I did not delete is what I sent to you. That may or may not have the ‘bug.’
Any suggestions?

Thanks,

LeLe

Please see thread (click here) Buffer overrun problem.

This is the same problem discussed there since this past Saturday. So far there has been no response.

Thank you, Seand, I caught the ‘buffer’ posts after I had submitted my query. :-[
Yes, indeed, it appears to be exactly the same problem. Now if we can only find out ‘why’ it is happening, and better yet, find a long-term solution.
I will stay alert to posts and see if someone can find the remedy without having to go to drastic measures of deleting or disabling avast. Avast has been such a good antivirus program - I would hate to lose it. :-[

Again, thanks!

LeLe

This seems to be a very serious problem – but to solve it, we absolutely need the data, i.e. the emails that are causing the mail scanner to fail…

As many as possible, and ideally - in the “wire” format (i.e. as plain text messages), nothing like MS Outlook .msg files…

Thanks
Vlk

LeLe, I could not agree more! Avast is the first antivirus program I have ever used that handled mail so well and with such small resource requirements. At this point I don’t think I could live without it.

I did uninstall/reinstall avast yesterday as well as visit the MS windows update site and scanned for updates even though technically speaking I had taken the most recent critical updates last Thursday. Lo and behold the site reported I needed a “wrap up” patch (about 256K) to complete my updates. I installed that immediately. Since that time avast has downloaded/scanned about 2000 mails (cleaned 4 infections) without a problem.

I am keeping my fingers crossed for the AM download on Tuesday. One of the accounts I check gets LOTS of spam (and viruses!) so I am a little anxious to see if all goes well. This problem seems to have appeared for several people on the same weekend (ariaaudio was the first to report it in the other thread I mentioned above) and I can only assume it is a new variant of a spam message/virus, or else is associated with the MS critical updates that everyone in the world was advised to take late last week. (The only other change in my system I think are the two “push” VPS updates I got in avast Pro late last week.)

As fas as I could tell none of the emails I had to bypass avast in order to downlaod had suspicious attachments so the problem is either in a new type of html body or else the MS updates. Perhaps the “wrap up” security patch MS is providing “fixes” something with the critical update they are not talking about…

Keeping my fingers crossed!

Sean D

Seand,
Thanks for the tips. I will check them out this evening (when I am at my personal computer). It would appear that the ms updates may have contributed in some way to this problem, since, I, too, updated very recently. I did not install the patch (wrap?), since I was not prompted to. I will check this out this evening, just in case I need it.
As the present, I am not experiencing any problems. I did as Vjotech recommended and disabled my antivirus. I then went back and reactivated it (after customizing my scanning options by scanning only ‘inbound and outbound emails’ - I did not check the ‘scan archived msgs’ box, and that may help). I then downloaded the current email I had with no problem.
Like you…am keeping my fingers crossed! G

Thanks a ton for your help!

LeLe

PS: Methinks, there is more to this problem than meets the eye. ::slight_smile:

Drats! I hate it when I misspell someone’s name/nic!

My apologies, Vojtech!

:-[

LeLe

I don’t think the problem you are having has anything to do with the MS Updates. But, then again, that may depend on the OS you are using … I dunno. I’m using W98SE fully patched and with the recent security updates. None of this caused me any problems with email nor avast! :slight_smile:

The problem is more likely with either Outlook, Outlook Express, or the email you are receiving. Those two are not very good email programs as far as security goes. :frowning:

Sorry, but that’s my 2 cents worth. Hope the issue is resolved for you very soon! :slight_smile:

LeLe, so far today no “overruns” but I did not get a lot of mail so not sure yet what the status is. One question: you mentioned not checking the “scan archived msg” box, I can’t seem to find that option in the Internet Mail On-Access config screens, can you tell me where that option is?

I am using Thunderbird as a mail client and I think you are using Outlook express so I am not sure that this problem is mail client related. Until we find an actual email that causes this problem I guess it is all idle speculation as what initiated it. I had been using avast for about three weeks with no problem and then the problem just popped out of the blue this weekend. It appears a few others also encountered the overrun roughly in the same timeframe based on the posts to this forum. That is why I believe it is probably one of two things:

  1. A new type of html message or virus, or
  2. Caused by the MS critical updates we all just installed.

I have set up my mail client to not delete my mail on the pop server after downloading so that I have a second chance at getting it all again in the event I get another crash using avast. Murphy’s law tells me I will have to wait a few days to get tihs to repeat but I am willing to wait if that what it takes to get a solution. Up to this point I have been real impressed with avast particularly for email scanning in conjuction with Spampal so I really hope I do not have to abandon it now.

Thanks for the kind words CharleyO, I have no other stake in determining the cause other than getting my avast to work again!

Sean D

While waiting patiently to get another message that generates this problem I wonder if given the fact that the “buffer overrun” message and program self termination by avast is actually generated by the avast program code itself and not by the underlying Win XP os, perhaps tech support could provide a little more information on the circumstances that can lead to this situation?

This issue is preventing me from deploying avast pro as the standard antivirus solution on several workstations and I am a little frustrated about the lack of feedback on why this internally generated message is being displayed by avast.

Sean D

Actually, this message is displayed by the Microsoft runtime libraries used by avast. The meaning of the message is “something went wrong”. It’s not possible to say more, because we don’t have any other information.
It seems that there may be a bug somewhere in avast!, causing this message to appear sometimes, but that’s all we know right now.

Thanks for the feedback Igor.

In order to accelerate my attempt to get another message that causes the problem I will be forwarding several other accounts at my company to my own one in the hopes that the increased volume of email will help. (hate having to deal with all the additional spam in my inbox though!)

I really do hope this issue can be resolved, as I stated elsewhere the elegance and simplicity of avast makes it one of those addictive programs one cannot do without. The “push” updates feature in the pro edition is just superb.

Sean D

Seand,
In the startup tray where the Avast icon is located, I double-clicked the icon and it brought up the "Avast, On-Access Scanner’ window. On the left hand side of the window is a list titled: “Installed Providers.” I highlighted the Outlook/Exchange (version 4.1-357) and then went to the Provider Configuration and clicked the “Custom” button. It brings up the “Resident Task Settings.” The first tab is “Scanner.” I then had the option of checking “Scan Inbound Messages” and/or “Scan Outbound Messages” and/or “Scan Archived Messages on Open”(This is the one I left ‘unchecked’). Further down on that same window (Scanner Tab) I had the option of also checking "Scan Message Bodies,’ which I checked for added precaution. It seems that having Avast NOT scan my ‘archived messages’ gave it ‘less’ work load.
So far, it has not given me any more problems. (Crossing what fingers I have left to cross…lol).
This may have been my ‘only’ problem. But, from what I can read, it happened to many of us at approximately the same time frame and with different ‘causes.’ It sounds entirely too ‘conincidental.’ Again, methinks there is something ‘afoot’ that we haven’t detected, yet.
I will be keeping tuned in, periodically, to see what others discover as this ‘mystery’ unravels.
My heartfelt thanks to everyone that responded and gave suggestions and methods on how to solve this problem.
Hugs to all

LeLe

Charley O,
I am using Win98SE (my favorite OS). As far as I can tell, I, too, have all the latest Win Updates/patches.
I have to admit, I panicked when I thought that I would not be able to use Avast with my email program (Outlook Express). However, it seems (at least for now) that the problem was resolved by lessening the work load on Avast by unchecking the ‘scan archived messages’ option. I have tons of archived email messages, and I am sure that ‘overwhelmed’ Avast. So, for the time being, I will keep that option disabled (scanning archived messages), since in a manner, that would be scanning messages twice.
Thanks for your input… :slight_smile:

LeLe

Lele,

Thanks for the info on the “scan archives” option. I am not using the Outlook/Exchange service because my main cleint is Thunderbird which I set up manually in the Internet Mail service area. The option to scan archives is not available there. You raise an interesting point though regarding the additional scanning of the archive as perhaps contributing to the problem. In my case it was not doing that but one of my accounts does get a lot of spam and I have had over 2 thousand emails scanned on any single day during the prior two weeks before encountering the overrun.

I am anxious to try and get to the bottom of this because of my need to deploy avast on other workstations (On my own PC alone the number of email borne files cleaned and moved to the chest is pretty terrifying, over 838 during the first two weeks before I uninstalled/reinstalled avast last Friday, and 48 since then!). I never realised the ferocity of these viruses and worms and prior to imstalling avast I had no statistics on just how many were coming via email.

Having read about your setup, I plan on setting up Outlook Express as a second client on my PC and have both clients download the mail but not delete it from the server so that if I do mange to repeat the overrun I will have a copy of all emails still on the pop server that i can send to avast support for analysis.

Thank you for having opened this thread, it gave me some relief to know that what I was experiencing was not unique (I guess misery loves company) and I am hopefull that at some point soon the problem will be fixed.

Sean D

I see a couple of misconceptions that should be clarified:

  1. The Outlook/Exchange provider does NOT handle Outlook Express. OE is a totally different program from Outlook, with totally different messaging model and plug-in model. In avast, OE is treated just like any other POP3/IMAP4/SMTP-based e-mail client (Eudora, Pegasus, IncrediMail, Mozilla etc.) and is covered by the ‘Internet Mail’ module. Hence changing any of the properties of the Outlook/Exchange shield in avast has absolutely no effect unless your using (full-blown) Outlook.

  2. The “Scan Archived Messages” option in the Outlook/Exchange provider means whether or not scan messages that are not in transport (inbound, outbound) but rather are already stored in the Outlook folders (Inbox, Sent Items, Drafts etc). I agree, it’d be more appropriate if this option would be called ‘Scan Stored Items’ but that doesn’t change the fact that the option does what I just said. SO, it doesn’t have anything in common with archive scanning, i.e. scanning of “packed” files (ZIP, ARJ, RAR etc.). To set the options for archive scanning, you’d need avast! Professional Edition. There you could finely customize which archives avast should scan in which provider.

  3. While thinking that archive scanning could have some connection with the problems you’re experiencing is not a bad idea, I don’t think it’s correct. The reason is the following: the scanning itself (i.e. also the decompression in case of packed objects) is performed inside the avast main service process ashServ.exe, NOT in ashMaiSv.exe (the mail scanner). This is how it works. However, what you’re seeing is a runtime error inside ashMaiSv.exe so it’s quite likely that the core of the problem is elsewhere. My personal tip is the heuristics and/or PUSH module, because it’s probably the part of ashMaiSv.exe that actually tries to dissect the message (i.e. is sensitivite to input data).

Hope this helps,
Vlk

Vlk,

Thanks, that was helpfull.

I decided to upgrade avast! tonight to the new build just released since I figured there was not much point to trying to debug an older build. On reboot I discovered that the new build detected Norton Antivirus installed on my PC even though I had uninstalled it (the older build did not complain and did load the resident scanner, but the new build seems to have found some remnant still around and refused to load the resident scanner)

In an effort to try and get rid of everything Norton and Symantec on my PC (XP) I used add/remove and unistalled Live Update and PCAnywhere (the only related items that were still in the add/remove applet) After a reboot, avastt resident shield did run and the Internet Mail service functioned, my mail client downloaded mail and it was scanned by avast etc. But… somehow these uninstalls messed up my Internet Explorer and it gets a fatal error when trying to run it. Likewise my System Restore function also seems to be broken. I am accessing my PC remotely from home so will have to wait until I get to work in the AM to try booting to safe mode and trying to undo everything I did tonight and starting fromm scratch again. I don’t think any of this is related to avast and as soon as I get it all cleared up I will start testing the new build again to see if the overrun returns.

Additional iinfo: Yes I had set the Internet Mail scanner to use Heuristics and also insert clean messages, as well as use the “push” feature. I dont plan on making any changes to this so that going forward I am theoretically trying to find/repeat the problem I encountered before with the same config but a new avast build . If it does not occur again perhaps the new build will have helped (or maybe it was whatever was still hanging around from my Norton uninstall that the new build found tonight).

Like LeLe says, keeping my fingers crossed! (seems like nothing is easy with MS)

Thanks,

Sean D