jcrupi / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

Crash with BlueSoleil #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ServicesSearch.java example (found on your SVN)

What is the expected output? What do you see instead?
I expect a list of devices and then service names
I get the list of devices but when the first device is scanned for services
the application crashes with the message :

search services on 000AD9A83B18 P990i
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d89d327, pid=2524, tid=1144
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# V  [jvm.dll+0xdd327]
#
# An error report file with more information is saved as:
#
C:\Users\senoctar\Workspaces\EclipseWorkspace\VRCCClient-j2me\hs_err_pid2524.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Contents of hs_err_pid2524.log are :

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d89d327, pid=2524, tid=1144
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# V  [jvm.dll+0xdd327]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x0d1bf400):  JavaThread "SearchServicesThread-1" daemon
[_thread_in_vm, id=1144, stack(0x0d510000,0x0d560000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x0d1bf400, ECX=0x00000006, EDX=0x25010109
ESP=0x0d55f314, EBP=0x0d55fbe4, ESI=0x00000000, EDI=0x0d1bf4f4
EIP=0x6d89d327, EFLAGS=0x00010246

Top of Stack: (sp=0x0d55f314)
0x0d55f314:   02763d8c 0d1bf4f4 0ca853cc 0d1bf400
0x0d55f324:   00000000 0d55f31c 00000015 0d55fd38
0x0d55f334:   6d983ef0 6d9852f0 ffffffff 02763d90
0x0d55f344:   6d7c10df 0d1bf400 0d1bf400 6d892833
0x0d55f354:   0d1bf400 00000006 0ca743ee 0d1bf4f4
0x0d55f364:   25010109 00000000 0d55f380 0ca74d95
0x0d55f374:   0d1bf4f4 25010109 00000000 02763d90
0x0d55f384:   00000187 02763d8c 00000001 0d1bf4f4 

Instructions: (pc=0x6d89d327)
0x6d89d317:   00 74 09 8d 4c 24 0c e8 2d 03 08 00 8b 74 24 54
0x6d89d327:   8b 06 c7 44 24 1c 0e 00 00 00 8b 48 08 0f b7 51 

Stack: [0x0d510000,0x0d560000],  sp=0x0d55f314,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xdd327]

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

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

Java Threads: ( => current thread )
=>0x0d1bf400 JavaThread "SearchServicesThread-1" daemon [_thread_in_vm,
id=1144, stack(0x0d510000,0x0d560000)]
  0x0d1cdc00 JavaThread "BluecoveAsynchronousShutdownThread" daemon
[_thread_blocked, id=2652, stack(0x0d430000,0x0d480000)]
  0x02764c00 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=1160, stack(0x0cee0000,0x0cf30000)]
  0x02761c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4148,
stack(0x0ce50000,0x0cea0000)]
  0x02754c00 JavaThread "JDWP Command Reader" daemon [_thread_in_native,
id=952, stack(0x0cdc0000,0x0ce10000)]
  0x02754400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked,
id=4904, stack(0x0cc70000,0x0ccc0000)]
  0x02752800 JavaThread "JDWP Transport Listener: dt_socket" daemon
[_thread_blocked, id=4936, stack(0x0cbe0000,0x0cc30000)]
  0x02747800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4236,
stack(0x0c990000,0x0c9e0000)]
  0x0273f000 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=4304, stack(0x0c900000,0x0c950000)]
  0x0272b800 JavaThread "Finalizer" daemon [_thread_blocked, id=4384,
stack(0x0c870000,0x0c8c0000)]
  0x0272a400 JavaThread "Reference Handler" daemon [_thread_blocked,
id=4468, stack(0x0c7e0000,0x0c830000)]
  0x001b7c00 JavaThread "main" [_thread_blocked, id=4860,
stack(0x00390000,0x003e0000)]

