Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 11:05:36 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        freebsd-java@FreeBSD.org
Subject:   Re: idea-3.0.4 w/ FreeBSD 5.1: "Bad file descriptor"
Message-ID:  <20030610090536.GD72342@starjuice.net>

next in thread | raw e-mail | index | archive | help
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 <serge@intellij.net> -----

Date: Tue, 10 Jun 2003 02:24:56 +0400
From: Serge Baranov <serge@intellij.net>
Reply-To: Serge Baranov <support@intellij.com>
To: Sheldon Hearn <sheldonh@starjuice.net>
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" <sheldonh@starjuice.net>
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 -----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610090536.GD72342>