From owner-freebsd-java@FreeBSD.ORG Tue Jun 10 02:05:42 2003 Return-Path: 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 0B76837B401 for ; Tue, 10 Jun 2003 02:05:42 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D18743FB1 for ; Tue, 10 Jun 2003 02:05:40 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19Pf4S-000IwM-8Y for freebsd-java@FreeBSD.org; Tue, 10 Jun 2003 11:05:36 +0200 Date: Tue, 10 Jun 2003 11:05:36 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030610090536.GD72342@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: Re: idea-3.0.4 w/ FreeBSD 5.1: "Bad file descriptor" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 09:05:42 -0000 I reported a problem with IntelliJ IDEA to the vendor, and they haven't offered much in the way of help for tracking it down. The following forwarded message is their response, top-posted over bug report at the bottom. So how on _earth_ are we supposed to track this down? Ciao, Sheldon. ----- Forwarded message from Serge Baranov ----- Date: Tue, 10 Jun 2003 02:24:56 +0400 From: Serge Baranov Reply-To: Serge Baranov To: Sheldon Hearn CC: support@intellij.com Subject: idea-3.0.4 w/ FreeBSD 5.1: "Bad file descriptor" [threadID=14613] Hello Sheldon, Thanks for paying attention to the problem and your assistance. It seems that I can't give you any better suggestion, because we don't have any FreeBSD machine here to reproduce the problem. What I can tell for sure, is that this error is reported by FreeBSD JDK, not by IDEA. Probably you should ask FreeBSD Java team guys how to get more detailed info for this problem. If you have any new info concerning this issue, we'll be glad to know it. Serge Baranov JetBrains, Inc http://www.intellij.com "Develop with pleasure!" -----Original Message----- From: "Sheldon Hearn" Sent: Saturday, June 7, 2003, 6:54:21 PM To: support@intellij.com Subject: idea-3.0.4 w/ FreeBSD 5.1: "Bad file descriptor" [threadID=14613] Hi folks, I'm using an evaluation copy of idea-3.0.4. I'm very excited about the software[1]. I had planned to license it next month, but I'm getting my car serviced, so I'll have to do withotu for July and license in August. I'm having trouble with the software on FreeBSD 5.1, using the a native jdk-1.4.1. In two distinct situations, IDEA complains about "Bad file descriptor" without no errors on stderr [1] or in ~/.IntellijIdea/system/log/idea.log. This happens when 1) I add JARs to a project's class path. 2) When I try to compile a package, for which the source directory contains files that are not .java files. In both cases, a 0 byte file is created. I've worked around the first problem by manaully copying the ~/.IntelliJIdea/system/jars files and then setting them read-only. For the second problem, I can a) compile each file separately, b) select only the .java files and "compile selected files", or c) delete all the files that aren't .java files and then compile the package. Andrew McNaughton (a licensed user) reported the problem to you and was told that it's probably a problem with FreeBSD's native JDK. I can believe that because we have i) shakey signal handling, ii) shakey NIO support, and iii) an underlying threads implementation that hasn't been stress tested. But how do I submit a decent problem report to freebsd-java@FreeBSD.org when there are no errors? Is there something I can do to make IDEA spit out a stack trace that I can show the FreeBSD Java cluebats? Ciao, Sheldon. [1] I spent a long time telling IDE people that vi is the most powerful text editor in the world. That may be true, but when you're writing Java code, you're doing a lot more than editing text. You're editing Java code, and IDEA does an awesome job of compensating you for the price you pay when you sacrifice powerful text editing. ----- End forwarded message -----