Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-28 Thread Suvendu Sekhar Mondal
On Tue, Dec 5, 2017 at 4:19 PM, Mark Thomas  wrote:
> On 05/12/17 06:47, Suvendu Sekhar Mondal wrote:
>> On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas  wrote:
>>> On 04/12/17 11:12, Suvendu Sekhar Mondal wrote:
 Hello Everyone,

 I am investigating a Tomcat crash. Actually, JRE crashed due to
 "access violation" error. It created a Windows memory dump file. I am
 trying to analyze it win WinDbg. Problem I am facing is that lots of
 Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
 available to me. As a result WinDbg is giving me a Stack filled up
 with DLL names and HEX values.

 In order to get some of them - mostly JRE related, I have already
 reached out to Java forum:
 https://community.oracle.com/thread/4102753. No response so far :(.

 Can someone please tell me how can I get Symbol files of Tomcat DLLs
 like tomcat7 and tcnative-1? Are they publicly available?
>>>
>>> Exactly which versions do you need?
>>
>> Sorry, Mark. I should have provide that information upfront. I am using:
>>
>> Tomcat 7.0.55
>> JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 
>> 1.8.0_92-b14)
>> OS version: Windows Server 2012 R2
>>
>>> I produced the binaries for the most recent of those and I probably
>>> still have the necessary files sat on a VM if they are recent(ish).
>>>
>>> Mark
>>
>> Yeah, I know it's not that recent. Still, if you have it please let me know.
>
> Those versions don't help. I need to know the exact version of
> tomcat7.exe and the tcnative-1.dll.
>
> Mark
>
>
>
>>
>> We tried to create PDB files for Java specific DLLs from OpenJDK, but
>> as you can see below, WinDbg rejected it.
>>
>> * Symbol Loading Error Summary **
>> Module nameError
>> tomcat7No header information available :
>> srv*c:\mss*http://msdl.microsoft.com/download/symbols
>> jvmSignature does not match :
>> srv*c:\mss*http://msdl.microsoft.com/download/symbols
>> tcnative-1 No header information available :
>> srv*c:\mss*http://msdl.microsoft.com/download/symbols
>>
>>
>> Thanks!
>> Suvendu
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

Resurrecting this thread to provide some update.

First of all, sorry for this superb delayed response. I was out for vacation.

Good news is that we have found what is causing all those JVM crashes.
Client has created a huge Java class which contains 32000+ methods
(yes, we gave them a weapon and they have used it to hurt themselves
:( ). Our APM tool was trying to retrieve the stack frame for a method
which has something to do with those large number of methods in that
class. That is the point JVM crashed. We can recreate the issue with
OpenJDK, Java 8 and Java 9. It was found we can get around of it by
increasing stack size(-Xss) but that is not an optimal solution. We
have asked client to reduce the number of methods and also reported
this bug to Oracle. Let's see how it works.

And Happy New Year to all of you!!! :)

Thanks!
Suvendu

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-05 Thread Mark Thomas
On 05/12/17 06:47, Suvendu Sekhar Mondal wrote:
> On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas  wrote:
>> On 04/12/17 11:12, Suvendu Sekhar Mondal wrote:
>>> Hello Everyone,
>>>
>>> I am investigating a Tomcat crash. Actually, JRE crashed due to
>>> "access violation" error. It created a Windows memory dump file. I am
>>> trying to analyze it win WinDbg. Problem I am facing is that lots of
>>> Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
>>> available to me. As a result WinDbg is giving me a Stack filled up
>>> with DLL names and HEX values.
>>>
>>> In order to get some of them - mostly JRE related, I have already
>>> reached out to Java forum:
>>> https://community.oracle.com/thread/4102753. No response so far :(.
>>>
>>> Can someone please tell me how can I get Symbol files of Tomcat DLLs
>>> like tomcat7 and tcnative-1? Are they publicly available?
>>
>> Exactly which versions do you need?
> 
> Sorry, Mark. I should have provide that information upfront. I am using:
> 
> Tomcat 7.0.55
> JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
> OS version: Windows Server 2012 R2
> 
>> I produced the binaries for the most recent of those and I probably
>> still have the necessary files sat on a VM if they are recent(ish).
>>
>> Mark
> 
> Yeah, I know it's not that recent. Still, if you have it please let me know.

