Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 55463 invoked from network); 7 Jul 2005 05:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2005 05:51:39 -0000 Received: (qmail 38998 invoked by uid 500); 7 Jul 2005 05:51:30 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 38955 invoked by uid 500); 7 Jul 2005 05:51:29 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 38941 invoked by uid 99); 7 Jul 2005 05:51:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 22:51:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [137.248.254.138] (HELO mailgate.med.uni-marburg.de) (137.248.254.138) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 22:51:18 -0700 Received: from localhost (localhost [127.0.0.1]) by mailgate.med.uni-marburg.de (Postfix) with ESMTP id 687DAA8B9F for ; Thu, 7 Jul 2005 07:51:13 +0200 (CEST) Received: from mailgate.med.uni-marburg.de ([127.0.0.1]) by localhost (mailgate [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08439-08 for ; Thu, 7 Jul 2005 07:50:54 +0200 (CEST) Received: from post.med.uni-marburg.de (post.med.uni-marburg.de [137.248.253.12]) by mailgate.med.uni-marburg.de (Postfix) with ESMTP id 18304A8C2D for ; Thu, 7 Jul 2005 07:50:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by post.med.uni-marburg.de (Postfix) with ESMTP id CAC6E270B5 for ; Thu, 7 Jul 2005 07:50:53 +0200 (CEST) Received: from post.med.uni-marburg.de ([127.0.0.1]) by localhost (post [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30777-02 for ; Thu, 7 Jul 2005 07:50:51 +0200 (CEST) Received: from [137.248.224.93] (wstlehre93.med.uni-marburg.de [137.248.224.93]) by post.med.uni-marburg.de (Postfix) with ESMTP id A755B27095 for ; Thu, 7 Jul 2005 07:50:51 +0200 (CEST) Message-ID: <42CCC2C2.90200@med.uni-marburg.de> Date: Thu, 07 Jul 2005 07:50:58 +0200 From: Oliver Heger User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de, de-at, en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: JVM Crash calling Configuration on 64-Bit Server VM (1.5.0_04-b05) for solaris-amd64 References: <319858E54D2935458248B238BF06BF703D6E3D@sron-chi-exc03.ronin.roncap.com> In-Reply-To: <319858E54D2935458248B238BF06BF703D6E3D@sron-chi-exc03.ronin.roncap.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at med.uni-marburg.de X-Virus-Scanned: by amavisd-new at med.uni-marburg.de X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N William Evans wrote: > I have an application that uses Commons Configuration. > > It runs on an AMD64 SunFire (dual processor) box under Solaris 10. > > When I run with the JVM in 32 bit it runs fine but as soon as I try it > in 64 bit mode it takes a JVM crash. > > > > I isolated the problem to calls into the Configuration package and wrote > a test class that does only the following: > > > > try { > > Configuration config = new > PropertiesConfiguration(args[0]); > > System.out.println("Properties:"); > > for (Iterator iter = config.getKeys(); iter.hasNext();) > { > > String key = (String) iter.next(); > > System.out.println("\n" + key + " = " + > config.getString(key)); > > } > > } > > catch (Exception e) { > > System.out.println("Error reading file " + args[0] + > "\n" + e.toString()); > > } > > > > Almost every time I run it crashes the JVM but only when running in 64 > bit mode. > > > > Has anyone else seen this? > > Bill > I haven't seen this before. What makes me wonder is that PropertiesConfiguration by inheriting from BaseConfiguration is (at least for the methods you use in your test) only a thin wrapper for a map object (in fact it's a org.apache.commons.collections.map.LinkedMap). Any chance that you can find out the concrete line where the crash happens (maybe by adding further trace statements and flushing the output stream after each write)? Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org