Forum Post
Index > Scribe > Compact Error

Author/Date Compact Error
Josh
11/12/2007 4:00pm
While attempting to compact my mail file, I received the following error:

Failed to read from file: 7093 bytes at position 557391189

I tried using FolderDump but it gave me back a file twice the original size with the entire folder structure messed up.

I also just tried exporting everything out to a new .mail2 file. I created a new blank .mail2 file (only contained empty folders) Then I used "Export to .mail2" and selected "All Folders" and selected the root to import into. I received an error message (same one with 2 tries)

Unhandled Exception
Code: c0000005
Date: 12/11/2007 7:53:41a
Description: EXCEPTION_ACCESS_VIOLATION

Call stack:
------------------------------------------------------------------
0040C78F: E:\Program Files\Scribe\Scribe.exe Offset: 0x3 (ScribeWnd::GetOptions)
100257DF: E:\Program Files\Scribe\Lgi.dll Offset: 0x51E (GWindow::OnEvent)
00411B81: E:\Program Files\Scribe\Scribe.exe Offset: 0xD4A (ScribeWnd::OnEvent)
1002071B: E:\Program Files\Scribe\Lgi.dll Offset: 0x55 (GWin32Class::Redir)
7E418734: I:\WINDOWS\system32\USER32.dll Offset: 0x6D (GetDC)
1001DD2E: E:\Program Files\Scribe\Lgi.dll Offset: 0x57 (GApp::Run)
0041B5DE: E:\Program Files\Scribe\Scribe.exe Offset: 0x40CA (ScribeWnd::MailMerge)
7C816FD7: I:\WINDOWS\system32\kernel32.dll Offset: 0x49 (RegisterWaitForInputIdle)
------------------------------------------------------------------

Any ideas? Is there any way to try to fix things with a hex editor?

Thanks,
Josh
Josh
11/12/2007 4:02pm
Sorry, I'm running InScribe 1.89 Test 20 on Windows XP SP2.
Josh
14/12/2007 3:29pm
Anybody have any ideas on this one? (Actually I guess that means, fret, any ideas on this one?)

Josh
fret
14/12/2007 9:09pm
Can you install this build and crash it in the export again?

Send me the crash data and I'll try and fix that crash so you can export the folders.
Josh
17/12/2007 3:21pm
OK, I got the new version and managed to do an export. It reported 3 bad nodes during the export which I told it to delete (they were in the Spam folder, so I'm not too worried) and I ended up with a 1.6 GB file! The file compressed back down to 233MB so I'm happy with that.

I did receive one error message along the way, which was related to running out of disk space. Fortunately I had a different drive that I was able to export to and everything worked out in the end. The error message that came up didn't explain that there was a disk space problem, so I'll post the info here.

The following error showed in a message box:

Assertion Failed!

Program: E:\Program Files\ScribeDebug\Scribe.exe
File: C:\Code\Lgi\src\common\Storage\Store2.cpp
Line: 765

Expression: w == DirLength

(there was more text talking about looking at the documentation on asserts)

The dialog box had Abort, Retry and Ignore buttons


I clicked on "Abort" and the program exited. There was nothing put into the CrashData text file.

I tried again, only this time hitting the "Retry" button and the following was placed in the CrashData file:

Unhandled Exception
Code: 80000003
Date: 12/17/2007 7:20:50a
Description: EXCEPTION_BREAKPOINT

Call stack:
------------------------------------------------------------------
10212664: E:\Program Files\ScribeDebug\MSVCRTD.dll Offset: 0x364 (assert)
005B5A1F: E:\Program Files\ScribeDebug\Scribe.exe Offset: 0x82E6C (Calendar::GetView)
1005ABCC: E:\Program Files\ScribeDebug\Lgid.dll Offset: 0xC5D (GWindow::OnEvent)
00424B88: E:\Program Files\ScribeDebug\Scribe.exe Offset: 0x1ADC (ScribeWnd::OnEvent)
1004E1AC: E:\Program Files\ScribeDebug\Lgid.dll Offset: 0xB2 (GWin32Class::Redir)
7E418734: I:\WINDOWS\system32\USER32.dll Offset: 0x6D (GetDC)
10047F34: E:\Program Files\ScribeDebug\Lgid.dll Offset: 0xCD (GApp::Run)
0043CECA: E:\Program Files\ScribeDebug\Scribe.exe Offset: 0xD854 (ScribeWnd::MailMerge)
7C816FD7: I:\WINDOWS\system32\kernel32.dll Offset: 0x49 (RegisterWaitForInputIdle)
------------------------------------------------------------------

Hitting ignore would only bring the same message up on the screen again.

At one point, an error message showed up saying that there was a problem with a file size mismatch. I don't remember the exact wording of it, but I believe it told the expected size and the actual size. It could have lead one to believe that there was insufficient room an the drive, but it was not specific. I would tell you more about it, but I am unable to get it to show up again.
Josh
17/12/2007 3:22pm
One other thing I noticed is that the export does not copy Filters or Calender objects (ToDo items or Date items)
fret
19/12/2007 10:47pm
This part
Program: E:\Program Files\ScribeDebug\Scribe.exe
File: C:\Code\Lgi\src\common\Storage\Store2.cpp
Line: 765

Expression: w == DirLength


Means that Scribe had trouble writing to disk... possibly because the disk was out of space or some windows problem with reading/writing to files.

Did you manage to get a working set of folders?
Josh
20/12/2007 2:40pm
I got a working set of mail folders and contacts, but the filters and calender items didn't transfer.

Is there any way to transfer filters. I'd really rather not have to re-create around 60 filters.
Reply