Spark on FreeBSD /usr/lib/ ELF file OS ABI invalid

Hi …

i think in use Spark on FreeBSD, i attempt to use freebsd linux emulation layer but this not work


Exception in thread “Thread-1” java.lang.UnsatisfiedLinkError: /usr/compat/linux/opt/Spark/lib/linux/ /usr/lib/ ELF file OS ABI invalid

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at org.jdesktop.jdic.tray.internal.impl.GnomeSystemTrayService.( :87)

at org.jivesoftware.spark.SparkManager.getNotificationsEngine( 6)

at org.jivesoftware.spark.Workspace.buildLayout(

at org.jivesoftware.LoginDialog.startSpark(

at org.jivesoftware.LoginDialog.access$600(

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(

at org.jivesoftware.spark.util.SwingWorker$

at Source)

Thanks for any help…

Ricardo A. Reis

Now using linux emulation layer

sudo chroot /compat/linux /bin/bash -x /opt/Spark/Spark --display

  1. An unexpected error has been detected by HotSpot Virtual Machine:

  1. Internal Error (4E4D4554484F440E4350500529), pid=61899, tid=344084

  1. Java VM: Java HotSpot™ Client VM (1.5.0_10-b03 mixed mode)

  2. An error report file with more information is saved as hs_err_pid61899.log

  1. If you would like to submit a bug report, please visit:


  1. An unexpected error has been detected by HotSpot Virtual Machine:

  1. Internal Error (4E4D4554484F440E4350500529), pid=61899, tid=344084

  1. Java VM: Java HotSpot™ Client VM (1.5.0_10-b03 mixed mode)

T H R E A D -

Current thread (0x08519f28): JavaThread “SeedGenerator Thread” daemon

Stack: [0xbce01000,0xbd000000), sp=0xbcffef54, free space=2039k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)








C 0xbfbfffdb

v ~OSRAdapter


v ~StubRoutines::call_stub









P R O C E S S -

Java Threads: ( => current thread )

0x0851c2d8 JavaThread “SeedGenerator Thread” daemon

0x0851af40 JavaThread “SeedGenerator Thread” daemon

=>0x08519f28 JavaThread “SeedGenerator Thread” daemon

0x081349c0 JavaThread “Smack Listener Processor” daemon

0x08341270 JavaThread “Smack Packet Reader” daemon

0x080f5060 JavaThread “Smack Packet Writer” daemon

hs_err_pid61899.log 25%

0x083b8008 JavaThread “Image Fetcher 1” daemon

0x083b95d8 JavaThread “Image Fetcher 0” daemon

0x0842cf58 JavaThread “Thread-1”

0x085108d0 JavaThread “TimerQueue” daemon

0x0805d4d0 JavaThread “DestroyJavaVM”

0x083a3680 JavaThread “AWT-EventQueue-0”

0x08151fd0 JavaThread “AWT-Shutdown”

0x08358e28 JavaThread “AWT-XAWT” daemon

0x081e99a0 JavaThread “Java2D Disposer” daemon

0x080e3fa8 JavaThread “Low Memory Detector” daemon

0x080e2a70 JavaThread “CompilerThread0” daemon

0x080e1c20 JavaThread “Signal Dispatcher” daemon

0x080bf778 JavaThread “Finalizer” daemon

0x080bd9f8 JavaThread “Reference Handler” daemon

Other Threads:

0x080b8dc8 VMThread

0x080e54f8 WatcherThread

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread: ()

Safepoint_lock - owner thread: 0x080b8dc8

Threads_lock - owner thread: 0x080b8dc8


def new generation total 576K, used 559K [0x2da30000, 0x2dad0000, 0x2df10000)

eden space 512K, 96% used [0x2da30000, 0x2daabed0, 0x2dab0000)

from space 64K, 100% used [0x2dab0000, 0x2dac0000, 0x2dac0000)

to space 64K, 0% used [0x2dac0000, 0x2dac0000, 0x2dad0000)

tenured generation total 2284K, used 2005K [0x2df10000, 0x2e14b000, 0x31a30000)

the space 2284K, 87% used [0x2df10000, 0x2e105648, 0x2e105800, 0x2e14b000)

compacting perm gen total 11008K, used 10913K [0x31a30000, 0x324f0000, 0x35a30000)

the space 11008K, 99% used [0x31a30000, 0x324d8668, 0x324d8800, 0x324f0000)

No shared spaces configured.

Dynamic libraries:

08048000-08057000 r-xp 00010000

VM Arguments:

jvm_args: -Dinstall4j.jvmDir=/opt/linux-sun-jdk1.5.0 -Dinstall4j.appDir=/opt/Spark -Dexe4j.moduleName=/opt/Spark/Spark -Dappdir=/opt/Spark/


java_command: com.install4j.runtime.Launcher launch org.jivesoftware.Spark true false /opt/Spark/logs/error.log /opt/Spark/logs/output.log t

rue true false true true 0 0 20 20 Arial 0,0,0 8 500 version 2.0.7 20 40 Arial 0,0,0 8 500 -1 --display

Launcher Type: SUN_STANDARD

Environment Variables:

PATH=/usr/local/libexec/ccache:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/ pkg/bin:/usr/pkg/sbin:/usr/X11R6/bin:/usr/local/sbin:/usr/lo


LD_LIBRARY_PATH=/opt/linux-sun-jdk1.5.0/jre/lib/i386/client:/opt/linux-sun-jdk1. 5.0/jre/lib/i386:/opt/linux-sun-jdk1.5.0/jre/…/lib/i386:/op




Signal Handlers:

SIGSEGV: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGBUS: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGFPE: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGPIPE: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGILL: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x10000000

SIGUSR2: , sa_mask[0]=0x80000000, sa_flags=0x10000004

SIGHUP: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGINT: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGQUIT: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

SIGTERM: , sa_mask[0]=0xdffb7eff, sa_flags=0x10000004

S Y S T E M -

OS:Fedora Core release 4 (Stentz)

uname:Linux 2.4.2 FreeBSD 6.2-PRERELEASE #0: Fri Jan 12 14:35:04 BRST 2007 i686

libc:glibc 2.3.6 linuxthreads-0.10 (fixed stack)

rlimit: STACK 2044k, CORE infinity, NPROC 3603, NOFILE 22500, AS 21k

load average:0.35 0.26 0.19

CPU:total 1 (cores per cpu 1, threads per core 2) family 15 model 3 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht

Memory: 4k page, physical 510624k(402456k free), swap 524288k(296264k free)

vm_info: Java HotSpot™ Client VM (1.5.0_10-b03) for linux-x86, built on Nov 9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)