Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Error #601.
Mon, Jul 10 2017 7:52 PMPermanent Link

Steve Gill

Avatar

Occasionally I get this error message when running an application in the IDE:

Project MyProgram.exe raised exception class EEDBError with message 'ElevateDB Error #601 An error occurred with the statement at line 45 and column 15 (The table MyData is corrupt (Error flushing header to disk))'.

But when I verify or repair the table no problems are found. Just to be sure I have repaired the whole database but still no problems discovered.

Anyone else experience this or am I just the lucky one? Smile

= Steve
Mon, Jul 10 2017 7:53 PMPermanent Link

Steve Gill

Avatar

Oops, forgot to mention this is with 2.26 Build 2.
Tue, Jul 11 2017 2:27 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Steve

It last surface around 2007 / 2008 - I was one of the unwilling participants Smiley


I'd say put together a test project that reliably replicates the error and send it off to Tim. If you can't then notify him with as much detail as possible.

Roy Lambert
Tue, Jul 11 2017 1:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< Occasionally I get this error message when running an application in the IDE:

Project MyProgram.exe raised exception class EEDBError with message 'ElevateDB Error #601 An error occurred with the statement at line 45 and column 15 (The table MyData is corrupt (Error flushing header to disk))'.

But when I verify or repair the table no problems are found. Just to be sure I have repaired the whole database but still no problems discovered. >>

This means that EDB had an issue writing the table header data to disk.  Are you performing any threading in your application at all ?  If not, then my next guess would be antivirus/security software interfering with the writes in some way.  EDB writes the header to disk twice: one time with a "writing" flag set, and then again with it cleared, followed by a flush to disk if a transaction commit or if the TEDBSession.ForceBufferFlush property is set to True:

https://www.elevatesoft.com/manual?action=viewprop&id=edb2&product=rsdelphiwin32&version=10T&comp=TEDBSession&prop=ForceBufferFlush

If this is reproducible, please send me what you've got along with instructions on how to reproduce, and I'll take a look.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jul 11 2017 10:24 PMPermanent Link

Steve Gill

Avatar

Thanks Tim and Roy,

It happened a few times over a couple of days and hasn't happened since.  If it happens again and I can work out a way to reproduce it I will create a project.

= Steve
Image