Opened 8 years ago

Closed 6 years ago

#565 closed defect (fixed)

NTCP exception (buf is null)

Reported by: DISABLED Owned by: zzz
Priority: minor Milestone: 0.9.11
Component: router/transport Version: 0.8.11
Keywords: NTCP Cc:
Parent Tickets: Sensitive: no

Description

I2P version: 0.8.11-0
Java version: Oracle Corporation 1.7.0_147-icedtea (OpenJDK Runtime Environment 1.7.0_147-icedtea-b147)
Wrapper version: 3.1.1
Platform: Linux amd64 3.0.0-13-generic
Processor: Phenom II / Opteron Gen 3 (Shanghai/Deneb/Heka/Callisto?, 45 nm) (athlon64)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8
11.12.11 14:08:54 KRITISCH [P writer 2/4] p.router.transport.ntcp.Writer: Error in the ntcp writer

java.lang.RuntimeException?: buf is null for containing *no message* expiring on Sun Dec 11 13:09:04 GMT 2011 failed delivery on transports [SSU, NTCP? targetting EMfPH0sxalXGBj8trwWeQIQjV4GpErTpULzQdXdmaCw=]
at net.i2p.router.transport.ntcp.NTCPConnection.prepareNextWriteFast(NTCPConnection.java:634)
at net.i2p.router.transport.ntcp.NTCPConnection.prepareNextWrite(NTCPConnection.java:464)
at net.i2p.router.transport.ntcp.Writer$Runner.run(Writer.java:115)
at java.lang.Thread.run(Thread.java:722)
at net.i2p.util.I2PThread.run(I2PThread.java:85)

Subtickets

Change History (5)

comment:1 Changed 8 years ago by zzz

Component: unspecifiedrouter/transport
Milestone: 0.8.120.8.14
Owner: set to zzz
Status: newaccepted
Summary: exceptionNTCP exception (buf is null)

sounds like a rare race

comment:2 Changed 8 years ago by zzz

Milestone: 0.8.140.9.3

comment:3 Changed 7 years ago by str4d

Keywords: NTCP added
Milestone: 0.9.3

comment:4 Changed 6 years ago by str4d

Related: #392 (only failing on NTCP)

comment:5 Changed 6 years ago by zzz

Milestone: 0.9.11
Resolution: fixed
Status: acceptedclosed

Fixed by zab in 0.9.10-1 f335fa4635fb17949746d6d1e27964cf91328c3d as a part of a refactoring of the buffer handling

Note: See TracTickets for help on using tickets.