Hi,
I'm trying to use the Java API to Berkeley DB 4.3.29. JVM is Sun's
1.5.0_04-b05 running on Linux Fedora Core 4. On an amd64 machine, we
see errors like the one below when trying to set cache settings on
environment or database config. When we don't fiddle with those
settings, the could fails due to "environment did not include a memory
pool".
On a 32 bit machine (same version of the jvm and fedora) even the
HelloDatabaseWorld crashes like this.
Any suggestions as to what is going on here?
Regards,
Niall
Trying to open dir test
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00002aaaef985000, pid=11541,
tid=46912496238528
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# C 0x00002aaaef985000
#
# An error report file with more information is saved as
hs_err_pid11541.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
The system details are:
--------------- S Y S T E M ---------------
OS:Fedora Core release 4 (Stentz)
uname:Linux 2.6.13-1.1526_FC4 #1 Wed Sep 28 19:15:04 EDT 2005 x86_64
libc:glibc 2.3.5 NPTL 2.3.5
rlimit: STACK 10240k, CORE 0k, NPROC 8185, NOFILE 1024, AS infinity
load average:2.23 2.15 2.12
CPU:total 1 amd64 3dnow
Memory: 4k page, physical 1024916k(9716k free), swap 2008084k(1798096k
free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_04-b05) for
linux-amd64, built on Jun 3 2005
01:50:28 by java_re with gcc 3.2.2 (SuSE Linux)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sleepycat.db.internal.db_javaJNI.Db_set_caches ize(JJI)V+0
j com.sleepycat.db.internal.Db.set_cachesize(JI)V+6
j
com.sleepycat.db.DatabaseConfig.configureDatabase( Lcom/sleepycat/db/internal/Db;Lcom/sleepyca
t/db/DatabaseConfig

V+241
j
com.sleepycat.db.DatabaseConfig.openDatabase(Lcom/sleepycat/db/internal/DbEnv;Lcom/sleepycat/
db/internal/DbTxn;Ljava/lang/String;Ljava/lang/String

Lcom/sleepycat/db/internal/Db;+183
j
com.sleepycat.db.Environment.openDatabase(Lcom/sleepycat/db/Transaction;Ljava/lang/String;Lja
va/lang/String;Lcom/sleepycat/db/DatabaseConfig

Lcom/sleepycat/db/Database;+27
j