Topic: Overflow Error (1 of 16), Read 57 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Sunday, December 26, 2004 11:45 AM

I sometimes get an overflow error while editing HTML files while using VPW 6.12.1 (but it has happened with previous versions) on a Win 98SE machine with 256 meg of RAM. VPW reports:

VPW caused a overflow error in module VPW.EXE at 01af:00430e8c.
Registers:
EAX=ffea6d8a CS=01af EIP=00430e8c EFLGS=00010a03
EBX=0050074d SS=01b7 ESP=006bfbfc EBP=006bfc2c
ECX=00000004 DS=01b7 ESI=00467a45 FS=1207
EDX=0000075c ES=01b7 EDI=00522d4a GS=0000
Bytes at CS:EIP:
f7 f1 59 88 0d d3 78 46 00 59 91 51 e8 e4 43 01
Stack dump:
00000076 00000081 00430dda 00430d3f 0042a4bd 0044c54e 00000000 00000000 00000000 00000000 00467a45 00000000 006bfc64 00401d50 0042a497 00000000

I can replicate the error easily - every time I try to perform the same edit (which can be as simple as inserting a single character) I get a crash. Rebooting doesn't matter. What I end up having to do is to open the file in Wordpad (gag!), finish the edit that causes the crash, save the file and go back to Vedit. At times I will get repeated crashes on different lines in the same area of the file, but eventually I get past the roadblock and Vedit works fine on the rest of the file.

After this latest crash I decided to see if it can be replicated elsewhere. I have the offending file, and know which line and which inserted character cause a crash. I'm using a customized color syntax file for HTML. I will be glad to provide all of these.

I could install VPW 6.12.1 on a Win2k machine that I own, which also uses FAT32, and see if I can replicate the crash there.

One final thought - the file that crashes has 65,564 bytes, or barely over 64k - could that have anything to do with it?

 


Topic: Re: Overflow Error (2 of 16), Read 54 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Monday, December 27, 2004 11:50 AM

On Sun, 26 Dec 2004 11:45:00 -0500, Dale Cook wrote:

>[crashing Vedit]
>
>I can replicate the error easily - every time I try to perform the same edit
>(which can be as simple as inserting a single character) I get a crash.
>...
>
>After this latest crash I decided to see if it can be replicated elsewhere. I
>have the offending file, and know which line and which inserted character cause
>a crash. I'm using a customized color syntax file for HTML. I will be glad to
>provide all of these.
>
>I could install VPW 6.12.1 on a Win2k machine that I own, which also uses
>FAT32, and see if I can replicate the crash there.

Does it crash without the HTML syntax file too?

Did you test it with Vedit 6.13.1(beta) too?

You can send the files to me via mail.
I'll try it on my Win2k box then.
Please include an exact description how to do the crash.


Christian

 


Topic: Re: Overflow Error (3 of 16), Read 58 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Monday, December 27, 2004 05:58 PM

On 12/27/2004 11:50:49 AM, Christian Ziemski wrote:

>Does it crash without the HTML syntax
>file too?

Christian -

Yes - I had thought of that.

>Did you test it with Vedit 6.13.1(beta)
>too?

No - where is it? I've only seen the Pro64 6.12.1 beta. I'd gladly try it with the beta.

>You can send the files to me via mail.
>I'll try it on my Win2k box then.
>Please include an exact description how
>to do the crash.

I installed Vedit on my new Win2K box and it crashes in the same places in the same two revisions of the HTML file as the Win98SE box. I've included a text file with the line number and action that crashes each of the files, along with the register dumps from the crashes.

- Dale

 


Topic: Re: Overflow Error (4 of 16), Read 58 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Tuesday, December 28, 2004 06:01 AM

On 12/27/2004 5:58:50 PM, Dale Cook wrote:

>On 12/27/2004 11:50:49 AM, Christian Ziemski wrote:
>>Does it crash without the HTML syntax file too?
>Yes - I had thought of that. <g>

I just wanted to be sure ... ;-)

>>Did you test it with Vedit 6.13.1(beta) too?
>No - where is it?
>I've only seen the Pro64 6.12.1 beta.
>I'd gladly try it with the beta.