Those versions don't help. I need to know the exact version of
tomcat7.exe and the tcnative-1.dll.

Mark



> 
> We tried to create PDB files for Java specific DLLs from OpenJDK, but
> as you can see below, WinDbg rejected it.
> 
> * Symbol Loading Error Summary **
> Module nameError
> tomcat7No header information available :
> srv*c:\mss*http://msdl.microsoft.com/download/symbols
> jvmSignature does not match :
> srv*c:\mss*http://msdl.microsoft.com/download/symbols
> tcnative-1 No header information available :
> srv*c:\mss*http://msdl.microsoft.com/download/symbols
> 
> 
> Thanks!
> Suvendu
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-05 Thread Konstantin Kolinko
2017-12-05 9:47 GMT+03:00 Suvendu Sekhar Mondal :
> On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas  wrote:
>> On 04/12/17 11:12, Suvendu Sekhar Mondal wrote:
>>> Hello Everyone,
>>>
>>> I am investigating a Tomcat crash. Actually, JRE crashed due to
>>> "access violation" error. It created a Windows memory dump file. I am
>>> trying to analyze it win WinDbg. Problem I am facing is that lots of
>>> Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
>>> available to me. As a result WinDbg is giving me a Stack filled up
>>> with DLL names and HEX values.
>>>
>>> In order to get some of them - mostly JRE related, I have already
>>> reached out to Java forum:
>>> https://community.oracle.com/thread/4102753. No response so far :(.
>>>
>>> Can someone please tell me how can I get Symbol files of Tomcat DLLs
>>> like tomcat7 and tcnative-1? Are they publicly available?
>>
>> Exactly which versions do you need?
>
> Sorry, Mark. I should have provide that information upfront. I am using:
>
> Tomcat 7.0.55
> JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
> OS version: Windows Server 2012 R2
>

Is it worth debugging a version that is more than 3 years old? A lot
have been fixed since then.


tcnative-1.dll is Tomcat Native library
It can be downloaded here:
https://tomcat.apache.org/download-native.cgi

The tomcat-native-1.2.16-win32-bin.zip file has *.pdb files in it.

Tomcat 7.0.55 was shipped with Tomcat Native 1.1.31. Those binaries
can be downloaded from an archive website. I do not know whether they
contain debug symbols or not.


tomcat7.exe, tomcat7w.exe are renamed Prunsrv.exe and Prunmgr.exe from
http://commons.apache.org/proper/commons-daemon/procrun.html

http://commons.apache.org/proper/commons-daemon/download_daemon.cgi
-> Browse native binaries download area... -> windows/
There are no debug symbol files in the current version
(commons-daemon-1.1.0-bin-windows.zip).

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Suvendu Sekhar Mondal
On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas  wrote:
> On 04/12/17 11:12, Suvendu Sekhar Mondal wrote:
>> Hello Everyone,
>>
>> I am investigating a Tomcat crash. Actually, JRE crashed due to
>> "access violation" error. It created a Windows memory dump file. I am
>> trying to analyze it win WinDbg. Problem I am facing is that lots of
>> Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
>> available to me. As a result WinDbg is giving me a Stack filled up
>> with DLL names and HEX values.
>>
>> In order to get some of them - mostly JRE related, I have already
>> reached out to Java forum:
>> https://community.oracle.com/thread/4102753. No response so far :(.
>>
>> Can someone please tell me how can I get Symbol files of Tomcat DLLs
>> like tomcat7 and tcnative-1? Are they publicly available?
>
> Exactly which versions do you need?

Sorry, Mark. I should have provide that information upfront. I am using:

Tomcat 7.0.55
JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
OS version: Windows Server 2012 R2

> I produced the binaries for the most recent of those and I probably
> still have the necessary files sat on a VM if they are recent(ish).
>
> Mark

Yeah, I know it's not that recent. Still, if you have it please let me know.

We tried to create PDB files for Java specific DLLs from OpenJDK, but
as you can see below, WinDbg rejected it.

* Symbol Loading Error Summary **
Module nameError
tomcat7No header information available :
srv*c:\mss*http://msdl.microsoft.com/download/symbols
jvmSignature does not match :
srv*c:\mss*http://msdl.microsoft.com/download/symbols
tcnative-1 No header information available :
srv*c:\mss*http://msdl.microsoft.com/download/symbols


