Java application crashes and generates a hs_err_pid.log file

Our Java application receives JMS messages in XML form, parses and pre-processes them and forwards to an analysis engine (Gensym G2) for further processing/auto ticketing. The application crashed when processing a JMS message. This issue could not be reproduced and does not happen everytime the same JMS XML message is received.
Any ideas on the cause of this core ?? The application is running on Solaris 9 ans using JRE 1.6.0_11-b03
ERROR MESSAGES/STACK TRACES THAT OCCUR :
# An unexpected error has been detected by Java Runtime Environment:
# SIGSEGV (0xb) at pc=0xff3b0740, pid=28027, tid=39
# Java VM: Java HotSpot(TM) Server VM (11.0-b16 mixed mode solaris-sparc)
# Problematic frame: C [libc_psr.so.1+0x740] memcpy+0x260
--------------- T H R E A D ---------------
Current thread (0x0032ac00): JavaThread "Thread-15" [_thread_in_native, id=39, stack(0xb5100000,0xb5180000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xfe690000
Stack: [0xb5100000,0xb5180000], sp=0xb517dad0, free space=502k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc_psr.so.1+0x740] memcpy+0x260
C [libzip.so+0x235c] ZIP_GetEntry+0xe4
C [libzip.so+0x27dc] Java_java_util_zip_ZipFile_getEntry+0xc4
J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26
v ~StubRoutines::call_stub
V [libjvm.so+0x134704]
V [libjvm.so+0x192b74]
C [libjava.so+0xf5d8] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAct
ion_2Ljava_security_AccessControlContext_2+0x1c
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessCo
ntrolContext;)Ljava/lang/Object;+0
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessCo
ntrolContext;)Ljava/lang/Object;+0
J java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
J java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v ~StubRoutines::call_stub
V [libjvm.so+0x134704]
V [libjvm.so+0x1b86f0]
V [libjvm.so+0x151998]
V [libjvm.so+0x11bd5c]
V [libjvm.so+0x12b704]
V [libjvm.so+0x70e10c]
V [libjvm.so+0xdf650]
V [libjvm.so+0x148c28]
j com.att.gfpu.asam.EventHandler.processOspfSite()V+99
j com.att.gfpu.asam.EventHandler.run()V+280
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x134704]
V [libjvm.so+0x476d40]
V [libjvm.so+0x1d1b00]
V [libjvm.so+0x1e4e1c]
V [libjvm.so+0x7287dc]
V [libjvm.so+0x6705d0]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessCo
ntrolContext;)Ljava/lang/Object;+0
J java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
J java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v ~StubRoutines::call_stub
j com.att.gfpu.asam.EventHandler.processOspfSite()V+99
j com.att.gfpu.asam.EventHandler.run()V+280
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0069d800 JavaThread "Thread-18" daemon [_thread_in_native, id=41, stack(0xb4f00000,0xb4f80000)]
0x00324c00 JavaThread "WorkerThread#0[76.206.116.41:8094]" daemon [_thread_in_native, id=40, stack(0xb5000000,0xb5080000)]
=>0x0032ac00 JavaThread "Thread-15" [_thread_in_native, id=39, stack(0xb5100000,0xb5180000)]
0x0085ec00 JavaThread "Thread-13" [_thread_blocked, id=38, stack(0xb5200000,0xb5280000)]
0x0085b800 JavaThread "Heartbeat-IPDM" [_thread_blocked, id=37, stack(0xb5300000,0xb5380000)]
0x0085d800 JavaThread "Thread-12" [_thread_blocked, id=36, stack(0xb5400000,0xb5480000)]
0x0089b000 JavaThread "Timer-4" daemon [_thread_blocked, id=34, stack(0xb5500000,0xb5580000)]
0x005d9800 JavaThread "control: Socket[addr=/76.206.116.41,port=8094,localport=54593]" daemon [_thread_in_nat
ive, id=33, stack(0xb5600000,0xb5680000)]
0x005e5000 JavaThread "Timer-3" daemon [_thread_blocked, id=32, stack(0xb5700000,0xb5780000)]
0x005b5000 JavaThread "Timer-2" daemon [_thread_blocked, id=31, stack(0xb5800000,0xb5880000)]
0x005bd400 JavaThread "RMI RenewClean-[76.206.116.42:1098]" daemon [_thread_blocked, id=27, stack(0xb5c00000,0xb5c80000)]
0x005bcc00 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=26, stack(0xb5f00000,0xb5f80000)]
0x0040d000 JavaThread "GC Daemon" daemon [_thread_blocked, id=25, stack(0xb5d00000,0xb5d80000)]
0x0053f800 JavaThread "RMI RenewClean-[76.206.116.41:1098]" daemon [_thread_blocked, id=24, stack(0xb5e00000,0xb5e80000)]
0x0040fc00 JavaThread "JavaLink GSI Loop" [_thread_in_native, id=21, stack(0xb6680000,0xb6700000)]
0x002fe800 JavaThread "Timer-1" daemon [_thread_blocked, id=20, stack(0xb6780000,0xb6800000)]
0x00196c00 JavaThread "Timer-0" daemon [_thread_blocked, id=19, stack(0xb6880000,0xb6900000)]
0x0016c800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=17, stack(0xb6a80000,0xb6b00000)]
0x00169c00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=16, stack(0xb6b80000,0xb6c00000)]
0x00168400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=15, stack(0xb6c80000,0xb6d00000)]
0x00167000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14, stack(0xb6d80000,0xb6e00000)]
0x00151400 JavaThread "Finalizer" daemon [_thread_blocked, id=13, stack(0xb6e80000,0xb6f00000)]
0x0014fc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=12, stack(0xb6f80000,0xb7000000)]
0x00030800 JavaThread "main" [_thread_blocked, id=2, stack(0xfe600000,0xfe680000)]
Heap
PSYoungGen total 44224K, used 28921K [0xe6800000, 0xe9400000, 0xfc000000)
eden space 43328K, 66% used [0xe6800000,0xe843e480,0xe9250000)
from space 896K, 0% used [0xe9320000,0xe9320000,0xe9400000)
to space 832K, 0% used [0xe9250000,0xe9250000,0xe9320000)
PSOldGen total 90112K, used 3186K [0xbbc00000, 0xc1400000, 0xe6800000)
object space 90112K, 3% used [0xbbc00000,0xbbf1cbf0,0xc1400000)
PSPermGen total 20480K, used 12225K [0xb7c00000, 0xb9000000, 0xbbc00000)
object space 20480K, 59% used [0xb7c00000,0xb87f0600,0xb9000000)

