Re: [bdbxml] no db_java-4.3 in java.library.path
Dewitte Rémi <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your help. hum ! As you see, things don't take care of themselves. It's the same "problematic frame". Rémi # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb2026773, pid=11165, tid=3086509760 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, sharing) # Problematic frame: # C [libdb_java-4.3.so+0x1c773] Java_com_sleepycat_db_internal_db_1javaJNI_initDbEnvRef0+0x1f # # An error report file with more information is saved as hs_err_pid11165.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Le Mercredi 27 Juillet 2005 17:31, vous avez écrit : > > It doesn't work... maybe i should try with a 1.4 jdk ? > > I don't think that's the problem. Something else odd is going on. > Have you created the dbEnv directory before starting the example? > > It could be related to fedora core 4, which is pretty new, but I've not > heard of any problems. > > This issue is in the Berkeley DB part of the system. > Perhaps you can take BDB XML out of the loop and try > compiling/running one or more of the DB java examples > in db-4.3.28/examples_java. > > Can you try that to see what happens? > > George > > > [rdewitte@rdewitte gettingStarted]$ export > > LD_LIBRARY_PATH=~/dbxml-2.1.8/install/lib > > [rdewitte@rdewitte gettingStarted]$ export > > CLASSPATH=~/dbxml-2.1.8/install/lib/db.jar:~/dbxml-2.1.8/install/ > > lib/dbxml.jar:~/dbxml-2.1.8/dbxml/build_unix/dbxmlexamples.jar > > [rdewitte@rdewitte gettingStarted]$ mkdir dbEnv > > [rdewitte@rdewitte gettingStarted]$ java > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer -h > > dbEnv > > -p ../../xmlData > > # > > # An unexpected error has been detected by HotSpot Virtual Machine: > > # > > # SIGSEGV (0xb) at pc=0xb1fe3773, pid=9976, tid=3086321344 > > # > > # Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, > > sharing) > > # Problematic frame: > > # C [libdb_java-4.3.so+0x1c773] > > Java_com_sleepycat_db_internal_db_1javaJNI_initDbEnvRef0+0x1f > > # > > # An error report file with more information is saved as > > hs_err_pid9976.log > > # > > # If you would like to submit a bug report, please visit: > > # http://java.sun.com/webapps/bugreport/crash.jsp > > # > > Abandon > > > > # > > # An unexpected error has been detected by HotSpot Virtual Machine: > > # > > # SIGSEGV (0xb) at pc=0xb1fe3773, pid=9976, tid=3086321344 > > # > > # Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, > > sharing) > > # Problematic frame: > > # C [libdb_java-4.3.so+0x1c773] > > Java_com_sleepycat_db_internal_db_1javaJNI_initDbEnvRef0+0x1f > > # > > > > --------------- T H R E A D --------------- > > > > Current thread (0x09854948): JavaThread "main" [_thread_in_native, > > id=9976] > > > > siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x000000f8 > > > > Registers: > > EAX=0x09acb37c, EBX=0x8cc0e960, ECX=0x00000002, EDX=0x00000ffc > > ESP=0xbf96ca04, EBP=0xbf96ca3c, ESI=0x00000000, EDI=0x09854948 > > EIP=0xb1fe3773, CR2=0x000000f8, EFLAGS=0x00010246 > > > > Top of Stack: (sp=0xbf96ca04) > > 0xbf96ca04: 09854a04 bf96ca84 09855ab4 09854948 > > 0xbf96ca14: 09855aa4 ffffffff 00000000 00000000 > > 0xbf96ca24: bf96ca58 bf96ca84 8cc0e960 8cc0e960 > > 0xbf96ca34: 09854948 8cc0e960 bf96ca74 b289243b > > 0xbf96ca44: 09854a04 bf96ca7c 00000000 00000000 > > 0xbf96ca54: bf96ca84 bf96ca58 8cc0e960 bf96ca8c > > 0xbf96ca64: 8cc145f0 00000000 8cc0e960 bf96ca84 > > 0xbf96ca74: bf96caac b288c9fa 8cc14580 b2890589 > > > > Instructions: (pc=0xb1fe3773) > > 0xb1fe3763: e0 8b 45 14 89 45 e4 8b 02 ff 75 18 52 ff 50 54 > > 0xb1fe3773: 89 86 f8 00 00 00 8b 45 f0 8b 55 f4 8b 75 fc c9 > > > > Stack: [0xbf771000,0xbf971000), sp=0xbf96ca04, free space=2030k > > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, > > C=native > > code) > > C [libdb_java-4.3.so+0x1c773] > > Java_com_sleepycat_db_internal_db_1javaJNI_initDbEnvRef0+0x1f > > j com.sleepycat.db.internal.db_javaJNI.initDbEnvRef0(JLjava/lang/ > > Object;)J+0 > > j com.sleepycat.db.internal.db_java.initDbEnvRef0 > > (Lcom/sleepycat/db/internal/DbEnv;Ljava/lang/Object;)J+5 > > j com.sleepycat.db.internal.DbEnv.initialize()V+3 > > j com.sleepycat.db.internal.DbEnv.<init>(I)V+10 > > j > > com.sleepycat.db.EnvironmentConfig.createEnvironment()Lcom/ > > sleepycat/db/internal/DbEnv; > > +18 > > j > > com.sleepycat.db.EnvironmentConfig.openEnvironment(Ljava/io/File;) > > Lcom/sleepycat/db/internal/DbEnv; > > +1 > > j > > com.sleepycat.db.Environment.<init>(Ljava/io/File;Lcom/sleepycat/db/ > > EnvironmentConfig;)V+6 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.creat > > eEnv(Ljava/io/File;)Lcom/sleepycat/db/Environment; > > +46 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.loadX > > mlFiles(Ljava/io/File;Ljava/lang/String;Ljava/util/List;)V+12 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.main( > > [Ljava/lang/String;)V+250 > > v ~StubRoutines::call_stub > > V [libjvm.so+0x16a7dc] > > V [libjvm.so+0x2590d8] > > V [libjvm.so+0x16a60f] > > V [libjvm.so+0x18d952] > > V [libjvm.so+0x182117] > > C [java+0x17fe] > > C [libc.so.6+0x14de6] __libc_start_main+0xc6 > > > > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > > j com.sleepycat.db.internal.db_javaJNI.initDbEnvRef0(JLjava/lang/ > > Object;)J+0 > > j com.sleepycat.db.internal.db_java.initDbEnvRef0 > > (Lcom/sleepycat/db/internal/DbEnv;Ljava/lang/Object;)J+5 > > j com.sleepycat.db.internal.DbEnv.initialize()V+3 > > j com.sleepycat.db.internal.DbEnv.<init>(I)V+10 > > j > > com.sleepycat.db.EnvironmentConfig.createEnvironment()Lcom/ > > sleepycat/db/internal/DbEnv; > > +18 > > j > > com.sleepycat.db.EnvironmentConfig.openEnvironment(Ljava/io/File;) > > Lcom/sleepycat/db/internal/DbEnv; > > +1 > > j > > com.sleepycat.db.Environment.<init>(Ljava/io/File;Lcom/sleepycat/db/ > > EnvironmentConfig;)V+6 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.creat > > eEnv(Ljava/io/File;)Lcom/sleepycat/db/Environment; > > +46 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.loadX > > mlFiles(Ljava/io/File;Ljava/lang/String;Ljava/util/List;)V+12 > > j > > com.sleepycat.dbxml.examples.gettingStarted.exampleLoadContainer.main( > > [Ljava/lang/String;)V+250 > > v ~StubRoutines::call_stub ------------------------------------------ To remove yourself from this list, send an email to [email protected]