List Info

Thread: java on current?




java on current?
user name
2006-12-18 04:12:01
On Mon, 18 Dec 2006 04:00:19 +0000 (UTC)
christosastron.com (Christos Zoulas) wrote:

> In article <20061218135116.161a6a45garlique.algebras.org>,
> George Michaelson  <ggmapnic.net> wrote:
> 
> >sure. Here is the kdump output over the ktrace of
java -jar
> > 25114      1 java     CALL 
readlink(0x80555e1,0xbfbfb710,0xfff)
> > 25114      1 java     NAMI 
"/emul/linux/proc/self/exe"
> > 25114      1 java     NAMI 
"/emul/linux"
> > 25114      1 java     NAMI 
"/emul/linux/proc/self/exe"
> > 25114      1 java     RET   readlink 1
> 
> This is the problem. readlink returns only 1 which
means it returns /
> I recall that there was a problem with procfs
permissions recently,
> has that been fixed?

current as of today died for me making some ADA related
noise in gdb6:

#       lex  libgdb//usr/src/gnu/dist/gdb6/gdb/ada-lex.c
/data/Build/tools/bin/nblex  -Pyy
-o/usr/src/gnu/dist/gdb6/gdb/ada-lex.c /usr/sr
c/gnu/dist/gdb6/gdb/ada-lex.l
/data/Build/tools/bin/nblex: could not create
/usr/src/gnu/dist/gdb6/gdb/ada-lex
.c

*** Failed target:  /usr/src/gnu/dist/gdb6/gdb/ada-lex.c
*** Failed command: /data/Build/tools/bin/nblex -Pyy
-o/usr/src/gnu/dist/gdb6/gd
b/ada-lex.c /usr/src/gnu/dist/gdb6/gdb/ada-lex.l
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/gdb6/libgdb


Otherwise I'd be up to date enough to say "not
fixed" :-( -when this
resolves, I'll re-install current and see how it goes.


I'm on

$ uname -a
NetBSD garlique.algebras.org 4.99.5 NetBSD 4.99.5 (GGM_ACPI)
#1: Mon Dec 11 13:35:16 EST 2006  ggmgarlique.algebras.org:/data/Build/obj/usr/src/sys/arc
h/i386/compile/GGM_ACPI i386
$

so its over a week old now.

> Also if you can ^Z the java process before it
> exits, you can cd to /emul/linux/proc/<java-pid>
and ls -l exe and
> see what it says.

the window is vanashingly small. I tried, I don't seem to
have a window
of time to halt before its dead.
java on current?
user name
2006-12-19 10:03:52
On Mon, Dec 18, 2006 at 02:12:01PM +1000, George Michaelson
wrote:
> > Also if you can ^Z the java process before it
> > exits, you can cd to
/emul/linux/proc/<java-pid> and ls -l exe and
> > see what it says.
> 
> the window is vanashingly small. I tried, I don't seem
to have a window
> of time to halt before its dead.

would sysctl proc.<pid>.stopexit help ?

Pavel
java on current?
user name
2006-12-28 09:10:15
On 12/19/06, Pavel Cahyna <pavelnetbsd.org> wrote:
> On Mon, Dec 18, 2006 at 02:12:01PM +1000, George
Michaelson wrote:
> > > Also if you can ^Z the java process before it
> > > exits, you can cd to
/emul/linux/proc/<java-pid> and ls -l exe and
> > > see what it says.
> >
> > the window is vanashingly small. I tried, I don't
seem to have a window
> > of time to halt before its dead.
>
> would sysctl proc.<pid>.stopexit help ?

How would you know the pid if it exits so quickly?

>
> Pavel
>

I managed to build release this night (4.99.7 on i386). Sun
jre still
does not work with the same readlink problem (I was hoping
that after
the recent activity in vfs_syscalls.c it wouild have been
corrected
somehow).

I even downgraded sun-jre15 to the version which works on
one of my
workstations (5.0.6nb2; the latest tried was 5.0.9nb1). Just
in
case...

Chavdar
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )