Cannot get spark to start

I’‘ve been trying to get Spark 2.0.1 to run on my laptop (XP sp 2). I try to sign-in, the client says authenticating, then shuts down. I’'ve included the error log found in the spark directory.

If someone knows why this is happening, would like to know why. I’'ve tried uninstalling spark and re-installing it, as well as uninstalling and reinstalling java.



c:\program files\spark\hs_err_pid4344.log

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

  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d709c9d, pid=4344, tid=4600

  1. Java VM: Java HotSpot™ Client VM (1.5.0_06-b05 mixed mode, sharing)

  2. Problematic frame:

  3. V

T H R E A D -

Current thread (0x009c18d0): JavaThread “Thread-11” daemon

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000


EAX=0x00000000, EBX=0x00004065, ECX=0x06e7f22c, EDX=0x00000000

ESP=0x06e7f20c, EBP=0x06e7f258, ESI=0x06e7f22c, EDI=0x00000000

EIP=0x6d709c9d, EFLAGS=0x00010246

Top of Stack: (sp=0x06e7f20c)

0x06e7f20c: 6d6f85ec 00000000 009c18d0 6d6fb49b

0x06e7f21c: 009c18d0 00000000 06e7f280 00000000

0x06e7f22c: 00000000 00000000 00000000 00000000

0x06e7f23c: 00000000 00000000 00000000 0000000e

0x06e7f24c: 00000000 00000000 00000000 00000000

0x06e7f25c: 06b61cdc 009c1990 00000000 00000000

0x06e7f26c: 06e7f280 06b612c1 009c1990 00000000

0x06e7f27c: 00000000 00004065 00000000 00000344

Instructions: (pc=0x6d709c9d)

0x6d709c8d: 44 24 04 24 fc 8b 00 8b 00 c3 8b 44 24 04 24 fc

0x6d709c9d: 8b 00 ff 74 24 04 8b c8 e8 93 fe ff ff c3 8b 44

Stack: [0x06c80000,0x06e80000), sp=0x06e7f20c, free space=2044k

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


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

j org.jdesktop.jdic.tray.internal.impl.DisplayThread.initTray()V+0


v ~StubRoutines::call_stub

P R O C E S S -

Java Threads: ( => current thread )

=>0x009c18d0 JavaThread “Thread-11” daemon

0x009bd130 JavaThread “Thread-10”

0x009bc100 JavaThread “Image Fetcher 2” daemon

0x009b9100 JavaThread “Timer-1”

0x009a8980 JavaThread “Timer-0”

0x009a83b0 JavaThread “Thread-7” daemon

0x009a9220 JavaThread “Smack Listener Processor” daemon

0x009a9da0 JavaThread “Smack Packet Reader” daemon

0x009a9a30 JavaThread “Smack Packet Writer” daemon

0x009a24b0 JavaThread “Thread-3” daemon

0x009a0c50 JavaThread “Thread-2”

0x00998a20 JavaThread “TimerQueue” daemon

0x00991a00 JavaThread “AWT-EventQueue-0”

0x0098fe10 JavaThread “Image Fetcher 1” daemon

0x00983790 JavaThread “Image Fetcher 0” daemon

0x0098b310 JavaThread “Java2D Disposer” daemon

0x00987100 JavaThread “AWT-Windows” daemon

0x00986de0 JavaThread “AWT-Shutdown”

0x00980a30 JavaThread “Exe4JStartupThread” daemon

0x0097d8b0 JavaThread “Low Memory Detector” daemon

0x0097c5d0 JavaThread “CompilerThread0” daemon

0x0097c9a0 JavaThread “Signal Dispatcher” daemon

0x0097b8d0 JavaThread “Finalizer” daemon

0x0097b390 JavaThread “Reference Handler” daemon

0x00973e40 JavaThread “main”

Other Threads:

0x0097a940 VMThread

0x0097f420 WatcherThread

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None


def new generation total 1152K, used 783K [0x24010000, 0x24140000, 0x244f0000)

eden space 1088K, 66% used [0x24010000, 0x240c3f98, 0x24120000)

from space 64K, 100% used [0x24130000, 0x24140000, 0x24140000)

to space 64K, 0% used [0x24120000, 0x24120000, 0x24130000)

tenured generation total 15168K, used 4797K [0x244f0000, 0x253c0000, 0x28010000)

the space 15168K, 31% used [0x244f0000, 0x2499f748, 0x2499f800, 0x253c0000)

compacting perm gen total 12288K, used 3842K [0x28010000, 0x28c10000, 0x2c010000)

