Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leak exception in NettyObjectDecoder #56

Open
menacher opened this issue Oct 3, 2013 · 0 comments
Open

Leak exception in NettyObjectDecoder #56

menacher opened this issue Oct 3, 2013 · 0 comments

Comments

@menacher
Copy link
Owner

menacher commented Oct 3, 2013

Opening issue based on mail from @xeoshow

2013-9-20 15:24:01 io.netty.util.ResourceLeakDetector reportLeak

WARNING: LEAK: ByteBuf was GC'd before being released correctly. The following stack trace shows where the leaked object was created, rather than where you failed to release it.

io.netty.util.ResourceLeakException: io.netty.buffer.UnpooledUnsafeDirectByteBuf@111ded2

at io.netty.util.ResourceLeakDetector$DefaultResourceLeak.<init>(ResourceLeakDetector.java:174)

at io.netty.util.ResourceLeakDetector.open(ResourceLeakDetector.java:116)

at io.netty.buffer.UnpooledUnsafeDirectByteBuf.<init>(UnpooledUnsafeDirectByteBuf.java:72)

at io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:49)

at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:132)

at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:123)

at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:60)

at io.netty.handler.codec.LengthFieldBasedFrameDecoder.extractFrame(LengthFieldBasedFrameDecoder.java:493)

at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:432)

at io.nadron.client.handlers.netty.EventObjectDecoder.decode(EventObjectDecoder.java:43)

at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:351)

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:232)

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:131)

at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)

at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)

at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100)

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:478)

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447)

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341)

at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)

at java.lang.Thread.run(Thread.java:662)
menacher added a commit that referenced this issue Oct 3, 2013
separate handler in the pipeline instead of being integrated with
EventObjectDecoder class.
menacher added a commit that referenced this issue Oct 3, 2013
menacher added a commit that referenced this issue Dec 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant