From owner-freebsd-java Fri Aug 23 20:51: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57A9437B400 for ; Fri, 23 Aug 2002 20:51:02 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0BB243E6E for ; Fri, 23 Aug 2002 20:51:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17iRwq-0004Gn-00; Fri, 23 Aug 2002 21:51:01 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17iRwo-0004Ga-00; Fri, 23 Aug 2002 21:50:51 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g7O3oWa43906; Sat, 24 Aug 2002 13:20:32 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 24 Aug 2002 13:20:28 +0930 From: Greg Lewis To: Jeremy Suo-Anttila Cc: freebsd-java@FreeBSD.ORG Subject: Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat Message-ID: <20020824132028.A43816@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jps@funeralexchange.com on Fri, Aug 23, 2002 at 12:32:03PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 23, 2002 at 12:32:03PM -0500, Jeremy Suo-Anttila wrote: > I have been experiencing allot of java crashes (2-3 some days) with the > following error code every time it happens. If any one could tell me what I > can do to prevent future crashes from happening or how I can get more info > from the crash and find a way to patch my system to make them work that > would be great. The errors are listed below along with other info. Also if > anyone else has had the same problems please let me know and I will submit a > pr for this. > > I have already upgraded to the latest linux_base last night from linux_base6 > and reinstalled the linux-sun-jdk.1.4.0.1 from the ports. There are known issues with running HotSpot under Linux emulation. I would certainly advise against it for a production system of any kind. > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Ok, you do realise that you're running a FreeBSD gdb on a Linux binary? I don't expect that will tell you very much... > Core was generated by `java'. > Program terminated with signal 6, Abort trap. > /lib/libpthread.so.0: No such file or directory. Thats a message from gdb, its got very little to do with your problem. Its basically occuring because you're using the FreeBSD gdb, so it will look in /lib rather than /usr/compat/linux/lib for libpthread.so.0. I don't know if anyone has tried this, but it might be worth asking about your problem on freebsd-emulation (since the problem actually lies in the Linux emulation layer). The information you supplied was fairly extensive, so that can only help. Its a pity there isn't a reliable quick way to produce the problem or I'd suggest to run things under truss and maybe see what system calls are going on around the crash zone. It may also help to use the a Linux gdb which will probably be more help with the binary. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message