NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38865: eclipse+jdk16 cannot start on i386 and COMPAT_LINUX



On Jun 13,  4:57pm, njoly%pasteur.fr@localhost (Nicolas Joly) wrote:
-- Subject: Re: kern/38865: eclipse+jdk16 cannot start on i386 and COMPAT_LIN

| On Thu, Jun 05, 2008 at 11:30:01AM +0000, Jared D. McNeill wrote:
| > >Number:         38865
| > >Category:       kern
| > >Synopsis:       stat64 fails with eclipse+jdk16 and COMPAT_LINUX
| > >Confidential:   no
| > >Severity:       serious
| > >Priority:       medium
| > >Responsible:    kern-bug-people
| > >State:          open
| > >Class:          sw-bug
| > >Submitter-Id:   net
| > >Arrival-Date:   Thu Jun 05 11:30:00 +0000 2008
| > >Originator:     Jared D. McNeill
| > >Release:        NetBSD 4.99.64
| > >Organization:
| >     
| > >Environment:
| >     
| >     
| > System: NetBSD eee.invisible.ca 4.99.64 NetBSD 4.99.64 (GENERIC) #42: Wed 
Jun 4 21:37:13 EDT 2008 
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/scratch/obj/sys/arch/i386/compile/GENERIC
 i386
| > Architecture: i386
| > Machine: i386
| > >Description:
| >     Attempting to launch eclipse results in a message claiming that
| >     it cannot open the workspace directory (which is nonexistent) as it
| >     is already in use. ktrace shows:
| > 
| >    350      1 java     NAMI  "/emul/linux/export/home/jmcneill/workspace"
| >    350      1 java     NAMI  "/export/home/jmcneill/workspace"
| >    350      1 java     RET   stat64 -1 unknown errno 2
| >     ...
| >    350      1 java     NAMI  "/emul/linux/export/home/jmcneill/workspace"
| >    350      1 java     NAMI  "/export/home/jmcneill/workspace"
| >    350      1 java     RET   lstat64 -1 unknown errno 2
| >     ...
| >    350      1 java     NAMI  "/emul/linux/home/jmcneill/workspace"
| >    350      1 java     NAMI  "/home/jmcneill/workspace"
| >    350      1 java     RET   mkdir -1 unknown errno 2
| >     ...
| >    350      1 java     NAMI  "/emul/linux/home/jmcneill/workspace/.metadata"
| >    350      1 java     NAMI  "/home/jmcneill/workspace/.metadata"
| >    350      1 java     RET   stat64 -1 unknown errno 2
| 
| I just tested it on a -current i386 machine i have, and didn't noticed
| anything like that ... Only a small warning from the java binary.
| 
| njoly@hal [~/eclipse]> ./eclipse 
| Java HotSpot(TM) Client VM warning: Can't detect initial thread stack 
location - find_vma failed
| 
| Can you make the full trace available somewhere ?

That warning should go away if procfs is mounted with -o linux. And it is going
to make other things fail [like NULL pointer detection in hotspot if it does
not work].

christos


Home | Main Index | Thread Index | Old Index