the space 12288K, 31% used [0x28010000, 0x283d0988, 0x283d0a00, 0x28c10000)

ro space 8192K, 63% used [0x2c010000, 0x2c51b178, 0x2c51b200, 0x2c810000)

rw space 12288K, 46% used [0x2c810000, 0x2cda9fa8, 0x2cdaa000, 0x2d410000)

Dynamic libraries:

0x00400000 - 0x00438000 C:\Program Files\Spark\Spark.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

0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll

0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll

0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll

0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.DLL

0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll

0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL

0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL

0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll

0x10000000 - 0x1000c000 C:\WINDOWS\system32\DAinit.dll

0x00db0000 - 0x00db7000 C:\WINDOWS\system32\ASAPHook.dll

0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6 .0.2600.2180_x-ww_a84f1ff9\comctl32.dll

0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll

0x6d670000 - 0x6d804000 c:\program files\java\jre1.5.0_06\bin\client\jvm.dll

0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll

0x6d280000 - 0x6d288000 c:\program files\java\jre1.5.0_06\bin\hpi.dll

0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL

0x6d640000 - 0x6d64c000 c:\program files\java\jre1.5.0_06\bin\verify.dll

0x6d300000 - 0x6d31d000 c:\program files\java\jre1.5.0_06\bin\java.dll

0x6d660000 - 0x6d66f000 c:\program files\java\jre1.5.0_06\bin\zip.dll

0x6d000000 - 0x6d167000 C:\Program Files\Java\jre1.5.0_06\bin\awt.dll

0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV

0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll

0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll

0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll

0x01570000 - 0x01579000 C:\Program Files\HPQ\IAM\Bin\ItClient.dll

0x7c000000 - 0x7c054000 C:\WINDOWS\system32\MSVCR70.dll

0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll

0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime

0x6d240000 - 0x6d27d000 C:\Program Files\Java\jre1.5.0_06\bin\fontmanager.dll

0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_06\bin\net.dll

0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll

0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll

0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_06\bin\nio.dll

0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll

0x015a0000 - 0x015af000 C:\Program Files\WIDCOMM\Bluetooth Software\btkeyind.dll

0x6d1c0000 - 0x6d1e3000 C:\Program Files\Java\jre1.5.0_06\bin\dcpr.dll

0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.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

0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll

0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll

0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll

0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\netapi32.dll

0x06b60000 - 0x06b6b000 C:\Program Files\Spark\lib\windows\tray.dll

VM Arguments:

jvm_args: -Dexe4j.semaphoreName=c:_progra1_spark_spark.exe -Dexe4j.isInstall4j=true -Dexe4j.moduleName=c:\progra1\spark\spark.exe -Dexe4j.processCommFile=C:\DOCUME1\djparker\LOCALS1\Temp\e4j_p4344.tmp -Dexe4j.tempDir= -Dappdir=c:\progra~1\spark\ -Xms16m -XX:PermSize=12m -Dsun.java2d.noddraw=true


Launcher Type: generic

Environment Variables:

CLASSPATH=C:\Program Files\Java\jre1.5.0_04\lib\ext\

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\HPQ\IAM\bin;C:\Program Files\QuickTime\QTSystem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Belkin\Belkin Wireless Utility\Unicows



PROCESSOR_IDENTIFIER=x86 Family 15 Model 36 Stepping 2, AuthenticAMD

S Y S T E M -

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 47, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 916848k(296108k free), swap 2219416k(1577580k free)

vm_info: Java HotSpot™ Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by “java_re” with MS VC++ 6.0


is this a 64bit AMD laptop? (similar problem here: )

Maybe Derek will add JVM 1.5.0_08 to Spark 2.0.2, anyhow I’'m not sure whether this will solve the problem, but it seems to be a JVM and not a Spark problem.

One should really find some time to create a pure Java version of Spark with less JNI usage, especially without the System Tray Icon.


Yeah, It may even be a good idea to just have the SysTray be a Plugin which you could unload, this way a plugin could be created with the jdk1.6’'s built in SysTray class.

JUST a thought…

Hi Aaron,

I really like this thought, so I thought it would be fine if one could vote for a realization of it here: SPARK-373


Yes, it is a 64bit AMD based laptop. Damn… so I am never going to be able to use Spark until it’'s fixed.


Oh well. Will hope the suggestions will be followed.


Voted for it

I’'ve already got some code for a SysTray with using JDK1.6 that I could easily put in as a plugin for Spark.

Just have so many problems with JDIC in Linux. Maybe it is just this version of Gnome though.