Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 11:17:39 +0100
From:      Holger Kipp <holger.kipp@alogis.com>
To:        freebsd-java@freebsd.org
Subject:   Oracle Universal Installer, SAP JavaGUI (PlatinGUI)
Message-ID:  <3C9078C3.9D28F165@alogis.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a few problems with two Java-based programs. These are:

- Oracle Universal Installer
- PlatinGUI (SAP JavaGUI)

(So I went straigt to the simple ones ;-)

I am willing to debug/trace those both on Linux native (where it does
work) and on FreeBSD (jdk1.1.8, jdk1.3.1, linux-ibm-jdk1.3.0,...), but
as I'm not very firm with these things - additional directions (what to
do, what info is needed) might be very helpful.

Thanx,
Holger Kipp


-----------------------------------------------------------------------
Oracle Universal Installer comes with its own Java118
- works without problems under SuSE Linux 6.3 (quite old actually)
- has some problems running under FreeBSD using /usr/local/jdk1.1.8
- I haven't checked /usr/local/linux-ibm-jdk1.3.0 yet, though


-----------------------------------------------------------------------
PlatinGUI
- does work with /usr/local/linux-ibm-jdk1.3.0 with a few minor problems.
- works without these problems on SuSE Linux 6.3 using the original
  ibm jdk118
- doesn't work with /usr/local/jdk1.1.8
- doesn't work with /usr/local/jdk1.3.1
 

PlatinGUI with /usr/local/jdk1.3.1 (both green and native tested):
Environment settings:
SHLIB_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib
LD_LIBRARY_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib:/compat/linux/usr/lib
PLATINHOME=/compat/linux/opt/PlatinGUI/
PATH=$PATH:/compat/linux/opt/PlatinGUI/bin:/usr/local/jdk1.3.1/jre/bin

/compat/linux/opt/PlatinGUI/lib/libJPlatin.so:
  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

/compat/linux/opt/PlatinGUI/bin/gmux/ contains some more ELF 32bit LSB (SYSV)
binaries...

Start via:/usr/local/jdk1.3.1/jre/bin/java -native -verbose -cp /compat/linux/opt/PlatinGUI/lib/swingall.jar:/compat/linux/opt/PlatinGUI/lib/platin.jar
com.sap.platin.Gui

[...]
[Loaded com.sap.platin.util.GuiParentInfo]
[Loaded javax.swing.JRootPane from /usr/local/jdk1.3.1/jre/lib/rt.jar]
[Loaded com.sap.platin.automation.GuiRefCountedObject]
[Loaded com.sap.platin.util.GuiJniLoader]
[Loaded java.lang.SecurityException from /usr/local/jdk1.3.1/jre/lib/rt.jar]
[Loaded java.lang.UnsatisfiedLinkError from /usr/local/jdk1.3.1/jre/lib/rt.jar]
[Loaded com.sap.platin.util.GuiVersionInfo]
[Loaded com.sap.platin.GuiVersionInfoI]
SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p6-root-020313-18:59, native threads):
    "Image Fetcher 3" (TID:0x28d34230, sys_thread_t:0x8497d80, state:CW, native ID:0x84d3800) prio=8
        at java.lang.Object.wait(Native Method)
        at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:163)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
    "AWT-Motif" (TID:0x28d502f8, sys_thread_t:0x8381280, state:R, native ID:0x838d000) prio=6
        at sun.awt.motif.MToolkit.run(Native Method)
        at java.lang.Thread.run(Thread.java:484)
    "SunToolkit.PostEventQueue-0" (TID:0x28d4f9a8, sys_thread_t:0x8356380, state:CW, native ID:0x835c000) prio=6
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at sun.awt.PostEventQueue.run(SunToolkit.java:491)
    "AWT-EventQueue-0" (TID:0x28d4fa40, sys_thread_t:0x8356180, state:CW, native ID:0x8331000) prio=6
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:260)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    "Finalizer" (TID:0x28e4b528, sys_thread_t:0x80de380, state:CW, native ID:0x80df400) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e4b300, sys_thread_t:0x80de080, state:CW, native ID:0x80df000) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x28e4b330, sys_thread_t:0x80bbe80, state:CW, native ID:0x80da400) prio=5
    "main" (TID:0x28e4b1b0, sys_thread_t:0x8060280, state:R, native ID:0x804f000) prio=5
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
        at java.lang.Runtime.loadLibrary0(Runtime.java:749)
        at java.lang.System.loadLibrary(System.java:820)
        at com.sap.platin.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:139)
        at com.sap.platin.Launcher.<init>(Launcher.java:48)
        at com.sap.platin.Gui.createLauncher(Gui.java:181)
        at com.sap.platin.Gui.main(Gui.java:308)
Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@28E4B540/28E81478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80de380)
    java.lang.ref.Reference$Lock@28E4B310/28E80F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x80de080)
    java.util.Vector@28E4C540/28E92E00: owner "main" (0x8060280) 1 entry
    sun.awt.PostEventQueue@28D4F9A8/29352568: <unowned>
        Waiting to be notified:
            "SunToolkit.PostEventQueue-0" (0x8356380)
    java.util.Vector@28D34208/29047C68: <unowned>
        Waiting to be notified:
            "Image Fetcher 3" (0x8497d80)
    java.lang.Runtime@28E4D3E0/28E9B9D8: owner "main" (0x8060280) 1 entry
    java.awt.EventQueue@28D4F820/29351F68: <unowned>
        Waiting to be notified:
            "AWT-EventQueue-0" (0x8356180)
    java.util.Vector@28E4B0B0/28E7EE10: owner "main" (0x8060280) 1 entry
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x8060280) 1 entry
    Thread queue lock: owner "main" (0x8060280) 1 entry
    Monitor registry: owner "main" (0x8060280) 1 entry

Abort trap (core dumped)

------------------------------------------------------------------------

gdb -core java.core /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java
(gdb) bt
#0  0x280b2cb8 in kill () from /usr/lib/libc_r.so.4
#1  0x280fd3ad in abort () from /usr/lib/libc_r.so.4
#2  0x28173ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#3  0x2819ca9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#4  0x2806d74f in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
#5  0x2806d708 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
#6  0x2806ce5e in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so
#7  0x280c1b2c in _thread_sig_wrapper () from /usr/lib/libc_r.so.4
#8  0x0 in ?? ()

-- 
Holger Kipp, Dipl.-Math., Systemadministrator  | alogis AG
Fon: +49 (0)30 / 43 65 8 - 114                 | Berliner Strasse 26
Fax: +49 (0)30 / 43 65 8 - 214                 | D-13507 Berlin Tegel
email: holger.kipp@alogis.com                  | http://www.alogis.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9078C3.9D28F165>