PDA

View Full Version : Status display causes crash



pal
September 26th, 2011, 10:36 AM
Status display causes Vedit to crash.

1. Start VEDIT
2. Open a file.
3, Show status display (either pressing Alt-Enter or select it from Help menu)
4. Close the status display.
5. Show status display again.
-> Error dialog is displayed: "VEDIT Editor has encountered a problem and needs to close. ... Please tell Microsoft about this problem...".

This problem occurs on Vedit 6.21.1 and 6.21.3 (but not on 6.15).

--Pauli

Scott Lambert
September 26th, 2011, 12:03 PM
Hi Pauli,

Unable to cause crash on my system using 6.21.1. What type of file are you openning? I did my test with a vdm file. Scott


Status display causes Vedit to crash.

1. Start VEDIT
2. Open a file.
3, Show status display (either pressing Alt-Enter or select it from Help menu)
4. Close the status display.
5. Show status display again.
-> Error dialog is displayed: "VEDIT Editor has encountered a problem and needs to close. ... Please tell Microsoft about this problem...".

This problem occurs on Vedit 6.21.1 and 6.21.3 (but not on 6.15).

--Pauli

mrvedit
September 26th, 2011, 01:30 PM
I cannot replicate it either.

pal
September 27th, 2011, 04:44 AM
It does not matter which file I open. It may be a .c file or plain text file.

The crash may occur in other operations, too, after showing status display.
For example:

1. Start Vedit
2. Open a file
3. Show Status Display and close it
4. Select {Config -> File open config -> Save filename extension config}, click OK
--> Crash

I am using Windows XP. Maybe there is some Win7/Vista fix that causes problems with XP.

--
Pauli

folioite
September 27th, 2011, 07:29 AM
I am using XP SP3; cannot duplicate this...

chriz
September 27th, 2011, 09:06 AM
Cannot replicate on XP (Vedit 6.21.3 and 6.22.1) and/or Win7 (Vedit 6.21.4).

Scott Lambert
September 27th, 2011, 11:57 AM
Hi Pauli,

Since you seem to be the only one to encounter the problem, I suggest you rename your startup.vdm something else and then try it. This way, it would eliminated any particular customizations you have made. Maybe even rename the vedit.cfg file as well. Want to see if it happens with just the "out of the box" vedit. Scott




It does not matter which file I open. It may be a .c file or plain text file.

The crash may occur in other operations, too, after showing status display.
For example:

1. Start Vedit
2. Open a file
3. Show Status Display and close it
4. Select {Config -> File open config -> Save filename extension config}, click OK
--> Crash

I am using Windows XP. Maybe there is some Win7/Vista fix that causes problems with XP.

--
Pauli

pal
September 27th, 2011, 04:47 PM
I re-installed Vedit into a new directory and did not change anything from the defaults.
The problem did not exist.

I then compared my .cfg file to the default config file and soon found out the source of the problem.

If {Config -> Miscellaneous -> Date format} is the default 0, there is no problem.
But as soon as I changed it to anything else (1, 2 or 3), Vedit crashes after viewing the Status Display.
In adition, in this case the line that should display the file last modified date in Status Display, is messed. The date is displayed twice, it overlaps the text and continues outside the window (probably it writes outside the reserved memory area).

--
Pauli

mrvedit
September 27th, 2011, 05:16 PM
Yes, I was able to replicate it and (hopefully) fix it.

A preliminary 6.22 with this fix is available at:

www.vedit.com/download/beta/vpw.exe

Its always good to get these obscure bugs fixed. :)

Ted.

chriz
September 28th, 2011, 03:35 AM
With non-default {Config -> Miscellaneous -> Date format} the crash was replicable here too.

But it no longer crashes with yesterdays 6.22.1 09/27/11.

pal
September 28th, 2011, 04:21 AM
Yes, the bug seem to be fixed on v6.22.1.
The date line on Status Display is now formatted correctly and there is no crash.

pal
September 28th, 2011, 04:32 AM
There is still another problem with Status Display.
It is an old problem I have reported many years ago.

If the pathname of the file is too long to fit in Status Display window, there is horizontal scroll bar on the window.
However, when you scroll the display to the right as much as possible, the end of the filename is still not visible.
Typically, the extension part of the filename is outside the display.