Home Help Center

Sample codes.

OrNotOrNot Member Bin.LiOrganization: GE HealthcareProject: Enterprise solution
hi,
I tried to test the sample codes in P.997. The sample can be builded sucessfully but some errors occured when I run it.
An exception was thrown:

Unhandled exception at 0x77e8bc3f in Test.exe: Microsoft C++ exception: Freeze::DatabaseException @ 0x0012f9c0.

Which came from :

if(_envHolder.get() != 0)
{
try
{
_envHolder->close(0);
}
catch(const ::DbException& dx)
{
DatabaseException ex(__FILE__, __LINE__);
ex.message = dx.what();
throw ex;
}
}





The console output :

[ d:/Ut-ice/Test/Debug/Test.exe: Berkeley DB: DbEnv "db": DB_TXN->abort: Log undo
failed for LSN: 1 171887: No such file or directory ]
[ d:/Ut-ice/Test/Debug/Test.exe: Berkeley DB: DbEnv "db": PANIC: No such file or
directory ]
[ d:/Ut-ice/Test/Debug/Test.exe: Berkeley DB: DbEnv "db": Unable to abort transaction
0x80000054: DB_RUNRECOVERY: Fatal error, run database recovery ]
[ d:/Ut-ice/Test/Debug/Test.exe: Berkeley DB: DbEnv "db": PANIC: DB_RUNRECOVERY:
Fatal error, run database recovery ]
[ d:/Ut-ice/Test/Debug/Test.exe: Berkeley DB: DbEnv "db": Error: closing the
transaction region with active transactions ]

if do I neglect anything which lead to the errors?


Best Regards
OrNot

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    These messages indicate a corruption of your database environment. It could occur if you delete files while in use, or if you run several processes with the same database environment.

    Cheers,
    Bernard
Sign In or Register to comment.