yihtserns / bluecove

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

Memory leaking when trying to open a connection (SPP service) #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When a bluetooth device makes a connection, it causes memory leaking.
Caused on this line of code:
StreamConnection connection = streamConnNotifier.acceptAndOpen();

What is the expected output? What do you see instead?
The expected output should be a working connection and I can read packet from 
the InputStream opened by the connection. 

2010-11-18 17:21:36.852 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100621ad0 of class NSConcreteMutableData autoreleased with no pool in place - 
just leaking
2010-11-18 17:21:36.855 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100626db0 of class NSCFString autoreleased with no pool in place - just 
leaking
2010-11-18 17:21:36.857 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x1001190c0 of class NSConcreteMutableData autoreleased with no pool in place - 
just leaking
2010-11-18 17:21:36.858 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x10011cc30 of class NSConcreteMutableData autoreleased with no pool in place - 
just leaking
2010-11-18 17:21:36.858 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x10011ee30 of class NSConcreteMutableData autoreleased with no pool in place - 
just leaking
2010-11-18 17:21:36.859 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100121440 of class NSConcreteMutableData autoreleased with no pool in place - 
just leaking
2010-11-18 17:21:36.859 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x1001214f0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.859 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100622970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.860 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100622970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.860 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100622970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.861 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100622970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.862 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x100622970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.987 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x1001214f0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.988 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x1001214f0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-11-18 17:21:36.989 java[58547:903] *** __NSAutoreleaseNoPool(): Object 
0x1001214f0 of class NSCFArray autoreleased with no pool in place - just leaking

What BlueCove version are you using (include build number for SNAPSHOT)? On 
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?
bluecove-2.1.1-SNAPSHOT
JVM1.6 and JVM1.5
OS X 64bit Snow Leopard

Please provide any additional information below.
Please use "Attach a file" when uploading stack traces or other big files!

Original issue reported on code.google.com by fengtso on 19 Nov 2010 at 1:28