From owner-freebsd-java@FreeBSD.ORG Fri May 11 10:00:13 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD0BD16A400 for ; Fri, 11 May 2007 10:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9183613C458 for ; Fri, 11 May 2007 10:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4BA0DpT035489 for ; Fri, 11 May 2007 10:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4BA0DO1035488; Fri, 11 May 2007 10:00:13 GMT (envelope-from gnats) Resent-Date: Fri, 11 May 2007 10:00:13 GMT Resent-Message-Id: <200705111000.l4BA0DO1035488@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jedrzej Nasiadek Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A628C16A403 for ; Fri, 11 May 2007 09:56:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 99FE713C448 for ; Fri, 11 May 2007 09:56:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4B9u3Nx048905 for ; Fri, 11 May 2007 09:56:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4B9p1p7048136; Fri, 11 May 2007 09:51:01 GMT (envelope-from nobody) Message-Id: <200705110951.l4B9p1p7048136@www.freebsd.org> Date: Fri, 11 May 2007 09:51:01 GMT From: Jedrzej Nasiadek To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: java/112595: Java appletviewer frequently hangs (kse_release loop) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 10:00:13 -0000 >Number: 112595 >Category: java >Synopsis: Java appletviewer frequently hangs (kse_release loop) >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 11 10:00:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jedrzej Nasiadek >Release: >Organization: Polska Telefonia Cyfrowa >Environment: FreeBSD czajnik.aaa.bbb.pl 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu May 10 13:33:14 CEST 2007 root@czajnik.aaa.bbb.pl:/usr/obj/usr/src/sys/CZAJNIK i386 java full version "diablo-1.5.0-b01" Java is build diablo-jdk1.5.0_07 downloaded from freebsdfoundation.org >Description: Running (quite big) an applet using appletviewer hangs and appletviewer goes into a loop. Truss shows what follows: kse_release({0.045944457}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.043950069}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.041198044}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.038948596}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.036920964}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.034937192}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.032871566}) = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.030884163}) = 383 (0x17f) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) kse_release({0.028880836}) = 383 (0x17f) (null)() = 383 (0x17f) (null)() = 0 (0x0) (null)() = 383 (0x17f) (null)() = 0 (0x0) truss: Cannot malloc -80090560 bytes for pollfd array: Cannot allocate memory backtrace from gdb: (gdb) bt #0 0x281724f7 in pthread_testcancel () from /lib/libpthread.so.2 #1 0x2816b80f in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x080e2680 in ?? () Searching the net revealed that similiar problem was in older java in FreeBSD 5.x and mapping libpthread to libc_r in libmap.conf helped. I tried this but unfortunately failed. Some smaller applets work ok. Can't yet find out which applets work and which do not. Any ideas how to solve or track down problem are welcome. And one more thing: the problem appeared only after upgrading from 6.1-RELEASE to 6.2 >How-To-Repeat: It's a proprietary HP app: HP OVO Performance Monitor: com.hp.ov.pm.client.InsightApplet >Fix: >Release-Note: >Audit-Trail: >Unformatted: