[kaffe] Kaffe vs. Freenet round (N+2): nio

Greg Wooledge greg at wooledge.org
Mon Jun 16 17:29:01 PDT 2003


20:12  greycat> is nio going to be mandatory in 0.5.2?  this is going
                to screw kaffe users....
20:13  toad_> greycat: yes. kaffe users can fix the bugs.


$ ln -sf freenet-nio-20030616.jar freenet.jar
$ java freenet.node.Main
java.lang.UnsatisfiedLinkError: Failed to locate native function:       gnu/java/nio/SocketChannelImpl.SocketCreate()I
        at gnu.java.nio.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:70)
        at gnu.java.nio.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:75)
        at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:90)
        at freenet.transport.TCP$privServerSocketFactory.createServerSocket(TCP.java:129)
        at freenet.transport.tcpNIOListener.startListener(tcpNIOListener.java:62)
        at freenet.transport.tcpNIOListener.<init>(tcpNIOListener.java:50)
        at freenet.transport.tcpNIOListener.<init>(tcpNIOListener.java:36)
        at freenet.interfaces.PublicNIOInterface.<init>(PublicNIOInterface.java:46)
        at freenet.node.Main.startNode(Main.java:1292)
        at freenet.node.Main.main(Main.java:868)
Dumping live threads:
`QThread-6' tid 0xc51010, status SUSPENDED flags 
 blocked at 0x10f2cd8 (0xc51010->|) 
`QThread-5' tid 0xc46010, status SUSPENDED flags 
 blocked at 0x10f2d08 (0xc46010->|) 
`QThread-4' tid 0xc17010, status SUSPENDED flags 
 blocked at 0x10f2d38 (0xc17010->|) 
`QThread-3' tid 0xc01010, status SUSPENDED flags 
 blocked at 0x10f2d68 (0xc01010->|) 
`QThread-2' tid 0xbee010, status SUSPENDED flags 
 blocked at 0x10f2d98 (0xbee010->|) 
`QThread-1' tid 0xbdd010, status SUSPENDED flags 
 blocked at 0x10f2e10 (0xbdd010->|) 
`Thread creation thread.' tid 0xbbd010, status SUSPENDED flags 
 blocked at 0x1126498 (0xbbd010->|) 
`Background inserter' tid 0xb5b010, status SUSPENDED flags 
 blocked at 0x11ac660 (0xb5b010->|) 
`Diffie-Helman-Precalc' tid 0x73f010, status SUSPENDED flags 
 blocked at 0x73a330 (0x73f010->|) 
`Log File Writer Thread' tid 0x679010, status SUSPENDED flags 
 blocked at 0x561e70 (0x679010->|) 
`gc' tid 0x1d0010, status SUSPENDED flags DONTSTOP 
 blocked at 0x1c2660 (0x1d0010->|) 
`finaliser' tid 0x1c7010, status SUSPENDED flags DONTSTOP 
 blocked at 0x17afc0 (0x1c7010->|) 
Deadlock: all threads blocked on internal events
Abort (core dumped) 


(gdb) bt
#0  0x40215fcf in _thread_sys_kill ()
#1  0x402158bb in abort ()
#2  0x40057434 in onDeadlock () at thread.c:603
#3  0x4007e2d8 in reschedule () at jthread.c:1679
#4  0x4007ceda in killThread (tid=0xd9050) at jthread.c:364
#5  0x4007e0c6 in jthread_exit () at jthread.c:1580
#6  0x400571c0 in exitThread () at thread.c:439
#7  0x4004a893 in Kaffe_DestroyJavaVM (vm=0x400b3c74) at jni.c:3530
#8  0x1b64 in main2 (env=0x0, argv=0xcfbfda40, farg=2, argc=0) at main.c:238
#9  0x199d in main (argc=2, argv=0xcfbfda40) at main.c:145


Engine: Just-in-time v3   Version: 1.1.x-cvs   Java Version: 1.1
Configuration/Compilation options:
  Compile date  : Fri Jun 13 18:41:35 EDT 2003
  Compile host  : pegasus
  Install prefix: /usr/local/kaffe
  Thread system : unix-jthreads
  CC            : gcc
  CFLAGS        : -g -O2 -Wall -Wstrict-prototypes
  LDFLAGS       : 
  ChangeLog head: 2003-05-11 Dalibor Topic <robilad at yahoo.com>

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20030616/7bbea8cc/attachment-0002.bin


More information about the kaffe mailing list