Topic: Sort Crashes (1 of 6), Read 15 times
Conf: Error messages, Crashes
From: Ian Binnie
Date: Friday, January 16, 2009 12:15 AM

Whenever I try to do a sort vedit crashes.

This started happening a few weeks ago, and on 2 different systems (2K, XPSP2).

Even sorting a simple list of email addresses, which I routinely did crashes.

If I start vedit with -g, it does work.

Any ideas how to find what is causing this?

 


Topic: Re: Sort Crashes (2 of 6), Read 13 times
Conf: Error messages, Crashes
From: Ted Green
Date: Friday, January 16, 2009 09:37 AM

At 12:38 AM 1/16/2009, you wrote:
>From: Ian Binnie
>
>Whenever I try to do a sort vedit crashes.
>
>This started happening a few weeks ago, and on 2 different systems (2K, XPSP2).
>
>Even sorting a simple list of email addresses, which I routinely did crashes.
>
>If I start vedit with -g, it does work.
>
>Any ideas how to find what is causing this?

Sorry, no idea. No one else is reporting problems.

You want to run a Memory diagnostic. Microsoft has a little-knowm, but good one. Here is an article about it:

http://tech.kateva.org/2007/11/microsofts-free-memory-test-utility.html

Ted.

 


Topic: Re: Sort Crashes (3 of 6), Read 13 times
Conf: Error messages, Crashes
From: Ian Binnie
Date: Friday, January 16, 2009 11:51 PM

On 1/16/2009 9:37:53 AM, Ted Green wrote:
>At 12:38 AM 1/16/2009, you
>wrote:
>>From: Ian Binnie
>>
>>Whenever I try to do a sort vedit crashes.
>>
>>This started happening a few weeks ago, and on 2 different systems (2K, XPSP2).
>>
>>Even sorting a simple list of email addresses, which I routinely did crashes.
>>
>>If I start vedit with -g, it does work.
>>
>>Any ideas how to find what is causing this?
>
>Sorry, no idea. No one else is
>reporting problems.
>
>You want to run a Memory
>diagnostic.

I did not think it was a memory issue, as it happens on different machines.

I think I have found the cause.
I routinely use the -f option.
If I start vedit without it it works.

 


Topic: Re: Sort Crashes (4 of 6), Read 12 times
Conf: Error messages, Crashes
From: Christian Ziemski
Date: Saturday, January 17, 2009 04:42 AM

On 17.01.2009 06:12 in vtech-crash-error Ian Binnie wrote:
>
> I did not think it was a memory issue, as it happens on different machines.
>
> I think I have found the cause.
> I routinely use the -f option.
> If I start vedit without it it works.

I can confirm that problem.

Sorting only a few lines aborts with "INTERNAL ERROR 04" and jumps into
Command Mode.
Typing "??" points to the Sort_Merge(...) command in sortmerg.vdm

The second try within the same session is working o.k.

But sorting more lines crashes VEDIT.

That indeed only happens when starting VEDIT with "-f" option.

Ian:
What does "-f" do?
I can't find it in the online help and I've never seen it (AFAIR).


Christian

 


Topic: Re: Sort Crashes (5 of 6), Read 12 times
Conf: Error messages, Crashes
From: Ted Green
Date: Saturday, January 17, 2009 12:33 PM

At 05:13 AM 1/17/2009, you wrote:
>From: "Christian Ziemski"
>
>On 17.01.2009 06:12 in vtech-crash-error Ian Binnie wrote:
>>
>> I did not think it was a memory issue, as it happens on different machines.
>>
>> I think I have found the cause.
>> I routinely use the -f option.
>> If I start vedit without it it works.
>
>I can confirm that problem.

OK. I will add it to my bug reports. However, since "-f" is "undocumented" it will be a low priority.

>What does "-f" do?
>I can't find it in the online help and I've never seen it (AFAIR).

It forces VEDIT to overwrite the original file with the modified file. It completely changes how the file-close function creates a .bak file and the modified file.
Not sure what value "-f" has in the Windows world or why Ian is using it.

Ted.

 


Topic: Re: Sort Crashes (6 of 6), Read 12 times
Conf: Error messages, Crashes
From: Ian Binnie
Date: Saturday, January 17, 2009 06:33 PM

On 1/17/2009 12:33:09 PM, Ted Green wrote:
>At 05:13 AM 1/17/2009, you
>wrote:
>>From: "Christian Ziemski"
>>
>OK. I will add it to my bug reports.
>However, since "-f" is "undocumented" it
>will be a low priority.
>
>>What does "-f" do?
>>I can't find it in the online help and I've never seen it (AFAIR).
>
>It forces VEDIT to overwrite the
>original file with the modified file. It
>completely changes how the file-close
>function creates a .bak file and the
>modified file.
>Not sure what value "-f" has in the
>Windows world or why Ian is using it.

I make extensive use of hardlinks to organise files and share between different projects.

Editing normally breaks the hardlink.

See http://webboard.vedit.com/read?48432,28