Summary: | Tomcat randomly crashes with [libtcnative-1.so+0x12e39] Java_org_apache_tomcat_jni_Socket_sendbb+0x59 | ||
---|---|---|---|
Product: | Tomcat Native | Reporter: | Nitinb <nitinvbhavsar> |
Component: | Library | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | nitinvbhavsar, st.mailinglists |
Priority: | P2 | ||
Version: | 1.1.24 | ||
Target Milestone: | --- | ||
Hardware: | HP | ||
OS: | Linux | ||
Attachments: |
Crash report attached
Another crash with same error |
Description
Nitinb
2013-09-24 06:06:46 UTC
Both Tomcat and tcnative are out of date. Can you re-try your testing with current versions (current are Tomcat 7.0.42, tcnative 1.1.27). Also, APR 1.3.9 is fairly old. What type of Linux system is this? Also, please run 'ulimit -c unlimited' in the shell before launching Tomcat so you can get a core file -- hopefully with a more complete backtrace. Also, why do you believe this is not the issue covered by bug #51813 ? The ulimit is currently set to 10000 for this tomcat process. The file handler count has hardly gone beyond 3000. I will test with 'ulimit -c unlimited' to capture core dump in case this occurs again. The difference between this issue and bug #51813 is the data between server and client is purely text based wheres the bug you mentioned talks about some issue related to image IO. In my case, there is no image IO. Regarding using latest version and reproducing: There is no known test case to reproduce the issue. It happened only twice in around 100 load test runs. Sorry but I won't be able to test using the versions mentioned by you. What could be side effects of running tomcat with 'ulimit -c unlimited' during the test? Created attachment 31011 [details]
Another crash with same error
There was another crash and I have attached the crash report file hs_err_pid12092.log. There is no change to any of the versions/component/system/environment etc.
(In reply to Nitinb from comment #4) > What could be side effects of running tomcat with 'ulimit -c unlimited' > during the test? You might get a very large core file (roughly the size of your JVM process). (In reply to Nitinb from comment #5) > Created attachment 31011 [details] > Another crash with same error > > There was another crash and I have attached the crash report file > hs_err_pid12092.log. There is no change to any of the > versions/component/system/environment etc. Exactly what version of tcnative were you running at the time? I've already mentioned that both your Tomcat and tcnative are out of date, and I believe this issue to have been resolved as bug #51813. The reason why that other bug is related to this one is because the output stream is stale and the sendbb function doesn't check for that case. There have been many patches to both Tomcat and tcnative that should handle the issue you describe here. Please upgrade to new versions of both components and re-test. Without further information, this bug will be marked as WORKSFORME soon. After upgrading tomcat to 7.47 and APR to apr-1.4.6 and so far didn't encounter the issue. Kindly mark it as resolved. I will reopen in case the same issue is encountered. Thanks. |