jschell : thanks for ur response. We have been pursuing the possibility of it being a JNI related issue. As per the stack trace, SIGSEGV occurred in [libc_psr.so.1+0x740] memcpy+0x260. We checked the code for any memory related issues. Our application does not use JNI directly but we use 3rd party jars -is there a way to check if these jars are using this particular library - so we can report to the respective vendors ?? This library path is shown as : /usr/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1
nambar: thanks. we are also testing if the issue is related to accessing the jar files.
Your responses are very helpful in indicating that we are looking in the right direction!

Similar Messages

  • PDF XFA form/internet browser/JAVA application/Drag and Drop

    Hi guys,
    I need to be able to open a PDF XFA form (a PDF document where I have some input controls and javascripts for validation) inside a JPanel.
    If this is not doable am thinking if i can open this pdf form in a web browser by launching it from my java application.
    And when I do this, I want to be able to drag and drop between the java application and the browser.
    Anyone can tell me if that is doable?
    Thanks and Regards,
    Rawad

    Tristan,
    I am stuck in the same place. Perhaps we could work on this together.
    I am trying to drag a single item from a JList to a text editor, Word, etc. I have two problems:
    1) I can't seem to get just the item in the JList to drag. It wants to drag the entire JList component.
    2) How does one define the remote application as the drop target? Have not found any examples either.
    Is the drop target actually the system clipboard?
    Rp

  • My java keeps crashing and when I try to download a new version it won't download I can't use some sites becaus of it what can I do?

    java keeps crashing and won't download because fire fox doesn't support it any longer.

    Try un-installing and then re-installing.
    Adobe Flash Uninstaller
    Adobe Flash Player

  • Stopped mac protector scam download in process of scanning files.  Trashed application from download folder/application folder and system preferences' accounts log in items.  does anything else need to be purged? checked?

    stopped mac protector scam download in process of scanning files.  Trashed application from download folder/application folder and system preferences' accounts log in items.  does anything else need to be purged? checked?

    stopped mac protector scam download in process of scanning files.  Trashed application from download folder/application folder and system preferences' accounts log in items.  does anything else need to be purged? checked?

  • My ipod will damage the lock key and now serves this happened the day yesterday, I have not been dropped and has not suffered damage so far nungún that happens, also when I'm using some applications crashes and throws me of the application

    my ipod will damage the lock key and now serves this happened the day yesterday, I have not been dropped and has not suffered damage so far nungún that happens, also when I'm using some applications crashes and throws me of the application
    I want to know that I can do, plus I have an ipod shuffle first generation and I have not been able to use itunes because I required an update and this does not allow update

    Is English you native language? If so please clarify your question.  Otherwise post in our native language since your translation does not make sense.

  • MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive?

    MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    You are in luck, Refer to this recent post by tt2, on recovering media using 3rd Party Software.
    He has made a comprehensive list, browse through them and decide which  suits your requirements.
    Have a nice day!

  • Will Migration Assistant application transfer my applications' settings and all my games' save file such as Spore and even ported games?

    Will Migration Assistant application transfer my applications' settings and all my games' save file such as Spore and even ported games?

    Hello:
    Will Migration Assistant application transfer my applications' settings and all my games' save file such as Spore and even ported games?
    I doubt if anyone can answer your question.  With a new Mac, setup assistant opens the first time the system is turned on.  One can also use migration assistant.
    I have used both for several years and have never "lost" any data.
    If you want to move, have a good backup and then do it.
    Barry

  • How do I recover a Muse site back to my computer after it has crashed and I've lost the files?

    How do I recover a Muse site that was uploaded to Business Catalyst back to my computer after my system crashed and I've lost the files?

    Regardless of being in development or not, "Captain Obvious" is is correct and the working .muse file is lost, meaning that you will have to start again from scratch.
    All the BC will contain is the published HTML and support files, not the .muse file which you would require to recover the site design.
    Might want to look into Time Machine or another automatic, timed backup source while you work.

  • Does the Netweaver Portal generates a W3C log file ?

    Hello,
    Does the Netweaver Portal generates a W3C log file ?
    Is there any way to configure it in netweaver?
    Does anybody has Any documentation for the same ?
    Please Guide!
    Thanks,
    Smita

    Hi Smita
    Did you find an answer to your question, were you able to get W3C logs for portal. We have a similar requirement from our performance monitoring team, they want to collect the actual time taken in httpaccess logs for portal.
    Thanks
    Naresh

  • My old computer crashed and deleted my iTunes media file with all my playlist. However, my iPod has the playlist I lost on the computer. How can I replace (reverse synch?) my iPod media information back onto my (now reinstalled) virgin iTunes media folder

    My old computer crashed and deleted my iTunes media file with all my playlist.However, my iPod has the playlist I lost on the computer. How can I replace (reverse synch?) my iPod media information back onto my (now reinstalled) virgin iTunes media folder?

    Yes it's possible to sync music back from a iPod back into iTunes that (I assume) wasn't purchased on the iTunes Store.
    Apple allows iTunes Store purchases on devices to be reversed back into iTunes, just not cd rips and stuff like that. For that it's a one way trip to the device from iTunes.
    I likely can't suggest such software here, but if you visit iLounge you can ask what is the latest software that works for your platform.
    Really it only takes a mere few minutes to backup your iTunes Library and stick in a few cd/dvd's or a external drive. iTunes even has a menu command for it to make it oh so simple. Please use it and backup all your data.
    Hard drives fail, computers burn up, thieves steal, stuff gets forgotten. Plan for something happening because it will.
    Good Luck

  • Applet cause to browser crash with hs_err_pid log file on desktop

    Hi there,
    We have a web based application which is initiating an other applet application inside, and communicating with the applet over live-connect javascript calls.
    Sometimes when initating the applet, it causes to crash of the browser and leaves a file on the desktop named like hs_err_pid.log.
    If it occurs once a time for a user , it will allways happen until logoff and login back to windows.
    We think that, it may be about some registry settings for the Java plug-in, because re-login may solve the problem.
    And we seen that it mostly happens when another Java application running at the same time or just before, on PC.
    Our environment is, Windows XP Pro. SP2, IE6 SP2 and Java 1.4.2_17.
    I appreciate if someone can help us to understand what is the problem ( I have post a log file sample below), and the solution ?
    Regards,
    -erkbi
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_17-b06 mixed mode)
    # Problematic frame:
    # C [kernel32.dll+0x12a6b]
    --------------- T H R E A D ---------------
    Current thread (0x03beb940): JavaThread "main" [_thread_in_native, id=3232]
    siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x035de2cc 0x6d33ea78
    Registers:
    EAX=0x035de22c, EBX=0x189e1540, ECX=0x00000000, EDX=0x035de270
    ESP=0x035de228, EBP=0x035de27c, ESI=0x035de2bc, EDI=0x035de2bc
    EIP=0x7c812a6b, EFLAGS=0x00000206
    Top of Stack: (sp=0x035de228)
    0x035de228: 77c114bc e06d7363 00000001 00000000
    0x035de238: 7c812a6b 00000003 19930520 035de2cc
    0x035de248: 6d33ea78 00000001 035de2a0 7751a275
    0x035de258: 00000001 035de268 035de280 035de29c
    0x035de268: 00000000 80004002 df0b3d60 101b548f
    0x035de278: 0008658e 035de2bc 77c2272c e06d7363
    0x035de288: 00000001 00000003 035de2b0 00000000
    0x035de298: 00179d44 e06d7363 00000001 00000000
    Instructions: (pc=0x7c812a6b)
    0x7c812a5b: 8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 08 15 80 7c
    0x7c812a6b: 5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc
    Stack: [0x034e0000,0x035e0000), sp=0x035de228, free space=1016k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [kernel32.dll+0x12a6b]
    C [msvcrt.dll+0x1272c]
    C [jpiexp32.dll+0xada3]
    C [jpiexp32.dll+0xad7b]
    C [jpiexp32.dll+0x15c3]
    C [jpiexp32.dll+0x1233]
    C [jpiexp32.dll+0x9726]
    j sun.plugin.services.WIExplorerBrowserService.installBrowserEventListener()Z+0
    j sun.plugin.viewer.LifeCycleManager.installBrowserEventListener()V+22
    j sun.plugin.viewer.LifeCycleManager.checkLifeCycle(Lsun/plugin/AppletViewer;)V+7
    j sun.plugin.viewer.IExplorerPluginObject.initPlugin()V+43
    j sun.plugin.viewer.IExplorerPluginObject.mayInit()V+29
    j sun.plugin.viewer.IExplorerPluginObject.frameReady()V+6
    j sun.plugin.viewer.frame.IExplorerEmbeddedFrame.setFrameSize(II)V+83
    v ~StubRoutines::call_stub
    V [jvm.dll+0x75335]
    V [jvm.dll+0xaf708]
    V [jvm.dll+0x75242]
    V [jvm.dll+0x78b22]
    V [jvm.dll+0x7a00d]
    C [jpiexp32.dll+0x41da]
    C [jpiexp32.dll+0x5388]
    C [jpiexp32.dll+0x23c1]
    C [jpiexp32.dll+0x37df]
    C [jpiexp32.dll+0x2611]
    C [mshtml.dll+0x2742c1]
    C [mshtml.dll+0x275d0c]
    C [mshtml.dll+0x275ed1]
    C [mshtml.dll+0xf9105]
    C [mshtml.dll+0x141fa2]
    C [mshtml.dll+0x6cb9f]
    C [mshtml.dll+0x689b7]
    C [USER32.dll+0x8734]
    C [USER32.dll+0x8816]
    C [USER32.dll+0x89cd]
    C [USER32.dll+0x8a10]
    C [BROWSEUI.dll+0x1d7bd]
    C [BROWSEUI.dll+0x25212]
    C [BROWSEUI.dll+0x25385]
    C [BROWSEUI.dll+0x2564d]
    C [kernel32.dll+0xb699]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.plugin.services.WIExplorerBrowserService.installBrowserEventListener()Z+0
    j sun.plugin.viewer.LifeCycleManager.installBrowserEventListener()V+22
    j sun.plugin.viewer.LifeCycleManager.checkLifeCycle(Lsun/plugin/AppletViewer;)V+7
    j sun.plugin.viewer.IExplorerPluginObject.initPlugin()V+43
    j sun.plugin.viewer.IExplorerPluginObject.mayInit()V+29
    j sun.plugin.viewer.IExplorerPluginObject.frameReady()V+6
    j sun.plugin.viewer.frame.IExplorerEmbeddedFrame.setFrameSize(II)V+83
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x04f2b008 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3784]
    0x04f1d330 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3256]
    0x03d96688 JavaThread "AWT-Shutdown" [_thread_blocked, id=2580]
    0x04f1e130 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3008]
    0x03d9e760 JavaThread "Cache Cleanup Thread" [_thread_blocked, id=3164]
    0x03d986f0 JavaThread "Main Console Writer" [_thread_blocked, id=792]
    0x03d96960 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3516]
    0x029d7230 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3560]
    0x03cbc698 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3672]
    0x03c2a598 JavaThread "Finalizer" daemon [_thread_blocked, id=976]
    0x03c2a430 JavaThread "Reference Handler" daemon [_thread_blocked, id=2608]
    =>0x03beb940 JavaThread "main" [_thread_in_native, id=3232]
    Other Threads:
    0x02a17bf8 VMThread [id=4016]
    0x029d8a10 WatcherThread [id=1736]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 516K [0x14760000, 0x14800000, 0x14c40000)
    eden space 512K, 88% used [0x14760000, 0x147d1218, 0x147e0000)
    from space 64K, 99% used [0x147f0000, 0x147ffff8, 0x14800000)
    to space 64K, 0% used [0x147e0000, 0x147e0000, 0x147f0000)
    tenured generation total 1408K, used 511K [0x14c40000, 0x14da0000, 0x18760000)
    the space 1408K, 36% used [0x14c40000, 0x14cbff38, 0x14cc0000, 0x14da0000)
    compacting perm gen total 4096K, used 3822K [0x18760000, 0x18b60000, 0x1c760000)
    the space 4096K, 93% used [0x18760000, 0x18b1b9c0, 0x18b1ba00, 0x18b60000)
    VM Arguments:
    jvm_args: -Xbootclasspath/a:W:\Java\J2RE14~2.2_1\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.4.2_17 -Djavaplugin.nodotversion=142_17 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=W:\Java\J2RE14~2.2_1 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=W:\Java\J2RE14~2.2_1\classes -Xbootclasspath/a:W:\Java\J2RE14~2.2_1\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.4.2_17 -Djavaplugin.nodotversion=142_17 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=W:\Java\J2RE14~2.2_1 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=W:\TEBORA\TEBIS2.ZIP;C:\TEBORA\TEBIS2.ZIP
    PATH=W:\Java\J2RE14~2.2_1\bin;C:\Program Files\Internet Explorer;;C:\PROGRA~1\ESWM\CLIENT~1\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;W:\Tebora\OpenCV\bin;K:\PVCS_I~3\VM\win32\bin;w:\ORANT\BIN;.
    USERNAME=dsenli
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2085612k(1499244k free), swap 2689268k(2158732k free)
    vm_info: Java HotSpot(TM) Client VM (1.4.2_17-b06) for windows-x86, built on Feb 8 2008 18:36:31 by "java_re" with MS VC++ 6.0

    1.4.2 is old version of JRE which is only supported though Java For Business.
    Please consider upgrading to latest JRE6 or signing up for Java For Business program.

  • Java application crashes due to some problem in native  code

    Hi All
    I have a Java application that calls APIs in a 3rd party DLL(I don't have access to its source code or logs) through my VC++ DLL(Win32) that acts as the wrapper DLL.
    The Application has many functionalities and is based on multithreading (both on Java layer as well as C++ layer). Most of the functionalities are working , but when I try to close the application, it crashes.
    Moreover the crashing occurs inconstently, sometimes it does not crash. Instead of showing any debug information , it simply creates a error file with disassembly code that I am not able to understand.
    Though the error seems like an java error, but actually it seems to be due to native code. I have try catch blocks in my code and also implemented settranslator functionality to get hold of structured/C exceptions. But still I am not able to catch any exceptions.
    I am pasting the the contents of the file here:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9111de, pid=488, tid=1848
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x111de]
    --------------- T H R E A D ---------------
    Current thread (0x009d1790): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000001
    Registers:
    EAX=0x00000001, EBX=0x00030000, ECX=0x02d17a18, EDX=0x00030278
    ESP=0x02c2f8e8, EBP=0x02c2fb08, ESI=0x02d17a10, EDI=0x00000001
    EIP=0x7c9111de, EFLAGS=0x00010202
    Top of Stack: (sp=0x02c2f8e8)
    0x02c2f8e8: 009fa9a0 000000c0 00000008 0811d3d8
    0x02c2f8f8: 0000000c 00a2c0e0 00000003 00000004
    0x02c2f908: 08018216 00000001 02c2fcc4 08018385
    0x02c2f918: 00000002 00000001 02c2f93c 02d06d0c
    0x02c2f928: 0802a50a 00000000 00000001 02c2f93c
    0x02c2f938: 04a3cb4c 02d01008 02c2f964 0802a850
    0x02c2f948: 02c2f96e 00000000 00000007 00000000
    0x02c2f958: 04a3cb38 00000004 08018216 00000001
    Instructions: (pc=0x7c9111de)
    0x7c9111ce: 39 89 bd 0c ff ff ff 8b 46 0c 89 85 68 ff ff ff
    0x7c9111de: 8b 10 3b 57 04 0f 85 8c 31 02 00 3b d1 0f 85 84
    Stack: [0x02bf0000,0x02c30000), sp=0x02c2f8e8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ntdll.dll+0x111de]
    C [MSVCRT.dll+0x1c3c9]
    C [MSVCRT.dll+0x1c3e7]
    C [MSVCRT.dll+0x1c42e]
    V [jvm.dll+0xacda9]
    V [jvm.dll+0x17102]
    V [jvm.dll+0x16c8d]
    V [jvm.dll+0x16dca]
    V [jvm.dll+0x170a7]
    V [jvm.dll+0x172e8]
    V [jvm.dll+0x4dc65]
    V [jvm.dll+0x4d894]
    V [jvm.dll+0xd3a36]
    V [jvm.dll+0xd3a04]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb683]
    Current CompileTask:
    HotSpot Client Compiler:423 b sun.awt.AWTAutoShutdown.isReadyToShutdown()Z (33 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x049d6328 JavaThread "Thread-19" [_thread_blocked, id=1440]
    0x049d24d0 JavaThread "Thread-18" [_thread_blocked, id=3620]
    0x049d40c8 JavaThread "Thread-17" [_thread_blocked, id=2476]
    0x02df0538 JavaThread "TimerQueue" daemon [_thread_blocked, id=3876]
    0x00036a78 JavaThread "DestroyJavaVM" [_thread_blocked, id=2448]
    0x02e43768 JavaThread "Thread-6" [_thread_blocked, id=3664]
    0x02e23130 JavaThread "Thread-4" [_thread_blocked, id=2816]
    0x02e21d08 JavaThread "Thread-2" [_thread_blocked, id=3344]
    0x02da3f78 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2528]
    0x02da3268 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4008]
    0x02d91f90 JavaThread "AWT-Windows" daemon [_thread_blocked, id=648]
    0x02d3a478 JavaThread "AWT-Shutdown" [_thread_blocked, id=2988]
    =>0x009d1790 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    0x009d0a90 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3568]
    0x009ce128 JavaThread "Finalizer" daemon [_thread_blocked, id=1824]
    0x009ccda0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3280]
    Other Threads:
    0x00a0b6e8 VMThread [id=608]
    0x00a0d620 WatcherThread [id=3012]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 640K, used 583K [0x10010000, 0x100c0000, 0x104f0000)
    eden space 576K, 90% used [0x10010000, 0x10091e40, 0x100a0000)
    from space 64K, 99% used [0x100b0000, 0x100bfff8, 0x100c0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 7772K, used 5451K [0x104f0000, 0x10c87000, 0x14010000)
    the space 7772K, 70% used [0x104f0000, 0x10a42d80, 0x10a42e00, 0x10c87000)
    compacting perm gen total 8192K, used 8137K [0x14010000, 0x14810000, 0x18010000)
    the space 8192K, 99% used [0x14010000, 0x148024e8, 0x14802600, 0x14810000)
    Dynamic libraries:
    0x00400000 - 0x0040b000 c:\dcsthick\jre\bin\java.exe
    0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08143000 c:\dcsthick\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
    0x10000000 - 0x10007000 c:\dcsthick\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x00390000 - 0x0039e000 c:\dcsthick\jre\bin\verify.dll
    0x003b0000 - 0x003c9000 c:\dcsthick\jre\bin\java.dll
    0x003d0000 - 0x003de000 c:\dcsthick\jre\bin\zip.dll
    0x02e70000 - 0x02f84000 C:\dcsthick\jre\bin\awt.dll
    0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000 C:\WINDOWS\SYSTEM32\uxtheme.dll
    0x02fe0000 - 0x03031000 C:\dcsthick\jre\bin\fontmanager.dll
    0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
    0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
    0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
    0x03320000 - 0x0333c000 C:\dcsthick\lib\CrewsDmApiJniNt.dll
    0x031b0000 - 0x031bb000 c:\dcsthick\lib\CRWNT_DM.dll
    0x03240000 - 0x03249000 c:\dcsthick\lib\BAT_API.dll
    0x03340000 - 0x03352000 c:\dcsthick\lib\DC_DSM32.dll
    0x03360000 - 0x03369000 c:\dcsthick\lib\CRWTOOLS.dll
    0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
    0x03370000 - 0x0337a000 c:\dcsthick\lib\PMAPI.dll
    0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
    0x03790000 - 0x037b2000 c:\dcsthick\ResaDLL\DC_DSMNB.dll
    0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
    0x038d0000 - 0x038f2000 c:\dcsthick\ResaDLL\DC_DSMIP.dll
    0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x66580000 - 0x6658f000 C:\WINDOWS\system32\pnrpnsp.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x032e0000 - 0x0330a000 C:\dcsthick\lib\ResaHostConnection.dll
    0x03250000 - 0x03257000 c:\dcsthick\lib\CRWNT_GWALC.dll
    0x03310000 - 0x03319000 c:\dcsthick\lib\ALCAPI.dll
    0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
    0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
    0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    VM Arguments:
    jvm_args: -Dcfdynaproppath=c:\dcsthick/config/ -Dcfdynapropxml=RESA_KCOdynamicproperties.xml -DConfigPath=c:\dcsthick/config/RESA_KCOConfig.xml -DResolution=High -DWorkstationID=GWGTE -DMode=GateBoarding -DlogPath=c:\temp\kcologs -DlogInformation=0 -DGateway=ALCSQ1 -DNetBiosPort=A
    java_command: com.singaporeair.dcs.standalone.application.model.ApplicationModel SQ/IGATEADXX
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=c:\dcsthick\jre\bin
    PATH=c:\dcsthick\jre\bin;c:\dcsthick/lib;c:\dcsthick/ResaDLL
    USERNAME=USER
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1039600k(565656k free), swap 2501208k(2091128k free)
    vm_info: Java HotSpot(TM) Client VM (1.4.2_14-b05) for windows-x86, built on Mar 14 2007 16:46:11 by "java_re" with MS VC++ 6.0
    The JAVA Application during initialisation establishes a connection with the host server for various devices. For each of the device it establishes a separate connection and keeps listening on these connections using multithreading.
    During App close, we need to close each of these connections one by one for each device.
    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.
    When we close the Application, I am always able to close the connections on the first 2 devices. Then all of a sudden it crashes either for the 3rd device conn. close or for the 4th one. The code is the same for all the devices . That too sometimes it just goes fine without crashing. If its a null pointer exception, why is it that it crashes on some occassions and not in other times. More importantly, why is it that it does not fail for the first 2 devices , but fails for the 3rd or 4th device connection close?
    Can please anyone help me. Please suggest me as to how I can determine the cause of the error.
    And is this error really coming in ntdll.dll or is it getting caused of my dll?

    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.The specific error indicates a pointer/memory problem.
    The first place that is likely is in your code.
    The second most likely place for the cause is because you are using the third party library incorrectly. For example before exiting you are supposed to clean up resources and you are not doing so.
    As a remote possibility, much less likely that either of the above, there is a bug in jnative or in the 3rd party library.

  • Java Application Crash while loading a 64-bit DLL

    Hi there,
    I'm calling native C++ functions from a 64-bit DLL through a java application. But the application crashes with the below crash exception when the DLL is loaded.
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000047e0b754, pid=976, ti
    d=968
    # JRE version: 6.0_16-b01
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.2-b01 mixed mode windows-amd64
    # Problematic frame:
    # C [mkl_def.dll+0x8b754]
    # An error report file with more information is saved as:
    # C:\Documents and Settings\hw3h6\Desktop\hs_err_pid976.log
    What will be the possible cause of the issue? Is it something which can be corrected from my java application?
    The application is built in 32-bit environment, but I think thats not an issue because java is platform-independent.

    ajithcherukad wrote:
    What will be the possible cause of the issue?Pointer bug.
    Is it something which can be corrected from my java application?Java? Only possibility there is don't use the C++ code.
    >
    The application is built in 32-bit environment, but I think thats not an issue because java is platform-independent.That has absolutely nothing to do with it. The C++ code isn't. Nor is the dll (dll by its very nature is platform dependent.)

  • Java application (tomcat) and Oracle RAC 10gR2

    Hi, I have an Oracle RAC 10gR2 (10.2.0.3) on Suse Linux Enterprise Server (3 nodes).
    I have several application running on tomcat 5.X and tomcat 6.X with java 1.5 and java 1.6. Sometimes, because of hardware fail, network problems,... one of the nodes fails, and then the other 2 nodes still working and my database is up. However, the most of applications lose the connection with the database, and I must to restart the tomcat. I want to have a system more reliable and robust, and I want to prepare the tomcat's and java application for prevent it. I have read the http://drdobbs.com/java/222700353?pgno=1 and http://db360.blogspot.com/2007/01/is-your-java-application-failoverproof.html. I've been tried the example of the first url, but I don't connect with my database. However, I've probe the sample on another oracle rac (10.2.0.4) and it works. In the samples, it use the ucp.jar (11g) and ons.jar (10g) and ojdbc6.jar (11g driver).
    Anyone can help me how can I configure my application for I must not to restart the tomcats??
    Thanks you very much!!.

    The best solution for your problem is ORACLE SUPPORT.. Please raise an SR and coordinate with them.. GoodLuck!

Maybe you are looking for

  • Error in the call of a DLL function

    Hello, I'm trying to control a Switch Matrix of Agilent (HP5250A) with LabView 6.1. The connections are realized with GPIB. In fact, I have some problems with the DLL called "hpe5250a_32.dll". If I try to start my VI, this error occurs: "An exception

  • Date Range for a fixed fiscal year

    Dear All, How to write a code to fix the date range for 12months only. Example like mine selection should be between one fiscal year only. I have check that the date is of one year range like 1.05.2008 to 30.04.2009 month bt 05 & 04 for one particula

  • How to Access the Remote Servlet through a JSP Page

    Hi , I wrote a servlet in my local system and It is running very well in my tomcat server5.5. Now I write a JSP code an another one system. Now I don't know how to call my servlet when Click a submit button. I need a small example or idea about this.

  • PO -external send or email

    I m doing PO e-mail or external send to vendor settings . I have maintained condition records and all SPRO required settings. Still NEU output is not triggering while creating PO. Is there something to do in user profile to get this done? User profil

  • SQL Server Best Practices Architecture UCS and FAS3270

    Hey thereWe are moving from EMC SAN and physical servers to NetApp fas3270 and virtual environment on Cisco UCS B200 M3.Traditionally - Best Practices for SQL Server Datbases are to separate the following files on spearate LUN's and/or VolumesDatabas