Thanks!
Suvendu

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Mark Thomas
On 04/12/17 11:12, Suvendu Sekhar Mondal wrote:
> Hello Everyone,
> 
> I am investigating a Tomcat crash. Actually, JRE crashed due to
> "access violation" error. It created a Windows memory dump file. I am
> trying to analyze it win WinDbg. Problem I am facing is that lots of
> Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
> available to me. As a result WinDbg is giving me a Stack filled up
> with DLL names and HEX values.
> 
> In order to get some of them - mostly JRE related, I have already
> reached out to Java forum:
> https://community.oracle.com/thread/4102753. No response so far :(.
> 
> Can someone please tell me how can I get Symbol files of Tomcat DLLs
> like tomcat7 and tcnative-1? Are they publicly available?

Exactly which versions do you need?

I produced the binaries for the most recent of those and I probably
still have the necessary files sat on a VM if they are recent(ish).

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Suvendu,

On 12/4/17 6:12 AM, Suvendu Sekhar Mondal wrote:
> Hello Everyone,
> 
> I am investigating a Tomcat crash. Actually, JRE crashed due to 
> "access violation" error. It created a Windows memory dump file. I
> am trying to analyze it win WinDbg. Problem I am facing is that
> lots of Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are
> not available to me. As a result WinDbg is giving me a Stack filled
> up with DLL names and HEX values.
> 
> In order to get some of them - mostly JRE related, I have already 
> reached out to Java forum: 
> https://community.oracle.com/thread/4102753. No response so far
> :(.
> 
> Can someone please tell me how can I get Symbol files of Tomcat
> DLLs like tomcat7 and tcnative-1? Are they publicly available?

I thought tcnative was built without stripping symbols. Is it not? Hmm.

If you have a debugger, are you able to build tcnative from source?
That may be the best bet for you on short notice, since you can build
the DLL including whatever you will need for your local bugging.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlolkckACgkQHPApP6U8
pFhtYQ//VyMoJUIgksw7zluQqrofqL8YzpZ5N3k490OHk2A/MjV16maFBkq2Zgyc
MV4LWzPgU3AhtMsA/QXCaKPF5dynWorCQHr++6YB8uyx5EWo9loU1PEStUnyZYAz
F9qodU/ecUAx/yjt2B7kSaYquUP6j+dSJCinvMBOBBRHLIPHhlXyGhVw9EAUrMRA
iaHyn+1ioIF9LrliURSdL36vNUBHs2fORZhJvvB/I7dlXADrCEeSvU0YE9aRwjyT
FEVy7MCih83K5/+GwBLLglwrr85vZulDFJkJRH82hb0m0azG1d4iF2hmIk/bExu0
ksEzS5x9ptyFib6EZAIt/GIRWUKekp7QRZ/CHi5qjvBJo/cWqIZiSJPTYRtisDRm
gHXWbRB2JF6P/rNPDqvJJGlJ/9zor0ieCRptoX7gFW4EIcOEcPsTxPfpJg4YHj87
hT3jSgZP+QoDZhXwtwcCaNP5U7Ohsg0xceHNQUXSrtIDwEyWiWCyDCDoOZi+T7Ba
AJxLb8wDp1agVxM8Kkalrx1zb/061QK02lZP3U9MNLGLVkPVt4N/7lVB3Y5ajH45
xdPJCmWVMHEC8L/CfBEIMHH4mw6uM50L1S5yIDs/P5G4qQ/jV89/40xxopSfbCSx
6hQBBPRGjiETgM2ETOicgSPXW/kQtF8sgDnYmdfkYiuHn0jEiVM=
=gm19
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Suvendu Sekhar Mondal
Hello Everyone,

I am investigating a Tomcat crash. Actually, JRE crashed due to
"access violation" error. It created a Windows memory dump file. I am
trying to analyze it win WinDbg. Problem I am facing is that lots of
Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not
available to me. As a result WinDbg is giving me a Stack filled up
with DLL names and HEX values.

In order to get some of them - mostly JRE related, I have already
reached out to Java forum:
https://community.oracle.com/thread/4102753. No response so far :(.

Can someone please tell me how can I get Symbol files of Tomcat DLLs
like tomcat7 and tcnative-1? Are they publicly available?

Thanks!
Suvendu

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org