Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-10-15 Thread Alexandr Miloslavskiy
Now available on branch 'javahl-1.14-fixes', r1882523 + r1882525

Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-09-15 Thread Alexander Miloslavskiy
   --with-junit=/home/user/Downloads/junit Correction: this argument should point to .jar file, like: --with-junit=/home/user/Downloads/junit/junit-4.12.jar

Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-09-15 Thread Alexandr Miloslavskiy
On 10.09.2020 22:27, Nathan Hartman wrote: I'll try to get my system setup to run the JavaHL tests, which has been on my to-do list for some time anyway. If I can get that to work and verify the changes don't introduce regressions, then we'll go from there. If I'm not missing something, macOS/

Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-09-10 Thread Nathan Hartman
On Wed, Sep 9, 2020 at 7:39 AM Thomas Singer wrote: > Has this patch been merged yet? If not, what input is needed to get it > accepted? Hi Tom, This and the other JavaHL patch are waiting for someone to review/test them. I was hoping one of our devs would come forward to do that but I know t

Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-09-09 Thread Thomas Singer
Has this patch been merged yet? If not, what input is needed to get it accepted? Tom On 2020-08-10 21:30, Alexandr Miloslavskiy wrote: Please find test snippet and patch attached. [[[ Fix JavaHL crash in RequestChannel.nativeRead The problem here is that when 'RemoteSession' is destroyed, i

Re: [PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-08-16 Thread Nathan Hartman
On Mon, Aug 10, 2020 at 3:44 PM Alexandr Miloslavskiy wrote: > > Please find test snippet and patch attached. > > [[[ > Fix JavaHL crash in RequestChannel.nativeRead > > The problem here is that when 'RemoteSession' is destroyed, it also > does 'apr_pool_destroy()' which frees memory behind 'apr_f

[PATCH] Fix JavaHL crash in RequestChannel.nativeRead

2020-08-10 Thread Alexandr Miloslavskiy
Please find test snippet and patch attached. [[[ Fix JavaHL crash in RequestChannel.nativeRead The problem here is that when 'RemoteSession' is destroyed, it also does 'apr_pool_destroy()' which frees memory behind 'apr_file_t', which is represented by 'TunnelChannel.nativeChannel' in Java. 'Tun