It should be here:
http://www.vedit.com/download/beta/vw-pro64.exe


Christian

 


Topic: Re: Overflow Error (7 of 16), Read 54 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Tuesday, December 28, 2004 12:42 PM

On 12/28/2004 6:01:57 AM, Christian Ziemski wrote:

>>>Did you test it with Vedit 6.13.1(beta) too?
>>No - where is it?

>http://www.vedit.com/download/beta/vw-pr
>o64.exe

Christian -

I wondered, because the beta-test page:

http://www.vedit.com/beta-page.htm

shows the beta as "VEDIT Pro64 version 6.12.1 (dated 05/20/2004)"

- Dale

 


Topic: Re: Overflow Error (5 of 16), Read 57 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Tuesday, December 28, 2004 09:49 AM

Dale:

On 12/27/2004 5:58:50 PM, you wrote:

>I installed Vedit on my new Win2K box and it crashes in
>the same places in the same two revisions of the HTML file as the
>Win98SE box. I've included a text file with the line number and action that
>crashes each of the files, along with the register dumps from the crashes.

I still can't replicate it.
And the files you sent me are only 1728 and 1721 lines long, so I'm not able to follow your instructions exactly to do s.th. in lines 1885/1921 ????

I tried to add some characters to your files using several 6.12.1 versions and the latest 6.13.1. No crashes until now.

Christian

PS: Perhaps it's better to attach your future test files to a message here in Webboard.
It seems to be necessary to let other users test them too.

 


Topic: Re: Overflow Error (6 of 16), Read 55 times, 3 File Attachments
Conf: Error messages, Crashes
From: Dale Cook
Date: Tuesday, December 28, 2004 12:32 PM

On 12/28/2004 9:49:25 AM, Christian Ziemski wrote:

>I still can't replicate it.
>And the files you sent me are only 1728
>and 1721 lines long, so I'm not able to
>follow your instructions exactly to do
>s.th. in lines 1885/1921 ????

That might be a function of my display parameters. I'm running 1024 x 768, and have word wrap enabled. Also, this isn't while running Pro64 - it is under the 32 bit version of Vedit, whether on my 98SE box (its usual home) or the 2k box. When the 2k box replaces the 98SE box I will be installing Pro64 on the new box, but that probably won't be until this weekend.

>Perhaps it's better to attach your
>future test files to a message here in
>Webboard. It seems to be necessary to
>let other users test them too.

I'll attach the files here so they will be available to others.

- Dale

 
Error capture
  File being edited - #1
  File being edited - #2

 


Topic: Re: Overflow Error (8 of 16), Read 57 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Tuesday, December 28, 2004 02:10 PM

Dale:

Just a quick info:

On Tue, 28 Dec 2004 00:32:00 -0500, you wrote:

>I'm running 1024 x 768, and have word wrap enabled.

Ah! That's it! With word-wrap enabled it crashes here too.


>Also, this isn't while running Pro64 - it is under the
>32 bit version of Vedit

The 32-Bit version crashes and the 64-Bit behaves strange.
(6.13.1 10/13/04)

More tests to follow...


Christian

 


Topic: Re: Overflow Error (9 of 16), Read 60 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Tuesday, December 28, 2004 03:29 PM

On 12/28/2004 2:10:39 PM, Christian Ziemski wrote:

>Ah! That's it! With word-wrap enabled it
>crashes here too.

Christian -

Excellent! I had been thinking that there must be another factor, and when you mentioned the line count I realized that I hadn't mentioned word wrap.

>The 32-Bit version crashes and the
>64-Bit behaves strange.
>(6.13.1 10/13/04)
>
>More tests to follow...

Thanks - I appreciate it. I spend about 10 hours each week editing HTML files, and this problem crops up once every 2-3 months. It will occur only in part of the file - if I switch to another editor for 20-30 lines, and then switch back to Vedit, the problem does not occur again.

- Dale

 


Topic: Re: Overflow Error (10 of 16), Read 60 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Tuesday, December 28, 2004 04:19 PM

On Tue, 28 Dec 2004 15:29:00 -0500, Dale Cook wrote:

