SIGBUS on FreeBSD 4.7-S / Native JDK 1.3

Ernst de Haan znerd at FreeBSD.org
Fri Apr 11 03:50:05 PDT 2003


Alexey, Greg,


We're in the middle of deploying quite a large frontend application on 
Tomcat 4. We'd prefer to deploy on J2SE 1.3/FreeBSD, but we're getting 
SIGBUS errors. Currently we're using these versions:

* Tomcat 4.1.24
* JDK 1.3.1p7
* FreeBSD 4.7-STABLE (Compiled @ 2002.11.18/14:56:20 CET)
* x86 SMP system (Dual P4, I think)

I see a number of alternative solutions:

* Upgrade to FreeBSD 4.8 (I remember there were some Java-related
  improvements after Nov 2002, right?)
* Upgrade to JDK 1.3.1p8
* Set MAXUSERS to 0 in the kernel config file and recompile and install the
  kernel (I remember this solved some native JDK problem in the past)
* Use a different J2SE VM (I don't really want to do this)
* Examine the core file to see what exactly went wrong

Any suggested approach?

Would any of you be able to examine the contents of this core file? I have 
no experience with that sort of thing whatsoever :(


This is the head of the error message in the log file:

SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p7-goran-021210-11:39, green threads):
    "Keep-Alive-Timer:templates.gpf.wanadoo.nl" (TID:0x28e46e48, 
sys_thread_t:0x8b4d680, state:CW) prio=8
        at java.lang.Thread.sleep(Native Method)
        at sun.net.www.http.ClientVector.run(KeepAliveCache.java:216)
        at java.lang.Thread.run(Thread.java:484)
    "Thread-25" (TID:0x28dd5bd8, sys_thread_t:0x8b4d280, state:MW) prio=5
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)


Regards,


Ernst


More information about the freebsd-java mailing list