From MAILER-DAEMON Thu Jan 13 08:39:39 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PdNOs-0007pu-UJ
	for mharc-bug-classpath@gnu.org; Thu, 13 Jan 2011 08:39:39 -0500
Received: from [140.186.70.92] (port=46435 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PdNOp-0007m7-UU
	for bug-classpath@gnu.org; Thu, 13 Jan 2011 08:39:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1PdNOm-0003kI-5S
	for bug-classpath@gnu.org; Thu, 13 Jan 2011 08:39:33 -0500
Received: from server1.sourceware.org ([209.132.180.131]:41444
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1PdNOl-0003ep-VG
	for bug-classpath@gnu.org; Thu, 13 Jan 2011 08:39:32 -0500
Received: (qmail 10588 invoked by uid 22791); 13 Jan 2011 13:39:09 -0000
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,TW_MV
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Thu, 13 Jan 2011 13:39:06 +0000
From: "martin.winter at siemens dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: major
X-Bugzilla-Who: martin.winter at siemens dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
Message-ID: <bug-42823-11049-fyFweD5OpJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-42823-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-42823-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Date: Thu, 13 Jan 2011 13:39:05 +0000
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
Subject: [Bug classpath/42823] tcp/ip sockets read/write operations causes
 memory leak
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Jan 2011 13:39:37 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42823

Martin Winter <martin.winter at siemens dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.winter at siemens
                   |                            |dot com

--- Comment #1 from Martin Winter <martin.winter at siemens dot com> 2011-01-13 13:39:01 UTC ---
I see a very similar behaviour on a system using classpath 0.98 and jamvm
1.5.4. I assume it is related to opening and closing sockets, becauce with an
continuously open socket I can do I/O for weeks, but when opening and closing
it all the time I run out of memory in a day, i.e. about 20000 socket open
using (roughly) 20MByte of memory.


From MAILER-DAEMON Thu Jan 20 08:19:30 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PfuQE-0006Tk-Oe
	for mharc-bug-classpath@gnu.org; Thu, 20 Jan 2011 08:19:30 -0500
Received: from [140.186.70.92] (port=49744 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PfuQB-0006TQ-W9
	for bug-classpath@gnu.org; Thu, 20 Jan 2011 08:19:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1PfuQB-0004NK-02
	for bug-classpath@gnu.org; Thu, 20 Jan 2011 08:19:27 -0500
Received: from server1.sourceware.org ([209.132.180.131]:54175
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1PfuQA-0004N6-PO
	for bug-classpath@gnu.org; Thu, 20 Jan 2011 08:19:26 -0500
Received: (qmail 13994 invoked by uid 22791); 20 Jan 2011 13:19:26 -0000
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,TW_KM,TW_MV
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Thu, 20 Jan 2011 13:19:22 +0000
From: "martin.winter at siemens dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: crypto
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: martin.winter at siemens dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: csm at gnu dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
Message-ID: <bug-40774-11049-iRw2QdZfvd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-40774-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-40774-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Date: Thu, 20 Jan 2011 13:19:21 +0000
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
Subject: [Bug crypto/40774] Does SSL works at all in classpath version 0.98
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jan 2011 13:19:29 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40774

Martin Winter <martin.winter at siemens dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.winter at siemens
                   |                            |dot com

--- Comment #1 from Martin Winter <martin.winter at siemens dot com> 2011-01-20 13:19:08 UTC ---
I see the very same behaviour with Jamvm 1.5.4, classpath 0.98 and the
simpleframework web server on an embedded Linux (ARM) platform, so I can affirm
that there is a bug and that can be reproduced.

Here is my code snippet to create the SSL server:

try {
    SSLContext ssl = SSLContext.getInstance("SSLv3");
    KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
    InputStream keystream = ClassLoader.getSystemResourceAsStream(keystore);

    if (keystream == null) {
        throw new FileNotFoundException("Keystore not found: " + keystore);
    }

    ks.load(keystream, "password".toCharArray());
    KeyManagerFactory kmf = KeyManagerFactory
        .getInstance(KeyManagerFactory.getDefaultAlgorithm());
    kmf.init(ks, "passwd".toCharArray());
    ssl.init(kmf.getKeyManagers(), null, null);

    SocketAddress address = new InetSocketAddress("localhost", 443);
    Connection connection = new SocketConnection(container);
    connection.connect(address, ssl);
} catch (Exception e) {
    log.warn("Cannot create SSL server", e);
}


