Re: Help with bad errors on 4.6.1

2018-03-16 Thread Enrico Olivelli
resending (GMAIL webmail messed up prev email) 2018-03-16 10:34 GMT+01:00 Sijie Guo : > On Fri, Mar 16, 2018 at 2:26 AM, Enrico Olivelli > wrote: > > > Thank you Sijie, > > I have already applied a similar patch to my local code based on 4.6.1 > but > > the problem remains. > > > > What do you

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Enrico Olivelli
2018-03-16 10:34 GMT+01:00 Sijie Guo : > On Fri, Mar 16, 2018 at 2:26 AM, Enrico Olivelli > wrote: > > > Thank you Sijie, > > I have already applied a similar patch to my local code based on 4.6.1 > but > > the problem remains. > > > > What do you mean "the problem" here? > missing buf.release()

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Sijie Guo
On Fri, Mar 16, 2018 at 2:26 AM, Enrico Olivelli wrote: > Thank you Sijie, > I have already applied a similar patch to my local code based on 4.6.1 but > the problem remains. > What do you mean "the problem" here? Do you mean the corruption problem or the leaking problem? The change I pointed o

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Enrico Olivelli
Thank you Sijie, I have already applied a similar patch to my local code based on 4.6.1 but the problem remains. I am looking into Netty allocateUnitializedArray, which is used for Pooled Heap Buffers. You all are more aware of BK code than me, is there any point in which we assume that the buffer

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Ivan Kelly
> With "paranoid" log in Netty I found this that is very interesting, but it > happens even on Java 8. I don't think leaks are the problem here though. This seems to be more like a doublefree issue. -Ivan

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Sijie Guo
On Fri, Mar 16, 2018 at 1:24 AM, Enrico Olivelli wrote: > 2018-03-15 12:02 GMT+01:00 Enrico Olivelli : > > > > > > > 2018-03-15 11:13 GMT+01:00 Ivan Kelly : > > > >> > What is the difference in Channel#write/ByteBuf pooling.in Java 9 > ? > >> Sounds like it could be an issue in netty itself.

Re: Help with bad errors on 4.6.1

2018-03-16 Thread Enrico Olivelli
2018-03-15 12:02 GMT+01:00 Enrico Olivelli : > > > 2018-03-15 11:13 GMT+01:00 Ivan Kelly : > >> > What is the difference in Channel#write/ByteBuf pooling.in Java 9 ? >> Sounds like it could be an issue in netty itself. Java 9 removed a >> bunch of stuff around Unsafe, which I'm pretty sure net