dbTalk Databases Forums  

page type fault

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss page type fault in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
isha
 
Posts: n/a

Default page type fault - 03-23-2006 , 06:02 AM






Hi!

i am using berkeley db with java. When i try and dequeue a lot of data
it gives the error :

page1: illegal page type or format
PANIC: Invalid argument
PANIC: fatal region error detected; run recovery


This keeps happening, even if i remove the entire database files and
restart the application.

Could anyone please throw some light on this.

Thanks in advance.


Isha


Reply With Quote
  #2  
Old   
ubell@sleepycat.com
 
Posts: n/a

Default Re: page type fault - 03-23-2006 , 12:20 PM






Isha,

There is very little to go on here. The error indicates that the
database was somehow corrupted. I am not sure what you mean by
"dequeue a lot of data". Are you using the QUEUE access method? Are
you using the library in a multithreaded application?

Michael Ubell
Sleepycat Software.


Reply With Quote
  #3  
Old   
isha
 
Posts: n/a

Default Re: page type fault - 03-27-2006 , 12:31 AM



Hi!
By dequeue i meant reading the data. I have written a test case for
adding data to the Db and then reading from it. If i increase the
number of elements being store in the Db, i get this, error.
The first time i execute my test case, it works fine. The next time it
stores the data correctly but while reading the data from the database
i get this error.

It is a single threaded application.

I dont uderstand why the database becomes corrupted at this point. I
am using cursor to read the data.


Thanks.

Isha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.