TWS crashes.What is the fix?

Discussion in 'Trading Software' started by Free Thinker, Jan 18, 2007.

  1. Several times a day my IB software just crashes. It just closes down for no reason. So far here is what i have done to try and fix it:

    1. called ib. no help.
    2.uninstalled tws and reinstalled.
    3. reinstalled java.
    4.reinstalled xp.
    5. changed isp.
    Its getting annoying. Has anyone else been through this and what was the fix?

    my system dell 4600, 2.8 ht, w xp home, 1 gig memory, 3 monitors run by 2 matrox cards g450 one is agp and one is pci. i have qwest dsl now.thanks
  2. I'd say you've eliminated everything but the hardware. Have you tried running this on a different machine, maybe one that doesn't have the multiple monitor setup? Can you try another video card?

    What's the crash message?
  3. rwk


    You might also try older versions of Java and TWS.
  4. no message. it just disappears.
    no to different machine. i think it has to be the machine. there has to be a conflict.
    i have changed video cards.
  5. tried that. went from older version to latest version to 1 step back from latest. also tried older version of java and the new beta version.
  6. I have the same PC sys as you, but I run 1 Matrox Quad card. Never had a problem. I assume you have run virus scanning software?

    Its either Java, or a virus I bet.
  7. vikana

    vikana Moderator

    You've probably already done this, but I'd check the TWS log file and see if I could determine what TWS was doing at the time of the fault.

    One other test to run, would be a memory test. You can often turn on memory boot test in the BIOS (sometimes called "slow boot"), and Dell generally offers a system diagnostics tool for each system. The diagnostics tool can test memory among other things.

    Sounds like a hardware problem, most likely a faulty memory chip.
  8. Xenia


    Did you try the often helpful Java NoDDraw switch already ?

  9. ther are dozens of error files like this in my jts folder:
    An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d943e22, pid=2828, tid=3352
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x183e22]
    # If you would like to submit a bug report, please visit:

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

    Current thread (0x02f23800): JavaThread "Timer-0" daemon [_thread_in_vm, id=3352]

    siginfo: ExceptionCode=0xc0000005, reading address 0x00000001

    EAX=0x00000001, EBX=0x02f23800, ECX=0x00000006, EDX=0x00000003
    ESP=0x03f4f864, EBP=0x03f4f87c, ESI=0x00000001, EDI=0x1f2e5b40
    EIP=0x6d943e22, EFLAGS=0x00010202

    Top of Stack: (sp=0x03f4f864)
    0x03f4f864: 02f23800 17d1e7e8 2b160188 03f4f8b8
    0x03f4f874: 6d815f17 00000003 03f4f8b8 6d8a749a
    0x03f4f884: 02f23800 1f2e5b40 02f23800 17d1e7e8
    0x03f4f894: 03f4f8b8 2b160188 009e67f7 02f238e8
    0x03f4f8a4: 03f4f8a8 1f2e5b40 00000003 169d1f00
    0x03f4f8b4: 169d1ef0 03f4f908 0096dc1c 00000000
    0x03f4f8c4: 185c1760 03f4f918 0096dd24 169d1e38
    0x03f4f8d4: 169d1ee0 00000009 278c43b8 00000000

    Instructions: (pc=0x6d943e22)
    0x6d943e12: 8b c3 5b 8b e5 5d c3 d1 e8 a8 01 74 13 83 f6 02
    0x6d943e22: 8b 06 c1 e8 07 85 c0 74 21 5f 5e 5b 8b e5 5d c3

    Stack: [0x03f00000,0x03f50000), sp=0x03f4f864, free space=318k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x183e22]
    V [jvm.dll+0xe749a]
    J java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    J java.util.HashSet.add(Ljava/lang/Object;)Z
    j feature.rss.o.a(Lfeature/rss/c;)V+5
    j feature.rss.p.a(Ljava/lang/String;Lfeature/rss/c;)V+6
    j feature.rss.m.a(Lfeature/rss/c;)V+11
    J feature.rss.w.a([Lfeature/rss/c;)V
    j feature.rss.w.m()V+60
    j feature.rss.w.a(Lfeature/rss/w;)V+1
    J java.util.TimerThread.mainLoop()V
    v ~StubRoutines::call_stub

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J java.lang.Object.hashCode()I
    J java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    J java.util.HashSet.add(Ljava/lang/Object;)Z
    j feature.rss.o.a(Lfeature/rss/c;)V+5
    j feature.rss.p.a(Ljava/lang/String;Lfeature/rss/c;)V+6
    j feature.rss.m.a(Lfeature/rss/c;)V+11
    J feature.rss.w.a([Lfeature/rss/c;)V
    j feature.rss.w.m()V+60
    j feature.rss.w.a(Lfeature/rss/w;)V+1
    J java.util.TimerThread.mainLoop()V
    v ~StubRoutines::call_stub

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

    Java Threads: ( => current thread )
    0x031b4400 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=1928]
    0x031aa400 JavaThread "JTS-MD-Ping-AA-2698" [_thread_blocked, id=2792]
    0x031b0c00 JavaThread "JTS-MDDispatcher-2694" [_thread_blocked, id=4068]
    0x02f02000 JavaThread "JTS-Listener-2693" [_thread_in_native, id=520]
    0x02ee8800 JavaThread "JTS-PING-650" [_thread_blocked, id=3856]
    0x02f22800 JavaThread "JTS-FixDispatcher-649" [_thread_blocked, id=2320]
    0x02f3bc00 JavaThread "JTS-Listener-646" [_thread_in_native, id=2724]
    0x03249400 JavaThread "JTS-MD-Ping-AA-51" [_thread_blocked, id=3688]
    0x03273000 JavaThread "JTS-MDDispatcher-47" [_thread_blocked, id=3656]
    0x02baa800 JavaThread "JTS-Listener-46" [_thread_in_native, id=3652]
    0x03151800 JavaThread "JTS-MD-Ping-AA-33" [_thread_blocked, id=3540]
    0x02f87c00 JavaThread "JTS-MD-Ping-AA-28" [_thread_blocked, id=3520]
    0x02f8c400 JavaThread "JTS-MDDispatcher-25" [_thread_blocked, id=3508]
    0x03158800 JavaThread "JTS-Listener-24" [_thread_in_native, id=3504]
    0x02f81400 JavaThread "JTS-MDActivityCheckThread-23" [_thread_blocked, id=3500]
    0x02f81c00 JavaThread "JTS-MDDispatcher-19" [_thread_blocked, id=3468]
    0x0314a400 JavaThread "JTS-Listener-18" [_thread_in_native, id=3464]
    0x02f69400 JavaThread "IASession" [_thread_blocked, id=3400]
    0x02ba6c00 JavaThread "JTS-AsyncQueryManager-11" [_thread_blocked, id=3396]
    0x02f7a400 JavaThread "JTS-SocketListener-10" [_thread_in_native, id=3392]
    0x02f57c00 JavaThread "JTS-Dde Monitor-9" [_thread_blocked, id=3372]
    0x02f21c00 JavaThread "JTS-EndSession-6" [_thread_blocked, id=3356]
    =>0x02f23800 JavaThread "Timer-0" daemon [_thread_in_vm, id=3352]
    0x02e65000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3332]
    0x0313c800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3024]
    0x00386000 JavaThread "DestroyJavaVM" [_thread_blocked, id=2836]
    0x0304f400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3020]
    0x03016c00 JavaThread "JTS-DeadlockMonitor-1" daemon [_thread_blocked, id=2916]
    0x03031800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2912]
    0x0301c400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2908]
    0x03017400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2904]
    0x02b09800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2864]
    0x02b08000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2860]
    0x02b06c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2856]
    0x02b06000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2852]
    0x02afe400 JavaThread "Finalizer" daemon [_thread_blocked, id=2848]
    0x02afd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2844]
  10. Other Threads:
    0x02af4000 VMThread [id=2840]
    0x02b0e400 WatcherThread [id=2868]

    VM state:not at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: None

    def new generation total 9216K, used 471K [0x16960000, 0x17360000, 0x17d10000)
    eden space 8192K, 5% used [0x16960000, 0x169d5c18, 0x17160000)
    from space 1024K, 0% used [0x17160000, 0x17160000, 0x17260000)
    to space 1024K, 0% used [0x17260000, 0x17260000, 0x17360000)
    tenured generation total 121424K, used 60109K [0x17d10000, 0x1f3a4000, 0x26960000)
    the space 121424K, 49% used [0x17d10000, 0x1b7c3588, 0x1b7c3600, 0x1f3a4000)
    compacting perm gen total 17152K, used 16830K [0x26960000, 0x27a20000, 0x2a960000)
    the space 17152K, 98% used [0x26960000, 0x279cfa88, 0x279cfc00, 0x27a20000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae5b9c8, 0x2ae5ba00, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b79e348, 0x2b79e400, 0x2bd60000)

    Dynamic libraries:
    0x00400000 - 0x00423000 C:\WINDOWS\system32\javaw.exe
    0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
    0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
    0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0\bin\msvcr71.dll
    0x6d7c0000 - 0x6da07000 C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x5cd70000 - 0x5cd77000 C:\WINDOWS\system32\serwvdrv.dll
    0x5b0a0000 - 0x5b0a7000 C:\WINDOWS\system32\umdmxfrm.dll
    0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0\bin\java.dll
    0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0\bin\zip.dll
    0x6d000000 - 0x6d1c3000 C:\Program Files\Java\jre1.6.0\bin\awt.dll
    0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
    0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\comctl32.dll
    0x6d2b0000 - 0x6d303000 C:\Program Files\Java\jre1.6.0\bin\fontmanager.dll
    0x77b40000 - 0x77b62000 C:\WINDOWS\system32\Apphelp.dll
    0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
    0x6d570000 - 0x6d583000 C:\Program Files\Java\jre1.6.0\bin\net.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    0x6d590000 - 0x6d599000 C:\Program Files\Java\jre1.6.0\bin\nio.dll
    0x10000000 - 0x1000b000 C:\WINDOWS\toFront.dll
    0x6d560000 - 0x6d569000 C:\Program Files\Java\jre1.6.0\bin\management.dll
    0x6d450000 - 0x6d474000 C:\Program Files\Java\jre1.6.0\bin\jpeg.dll
    0x6d520000 - 0x6d544000 C:\Program Files\Java\jre1.6.0\bin\jsound.dll
    0x6d550000 - 0x6d558000 C:\Program Files\Java\jre1.6.0\bin\jsoundds.dll
    0x73f10000 - 0x73f6c000 C:\WINDOWS\system32\DSOUND.dll
    0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
    0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
    0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
    0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
    0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
    0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
    0x03660000 - 0x03695000 C:\WINDOWS\ddedll.dll
    0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll
    0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
    0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll

    VM Arguments:
    jvm_args: -Dsun.java2d.noddraw=true -Xmx256M
    java_command: jclient/LoginFrame C:\Jts
    Launcher Type: SUN_STANDARD

    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre1.6.0\lib\ext\
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, 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, ht

    Memory: 4k page, physical 1047532k(497840k free), swap 2520884k(2079312k free)

    vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310
    #10     Jan 18, 2007