>Thanks - I appreciate it. I spend about 10 hours each week editing
>HTML files, and this problem crops up once every 2-3 months. It
>will occur only in part of the file - if I switch to another
>editor for 20-30 lines, and then switch back to Vedit, the problem
>does not occur again.

Dale:

It seems to happen on several places within the file.

One additional thing one can see is that the scrollbar sometimes goes
crazy when inserting characters. On every second inserted char the
scrollbar becomes full size (as if the file were very small) and then
it becomes normal again. (This effect is what I saw with the 64 bit
version. No crashes there.)

Some lines (or simply characters) further all seems normal again.

(It looks like a calculation error within the code!?
The files have long lines, over 800 characters. Perhaps an overflow?
Hence the subject? ;-)
)

To exclude the HTML-Syntax-highlighting as reason I renamed the test
file to .txt. Still crashes.

And you are correct: It seems to have to do with the file size.
Making the file smaller "cures" it.


I think these should be enough infos for Ted to have a closer look at
it. When he's back from his christmas holidays.

Christian


PS: Ted: the word wrapping slows down VEDIT siginficantly with Dale's
files (o.k., I'm still using my old PII 400, but...)

 


Topic: Re: Overflow Error (11 of 16), Read 58 times
Conf: Error messages, Crashes
From: Ian Binnie
Date: Tuesday, December 28, 2004 09:11 PM

Just for the record I tried it, and it crashes Vedit

VEDIT (32-Bit) Ver. 6.13.1 09/07/04
Windows-Version: 501

 


Topic: Re: Overflow Error (12 of 16), Read 57 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Tuesday, December 28, 2004 09:14 PM

On 12/28/2004 4:19:21 PM, Christian Ziemski wrote:

>(It looks like a calculation error
>within the code!?
>The files have long lines, over 800
>characters. Perhaps an overflow?
> Hence the subject? ;-)

Christian -

While we are on the subject, I have on a couple of occasions, again while editing HTML files, gotten a crash with an error message about a line being too long and switching to another mode. I don't have the dumps for those (they have been much rarer than the overflow).

>It seems to have to do with the file size.
>Making the file smaller "cures" it.

Making it larger does, too. When Vedit crashes I switch to another editor for a bit, and after I've added enough characters I can switch back to Vedit, which is then fine. The problem seems to occur right around a file size of 64k.

- Dale

 


Topic: Re: Overflow Error (14 of 16), Read 58 times
Conf: Error messages, Crashes
From: Ted Green
Date: Wednesday, December 29, 2004 10:07 AM

At 09:14 PM 12/28/2004, you wrote:
>While we are on the subject, I have on a couple of occasions, again while editing HTML files, gotten a crash with an error message about a line being too long and switching to another mode. I don't have the dumps for those (they have been much rarer than the overflow).

This I am pretty sure if (finally) fixed in 6.13.1

Ted.

 


Topic: Re: Overflow Error (13 of 16), Read 58 times
Conf: Error messages, Crashes
From: Ted Green
Date: Wednesday, December 29, 2004 10:06 AM

At 04:19 PM 12/28/2004, you wrote:

>I think these should be enough infos for Ted to have a closer look at
>it. When he's back from his christmas holidays.

Yes, I am now back from my Xmas holidays.
Thank you for determining the exact steps to replicate the crash.
That should be enough for me to fix it.

Ted.

 


Topic: Re: Overflow Error (15 of 16), Read 32 times
Conf: Error messages, Crashes
From: Dale Cook
Date: Monday, January 30, 2006 12:39 PM

Ted -

Did you ever come up with a fix for this? I suspect not, as I'm having the same problem again in 6.15.1.

- Dale

 


Topic: Re: Overflow Error (16 of 16), Read 35 times
Conf: Error messages, Crashes
From: Ted Green
Date: Monday, January 30, 2006 01:06 PM

At 12:39 PM 1/30/2006, you wrote:
>Did you ever come up with a fix for this? I suspect not, as I'm having the same problem again in 6.15.1.

Dale:

Please email me (ted@vedit) the exact steps to replicate the problem, including a test file and your vedit.cfg and vedit.ini files.

Ted.