Other Threads:
  0x02726000 VMThread [stack: 0x02290000,0x022e0000] [id=3780]
  0x0276d800 WatcherThread [stack: 0x0cf80000,0x0cfd0000] [id=4224]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 418K [0x047a0000, 0x048a0000,
0x04c80000)
  eden space 896K,  39% used [0x047a0000, 0x047f8a10, 0x04880000)
  from space 64K, 100% used [0x04890000, 0x048a0000, 0x048a0000)
  to   space 64K,   0% used [0x04880000, 0x04880000, 0x04890000)
 tenured generation   total 4096K, used 140K [0x04c80000, 0x05080000,
0x087a0000)
   the space 4096K,   3% used [0x04c80000, 0x04ca3378, 0x04ca3400, 0x05080000)
 compacting perm gen  total 12288K, used 2363K [0x087a0000, 0x093a0000,
0x0c7a0000)
   the space 12288K,  19% used [0x087a0000, 0x089eef58, 0x089ef000, 0x093a0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00423000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\javaw.exe
0x77850000 - 0x779b0000     C:\Windows\SysWOW64\ntdll.dll
0x763f0000 - 0x76500000     C:\Windows\syswow64\kernel32.dll
0x76500000 - 0x765c6000     C:\Windows\syswow64\ADVAPI32.dll
0x75a60000 - 0x75b50000     C:\Windows\syswow64\RPCRT4.dll
0x75a00000 - 0x75a60000     C:\Windows\syswow64\Secur32.dll
0x76320000 - 0x763f0000     C:\Windows\syswow64\USER32.dll
0x76030000 - 0x760c0000     C:\Windows\syswow64\GDI32.dll
0x73de0000 - 0x73dfe000     C:\Windows\system32\ShimEng.dll
0x74ba0000 - 0x74bcc000     C:\Windows\system32\apphelp.dll
0x73cc0000 - 0x73d48000     C:\Windows\AppPatch\AcLayers.DLL
0x76910000 - 0x7741f000     C:\Windows\syswow64\SHELL32.dll
0x75b50000 - 0x75bfa000     C:\Windows\syswow64\msvcrt.dll
0x76820000 - 0x76878000     C:\Windows\syswow64\SHLWAPI.dll
0x75c00000 - 0x75d44000     C:\Windows\syswow64\ole32.dll
0x77420000 - 0x774ad000     C:\Windows\syswow64\OLEAUT32.dll
0x74c20000 - 0x74c3e000     C:\Windows\system32\USERENV.dll
0x753f0000 - 0x75432000     C:\Windows\system32\WINSPOOL.DRV
0x74430000 - 0x74444000     C:\Windows\system32\MPR.dll
0x76730000 - 0x76790000     C:\Windows\system32\IMM32.DLL
0x76250000 - 0x76318000     C:\Windows\syswow64\MSCTF.dll
0x76900000 - 0x76909000     C:\Windows\syswow64\LPK.DLL
0x75f50000 - 0x75fcd000     C:\Windows\syswow64\USP10.dll
0x74640000 - 0x747de000 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.600
1.18000_none_5cdbaa5a083979cc\comctl32.dll
0x7c340000 - 0x7c396000     C:\Program Files
(x86)\Java\jre1.6.0_07\bin\msvcr71.dll
0x6d7c0000 - 0x6da10000     C:\Program Files
(x86)\Java\jre1.6.0_07\bin\client\jvm.dll
0x75550000 - 0x75582000     C:\Windows\system32\WINMM.dll
0x75510000 - 0x75549000     C:\Windows\system32\OLEACC.dll
0x6d270000 - 0x6d278000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\hpi.dll
0x765d0000 - 0x765d7000     C:\Windows\syswow64\PSAPI.DLL
0x6d360000 - 0x6d389000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\jdwp.dll
0x6d6c0000 - 0x6d6c6000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\npt.dll
0x6d770000 - 0x6d77c000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\verify.dll
0x6d310000 - 0x6d32f000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\java.dll
0x6d7b0000 - 0x6d7bf000     C:\Program Files (x86)\Java\jre1.6.0_07\bin\zip.dll
0x6d1e0000 - 0x6d1e7000     C:\Program Files
(x86)\Java\jre1.6.0_07\bin\dt_socket.dll
0x75fd0000 - 0x75ffd000     C:\Windows\syswow64\WS2_32.dll
0x766d0000 - 0x766d6000     C:\Windows\syswow64\NSI.dll
0x74a00000 - 0x74a0f000     C:\Windows\system32\NLAapi.dll
0x74290000 - 0x742a9000     C:\Windows\system32\IPHLPAPI.DLL
0x753b0000 - 0x753e5000     C:\Windows\system32\dhcpcsvc.DLL
0x75380000 - 0x753ac000     C:\Windows\system32\DNSAPI.dll
0x75820000 - 0x75827000     C:\Windows\system32\WINNSI.DLL
0x74480000 - 0x744a1000     C:\Windows\system32\dhcpcsvc6.DLL
0x749f0000 - 0x749ff000     C:\Windows\system32\napinsp.dll
0x749b0000 - 0x749c2000     C:\Windows\system32\pnrpnsp.dll
0x749e0000 - 0x749e8000     C:\Windows\System32\winrnr.dll
0x765f0000 - 0x7663a000     C:\Windows\syswow64\WLDAP32.dll
0x10000000 - 0x10010000     C:\Windows\system32\PrxerNsp.dll
0x73c80000 - 0x73cbb000     C:\Windows\system32\mswsock.dll
0x72ab0000 - 0x72abc000     C:\Windows\system32\wshbth.dll
0x760c0000 - 0x7624a000     C:\Windows\syswow64\SETUPAPI.dll
0x74a10000 - 0x74a16000     C:\Windows\system32\rasadhlp.dll
0x004f0000 - 0x00503000     C:\Windows\system32\PrxerDrv.dll
0x743e0000 - 0x743e5000     C:\Windows\System32\wshtcpip.dll
0x0ca70000 - 0x0ca95000 
C:\Users\senoctar\AppData\Local\Temp\bluecove_senoctar_0\intelbth.dll
0x022f0000 - 0x022fe000     C:\Windows\system32\btfunc.dll
0x72210000 - 0x7232b000     C:\Windows\system32\MFC42.DLL
0x75e80000 - 0x75f50000     C:\Windows\syswow64\WININET.dll
0x765e0000 - 0x765e3000     C:\Windows\syswow64\Normaliz.dll
0x766e0000 - 0x76725000     C:\Windows\syswow64\iertutil.dll
0x71b90000 - 0x71bf5000     C:\Windows\system32\ODBC32.dll
0x74530000 - 0x745b5000 
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.60
01.18000_none_886786f450a74a05\COMCTL32.dll
0x76880000 - 0x768f3000     C:\Windows\syswow64\COMDLG32.dll
0x71b50000 - 0x71b88000     C:\Windows\system32\odbcint.dll

VM Arguments:
jvm_args:
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:49633
-Dfile.encoding=Cp1250 
java_command: bttest.ServicesSearch
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:/Program Files (x86)/Java/jre1.6.0_07/bin/client;C:/Program Files
(x86)/Java/jre1.6.0_07/bin;C:\Program Files (x86)\CSL Arm
Toolchain\bin\;C:\Program Files (x86)\Common
Files\Symbian\tools;C:\Perl\bin\;C:\Windows\system32;C:\Windows;C:\Windows\Syste
m32\Wbem;C:\Program
Files (x86)\HI-TECH Software\PICC\lite\9.60\bin;C:\Program Files
(x86)\HI-TECH
Software\HI-TIDE\3.12\bin;C:\Symbian\UIQ3SDK\epoc32\tools\nokia_compiler\Symbian
_Tools\Command_Line_Tools;C:\Program
Files (x86)\Common Files\Teleca Shared;C:\Program Files
(x86)\Intuwave\Shared\mRouterRuntime;C:\apache-ant\bin\
USERNAME=senoctar
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 6, GenuineIntel

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

OS: Windows Vista Build 6001 Service Pack 1

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping
6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 3143376k(517444k free), swap 4194303k(2851660k 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 Sep 19 00:27:00 2008
elapsed time: 18 seconds

What BlueCove version are you using (include build number for SNAPSHOT)?
Bluecove 2.0.3 , JSE 1.6.07 x32, BlueSoleil 2.6
I also have a dongle that supports MS. BT Stack and works for the same device

Original issue reported on code.google.com by senoc...@gmail.com on 18 Sep 2008 at 9:35

GoogleCodeExporter commented 8 years ago
I have no idea how to reproduce the problem.
It works for me on IVT 2.3
Does it work when XP with BT stack restarted?

Original comment by skarzhev...@gmail.com on 29 Sep 2008 at 11:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This seems to be a Vista only issue (i have x64 version). On XP x64 with the 
same
dongle and BlueSoleil it works. I use 32bit JVM on both systems.

Original comment by senoc...@gmail.com on 9 Oct 2008 at 9:39

GoogleCodeExporter commented 8 years ago
I get the exact same problem with Windows Vista using bluesoleil and bluecove. 
How do
I get around this?? I only have one PC and it runs Vista. 

Original comment by csbb...@gmail.com on 1 Jul 2009 at 7:07

GoogleCodeExporter commented 8 years ago
I get this problem too. My OS is Win 2000. And I use Blue Soleil 2.6 too.
But one or 2 times this problem doesn't come. I don't know why. 

Original comment by jagge1...@googlemail.com on 7 Jul 2009 at 10:24

GoogleCodeExporter commented 8 years ago
Since I removed an old version of bluesoleil I had lying around it now works
sometimes. It's hard to predict. It helps if I shutdown bluetooth before 
restarting
the application, but even this doesn't always work.

Original comment by csbb...@gmail.com on 7 Jul 2009 at 12:20

GoogleCodeExporter commented 8 years ago
I have the same problem, running BlueCove under XP SP2 and JDK 1.6.0 with 
BlueSoleil
Please Help

Original comment by riahi.ma...@gmail.com on 24 Oct 2009 at 8:01

GoogleCodeExporter commented 8 years ago
I am seeing the same problem here. 

Bluesoliel version - 2.7.013 VOIP release 071227
Stack version - 06.05.85.20070815.

Program output:
BlueCove version 2.1.0 on bluesoleil
wait for device inquiry to complete...
Device 0**********6 found
     name ************'s Phone
Device Inquiry completed!
1 device(s) found
search services on ******************************'s Phone
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9b1b55, pid=3096, tid=3872
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 
)
# Problematic frame:
# V  [jvm.dll+0x101b55]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\Pushkar\workspace\BTExample\hs_err_pid3096.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

hs_error_pid3096.log attached. 

Original comment by pushkar...@gmail.com on 16 Feb 2010 at 8:37

Attachments:

GoogleCodeExporter commented 8 years ago
Does the native intelbth.dll have debug logs? 
The frequency of crash is my box is 100%. The GUI application works fine. 

Just one more thing - the example as is reads 
UUID serviceUUID = OBEX_OBJECT_PUSH;

which caused compilation issues. I changed it to following 
UUID serviceUUID = OBEX_FILE_TRANSFER

Original comment by pushkar...@gmail.com on 16 Feb 2010 at 8:51

GoogleCodeExporter commented 8 years ago
I've the same problem... :(
I have already changed UUID serviceUUID = new 
UUID(0x1106);//(OBEX_FILE_TRANSFER)
yesterday, it crash 4 on 5 time. And Today it's 100%! -_-"
help please!!

(PS : sorry for my bad English)

Original comment by maude.ma...@gmail.com on 28 Mar 2011 at 9:55