Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-381

code doesn't work when called from insite silk performer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      We are facing issues while logon to QuickFix engine through SilkPerformer. The Silk script calls the java method which creates the session and tries to logon. When we execute this from command prompt it runs fine but when we try to run it from Silk Performer the program cannot logon. It was not throwing
      any exceptions but sometime i saw that an hs_pid_err.log is created. Here are the contents. Any help will be appreciated.

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

      #

      1. An unexpected error has been detected by Java Runtime Environment:
        #
      2. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0043e531, pid=6908, tid=6724
        #
      3. Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86)
      4. Problematic frame:
      5. C [perfRun.exe+0x3e531]
        #
      6. If you would like to submit a bug report, please visit:
      7. http://java.sun.com/webapps/bugreport/crash.jsp
      8. The crash happened outside the Java Virtual Machine in native code.
      9. See problematic frame for where to report the bug.
        #

      --------------- T H R E A D ---------------

      Current thread (0x04180400): JavaThread "QFJ Timer" daemon [_thread_in_native, id=6724, stack(0x04df0000,0x04ef0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x000003fc

      Registers:
      EAX=0x00001a44, EBX=0x2804a770, ECX=0x00000000, EDX=0x00150a78
      ESP=0x04eeeaac, EBP=0x04eeeab4, ESI=0x2804a770, EDI=0x04180400
      EIP=0x0043e531, EFLAGS=0x00010216

      Top of Stack: (sp=0x04eeeaac)
      0x04eeeaac: 00000000 04eef738 04eeeac0 00461354
      0x04eeeabc: 00000000 04eef738 65508f29 04180400
      0x04eeeacc: 2804a770 2804a770 00000000 00000003
      0x04eeeadc: 04eeed90 7c350184 00000000 00000000
      0x04eeeaec: 00000000 00000000 00000007 00000000
      0x04eeeafc: 00000001 00000000 00000000 00000000
      0x04eeeb0c: 00000000 00000000 00000000 00000003
      0x04eeeb1c: 00000002 04eeed2a fffffffe 00000040

      Instructions: (pc=0x0043e531)
      0x0043e521: 8b ec 83 ec 08 89 4d f8 e8 e2 58 13 00 8b 4d f8
      0x0043e531: 39 81 fc 03 00 00 74 02 eb 75 8b 4d f8 e8 2d d8

      Stack: [0x04df0000,0x04ef0000], sp=0x04eeeaac, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [perfRun.exe+0x3e531]
      C [perfRun.exe+0x61354]
      C [perfJavaApi.dll+0x8f29]
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::StubRoutines (1)

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::StubRoutines (1)

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      0x04144800 JavaThread "SocketConnectorIoProcessor-0.0" daemon [_thread_in_native, id=8188, stack(0x050f0000,0x051f0000)]
      0x0420ac00 JavaThread "SocketConnector-0" daemon [_thread_in_native, id=5252, stack(0x04ff0000,0x050f0000)]
      0x04181000 JavaThread "QFJ Message Processor" daemon [_thread_blocked, id=5624, stack(0x04ef0000,0x04ff0000)]
      =>0x04180400 JavaThread "QFJ Timer" daemon [_thread_in_native, id=6724, stack(0x04df0000,0x04ef0000)]
      0x0160b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4748, stack(0x03e10000,0x03f10000)]
      0x015fd800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3960, stack(0x03d10000,0x03e10000)]
      0x015fc800 JavaThread "Attach Listener" daemon [_thread_blocked, id=7576, stack(0x03c10000,0x03d10000)]
      0x015fb800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8020, stack(0x03b10000,0x03c10000)]
      0x015f7400 JavaThread "Finalizer" daemon [_thread_blocked, id=3744, stack(0x03a10000,0x03b10000)]
      0x015f2c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6968, stack(0x03910000,0x03a10000)]
      0x015ce800 JavaThread "main" [_thread_in_native, id=1028, stack(0x00030000,0x00130000)]

      Other Threads:
      0x015f1c00 VMThread [stack: 0x03810000,0x03910000] [id=8128]
      0x03f28800 WatcherThread [stack: 0x04310000,0x04410000] [id=592]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
      def new generation total 960K, used 650K [0x24040000, 0x24140000, 0x24520000)
      eden space 896K, 69% used [0x24040000, 0x240daec8, 0x24120000)
      from space 64K, 48% used [0x24130000, 0x24137c80, 0x24140000)
      to space 64K, 0% used [0x24120000, 0x24120000, 0x24130000)
      tenured generation total 7172K, used 6334K [0x24520000, 0x24c21000, 0x28040000)
      the space 7172K, 88% used [0x24520000, 0x24b4fb58, 0x24b4fc00, 0x24c21000)
      compacting perm gen total 23552K, used 23491K [0x28040000, 0x29740000, 0x2c040000)
      the space 23552K, 99% used [0x28040000, 0x29730fe0, 0x29731000, 0x29740000)
      ro space 8192K, 66% used [0x2c040000, 0x2c590f10, 0x2c591000, 0x2c840000)
      rw space 12288K, 52% used [0x2c840000, 0x2ce906d0, 0x2ce90800, 0x2d440000)

      Dynamic libraries:
      0x00400000 - 0x009e3000 C:\Program Files\Borland\SilkPerformer 2008\perfRun.exe
      0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
      0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
      0x71bd0000 - 0x71be1000 C:\WINDOWS\system32\MPR.dll
      0x77f50000 - 0x77feb000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
      0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
      0x77380000 - 0x77411000 C:\WINDOWS\system32\USER32.dll
      0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
      0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
      0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\msvcrt.dll
      0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
      0x76920000 - 0x769e2000 C:\WINDOWS\system32\USERENV.dll
      0x71c40000 - 0x71c97000 C:\WINDOWS\system32\NETAPI32.dll
      0x10000000 - 0x1000a000 C:\Program Files\Borland\SilkPerformer 2008\perfEncoding.dll
      0x7c3a0000 - 0x7c41b000 C:\WINDOWS\system32\MSVCP71.dll
      0x7c340000 - 0x7c396000 C:\WINDOWS\system32\MSVCR71.dll
      0x00320000 - 0x00343000 C:\Program Files\Borland\SilkPerformer 2008\perfZZZ.dll
      0x77670000 - 0x777a9000 C:\WINDOWS\system32\ole32.dll
      0x77d00000 - 0x77d8b000 C:\WINDOWS\system32\OLEAUT32.dll
      0x77da0000 - 0x77df2000 C:\WINDOWS\system32\SHLWAPI.dll
      0x77b90000 - 0x77b98000 C:\WINDOWS\system32\VERSION.dll
      0x009f0000 - 0x00b17000 C:\Program Files\Borland\SilkPerformer 2008\LIBEAY32.dll
      0x71bb0000 - 0x71bb9000 C:\WINDOWS\system32\WSOCK32.dll
      0x7c8d0000 - 0x7d0cf000 C:\WINDOWS\system32\SHELL32.dll
      0x71c20000 - 0x71c32000 C:\WINDOWS\system32\tsappcmp.dll
      0x00370000 - 0x003a3000 C:\WINDOWS\system32\qaphooks.dll
      0x77420000 - 0x77523000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
      0x6d870000 - 0x6dac0000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\client\jvm.dll
      0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
      0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
      0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
      0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d320000 - 0x6d328000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\hpi.dll
      0x6d820000 - 0x6d82c000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\verify.dll
      0x6d3c0000 - 0x6d3df000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\java.dll
      0x6d860000 - 0x6d86f000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\zip.dll
      0x65500000 - 0x6555f000 C:\Program Files\Borland\SilkPerformer 2008\perfJavaApi.dll
      0x6d620000 - 0x6d633000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\net.dll
      0x71b20000 - 0x71b61000 C:\WINDOWS\System32\mswsock.dll
      0x76ed0000 - 0x76efa000 C:\WINDOWS\system32\DNSAPI.dll
      0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll
      0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll
      0x76f80000 - 0x76f85000 C:\WINDOWS\system32\rasadhlp.dll
      0x5f270000 - 0x5f2ca000 C:\WINDOWS\system32\hnetcfg.dll
      0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
      0x6d640000 - 0x6d649000 D:\Program Files\Java\jdk1.6.0_07\jre\bin\nio.dll
      0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll

      VM Arguments:
      jvm_args: vfprintf
      java_command: <unknown>
      Launcher Type: generic

      Environment Variables:
      JAVA_HOME=D:\Program Files\Java\jdk1.6.0_07
      CLASSPATH=D:\SP_TESTHAR\JARS\CTMPERF.jar;D:\SP_TESTHAR\JARS\CTMExtern.jar;D:\SP_TESTHAR\JARS\DCIWebSession1_1_6.jar;D:\SP_TESTHAR\JARS\junit.jar;D:\SP_TESTHAR\JARS\ctmExternUtil.jar;D:\SP_TESTHAR\JARS\jconn2.jar;D:\SP_TESTHAR\JARS\log4j-1.2.11.jar;D:\SP_TESTHAR\JARS\xerces.zip;D:\SP_TESTHAR\JARS\ojdbc14.jar;D:\SP_TESTHAR\JARS\commons-logging.jar;D:\SP_TESTHAR\JARS\j2ssh-core-0.2.9.jar;D:\SP_TESTHARNESS\JARS\slf4j-api-1.3.0.jar;D:\SP_TESTHARNESS\JARS\slf4j-jdk14-1.3.0.jar;D:\SP_TESTHARNESS\JARS\slf4j-log4j12-1.3.0.jar;D:\SP_TESTHARNESS\JARS\mina-core-1.1.0.jar;D:\SP_TESTHARNESS\JARS\mina-core-1.1.0-sources.jar
      PATH=D:\SP_TESTHARNESS\;C:\Program Files\Borland\SilkPerformer 2008\Working\Data\;C:\Program Files\Borland\SilkPerformer 2008\Working\Custom Data\;C:\Program Files\Borland\SilkPerformer 2008\;C:\sybase\JS-12_5\bin;C:\sybase\OCS-12_5\dll;C:\sybase\OCS-12_5\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\tools\macros;D:\Program Files\Java\jdk1.6.0_07\bin;C:\Program Files\MySQL\MySQL Server 4.1\bin;C:\Tools\ant165\bin;04EEE5F0ath;DCIDIR\lib;TUXDIR\bin;DCIDIR\include;6DA5D4A0ERCESROOT\bin
      USERNAME=qametric2
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel

      --------------- S Y S T E M ---------------

      OS: Windows Server 2003 family Build 3790 Service Pack 2

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

      Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)

      vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1

      time: Fri Dec 05 11:10:34 2008
      elapsed time: 8 seconds

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gganeshan Ganeshan Guruswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: