Re: [bdbxml] no db_java-4.3 in java.library.path

George Feinberg <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
FYI,

This issue was solved off-list, and turns out to be an
optimization bug in GCC 4.0 (used by Fedora 4).
This can happen if you configure a release version of the system.
Workarounds:
  If you configure Berkeley DB as follows:

   env CFLAGS="-O0" ../dist/configure --enable-java [...]

You should find that this error no longer occurs.
In fact, only db_java_wrap.c seems to trigger this bug in GCC,
so you can just compile that without "-O2" if you prefer.

The same problem occurs in GCC 4.0.1.

Regards,

George

On Jul 21, 2005, at 7:29 AM, Dewitte Rémi wrote:

> I solved my last problem butt i've another error :
>
> LD_LIBRARY_PATH=~/dbxml-2.1.8/install/lib/ java simpleAdd
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0xb1f83773, pid=27836, tid=3085883072
> #
> # 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_pid27836.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> Thanks.
> Rémi
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to [email protected]
>
>



------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.