From owner-freebsd-java Mon Jun 12 3:19:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from sunic.sunet.se (sunic.sunet.se [192.36.125.2]) by hub.freebsd.org (Postfix) with ESMTP id 3265037B7A7 for ; Mon, 12 Jun 2000 03:19:23 -0700 (PDT) (envelope-from yuri@irfu.se) Received: from irfu.se (sol.irfu.se [130.238.30.6]) by sunic.sunet.se (8.9.3/8.9.3) with SMTP id MAA18749 for ; Mon, 12 Jun 2000 12:19:17 +0200 (MET DST) Received: from jazz by irfu.se (SMI-8.6/SMI-SVR4) id MAA03390; Mon, 12 Jun 2000 12:18:15 +0200 From: "Yuri Khotyaintsev" To: Subject: RE: Subject: Segmentation violation when invoking JNI call to C from Java with Pthreads Date: Mon, 12 Jun 2000 12:19:16 +0200 Message-ID: <000401bfd457$a9f4cfe0$c31eee82@irfu.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200006102201.PAA03393@nomad.yogotech.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >If you've done this, then the program won't work. pthread_mutex_lock >and friends aren't compatible with the threading using the JDK1.1 VM. But is JDK1.2 pthread compatible? >The bug is almost certainly in your JNI code that is doing something >'wrong', although it's not necessarily your fault, since doing JNI isn't >documented, and is (as expected) different for each platform, FreeBSD >being no exception. Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala mailto:yuri@irfu.se http://tatra.irfu.se/yuri http://ovt.irfu.se - Orbit Visualization Tool To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message