JDK 1.4.2 hanging on futex

"Veda N Ponnusamy" <[email protected]>
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
I'm having problem with SUN jdk 1.4.2. My application deadlocks when its trying to find the file size. When I do a strace -p pid, this is the output I get

futex(0x9e21ff88, FUTEX_WAIT, 0, NULL)


The thread dump shows the following: 


"RMI TCP Connection(1206)-10.0.102.3" daemon prio=1
tid=0xaa1125f0 nid=0x4690 waiting for monitor entry
[a15a1000..a15a2854]
        at
java.io.ExpiringCache.get(ExpiringCache.java:50)
        - waiting to lock <0x4ad90d78> (a
java.io.ExpiringCache)
        at
java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:137)
        at
java.io.File.getCanonicalPath(File.java:513)
        at
java.io.FilePermission$1.run(FilePermission.java:218)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
java.io.FilePermission.init(FilePermission.java:212)
        at
java.io.FilePermission.<init>(FilePermission.java:264)
        at
java.lang.SecurityManager.checkRead(SecurityManager.java:863)
        at java.io.File.length(File.java:791)
        at
com.zantaz.base.archiver.FileProxy.getSizeFromDisk(FileProxy.java:496)

This app used to work without any problem in jdk1.3. Does anyone have any clue ??


Reg
Veda


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.