EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Corrupted storage

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#5988
Posted: 04/23/2008 09:10:55
by Xcentric (Standard support level)
Joined: 04/23/2008
Posts: 2

While testing SolFS we have faced an issue.

Scenario 1 (works ok):
=============================================================
StorageCreate(L"c:\\test.st", False, 4096, NULL, &m_hStorage, '\\', False, False);
StorageSetStorageSize(m_hStorage, 1024*1024*200, NULL, NULL);
StorageSetAutoCompact(m_hStorage, 0);
StorageSetCaseSensitive(m_hStorage, False);

...
creating/writing/deleting multiple of directories and files.
...
StorageClose(m_hStorage);


Scenario 2 (does not work):
=============================================================
StorageCreate(L"c:\\test.st", False, 4096, NULL, &m_hStorage, '\\', False, False);
StorageSetStorageSize(m_hStorage, 1024*1024*200, NULL, NULL);
StorageSetAutoCompact(m_hStorage, 0);
StorageSetCaseSensitive(m_hStorage, False);

// mmediately closing storage.
StorageClose(m_hStorage);

// now opening previously created storage
StorageOpen(L"c:\\test.st", &m_hStorage, '\\', False, False);
StorageSetAutoCompact(m_hStorage, 0);
StorageSetCaseSensitive(m_hStorage, False);

...
creating/writing/deleting multiple of directories and files.

after creating a couple of files StorageCreateFile() and
StorageOpenFile() always fails.
StorageCreateFile() returns undocumented error code 87.
And finally program get crashed (access violation) inside of StorageCreateFile()
TStorageGetPage() +0x67 bytes.
After that solfs explorer reports about storage corruption.
#5989
Posted: 04/23/2008 09:30:29
by Eugene Mayevski (EldoS Corp.)

1) Are you talking about SolFS Standard or Driver?
2) What exactly version (build number matters) of SolFS are you testing?



Sincerely yours
Eugene Mayevski
#5991
Posted: 04/23/2008 09:42:47
by Xcentric (Standard support level)
Joined: 04/23/2008
Posts: 2

1) SolFS Standard, static library (no nag screen).
2) 3.2.94

OS: WinXp Pro SP2
#5994
Posted: 04/23/2008 11:34:33
by Alexander Plas (EldoS Corp.)

Moved to HelpDesk

Reply

Statistics

Topic viewed 3190 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!