On 22/08/18 14:47, Mark Thomas wrote: > On 22/08/18 13:41, Christopher Schultz wrote: >> All, >> >> Can someone take a quick look at my analysis of the tcnative crash >> described here: >> https://bz.apache.org/bugzilla/show_bug.cgi?id=62626 >> >> Without a debugger in Windows, I don't think I'll be able to find the >> line of code where the problem is. There is an offset into the DLL where >> the error is happening and I'm assuming that if you have Visual Studio, >> you can open the binary DLL and the source and see the mapping between >> the two and find where this failure is happening much more easily than I >> can via code inspection. > > Any Apache committer can request a free MSDN license which includes > Azure credits and licenses for just about any MS software including > Visual Studio. I have one that I use for building Tomcat Native for > Windows and for ISAPI testing (I have a VM for each of the current > supported Windows OSes each with IIS installed). > > I don't tend to use Visual Studio but I think I have a copy installed on > a VM somewhere. Let me have a look. I'm not that familiar with using > Visual Studio but I'll see if I can figure out which line number we need > to be looking at.
Ah. Jean-Frederic built 1.2.17 and he'll have the pdb files we'll need to do this. You'll also need ildasm.exe If you have set up the Native build environment as per the wiki you should already have this tool in: C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin >> Unless there is some native stack-info missing, the fault is actually in >> sendbb() It is sendb()... >> which .... doesn't have much in the way of data-writes in it at >> all (and it looks like the segfault occurs while trying to *write* to an >> out-of-bounds address rather than reading one). Looks like it is crashing during the HTTP/2 close. I wonder if the underlying socket has been closed but Tomcat is still trying to write. It should be possible to force that with a debugger. If that is the root cause, it should crash just as easily on Linux as Windows. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org