[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://bz.apache.org/bugzilla/show_bug.cgi?id=56313 Mark Thomaschanged: What|Removed |Added CC||kevin.g.flynn@thomsonreuter ||s.com --- Comment #18 from Mark Thomas --- *** Bug 57140 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://bz.apache.org/bugzilla/show_bug.cgi?id=56313 Mark Thomaschanged: What|Removed |Added CC||martin.ha...@ysoft.com --- Comment #17 from Mark Thomas --- *** Bug 56415 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://bz.apache.org/bugzilla/show_bug.cgi?id=56313 Mark Thomaschanged: What|Removed |Added CC||kmash...@yahoo.com --- Comment #16 from Mark Thomas --- *** Bug 55797 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://bz.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #14 from Pavel pavel.re...@gmail.com --- Same issue here, tried using the latest tomcat 7/8 but getting the same error and tomcat crashes. Any updates on this? (currently the only solution is to switch to NIO) -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://bz.apache.org/bugzilla/show_bug.cgi?id=56313 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #15 from Mark Thomas ma...@apache.org --- *** This bug has been marked as a duplicate of bug 57653 *** -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #9 from Christopher Schultz ch...@christopherschultz.net --- Could you provide a JMeter test case? I'm sure that would be helpful. I'm not win32 dev, but I'm sure something that can reproduce the issue would be helpful to whoever looks at this. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 Timcesq ti_m...@poczta.fm changed: What|Removed |Added OS|All |Windows 8 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #10 from Timcesq ti_m...@poczta.fm --- Created attachment 31441 -- https://issues.apache.org/bugzilla/attachment.cgi?id=31441action=edit JMeter test plan -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 Timcesq ti_m...@poczta.fm changed: What|Removed |Added OS||All --- Comment #11 from Timcesq ti_m...@poczta.fm --- I used a debugger to locate the crash address in the source code. It looks like the crash occurs inside the function Java_org_apache_tomcat_jni_Poll_poll, specifically inside the following block: for (i = 0; i num; i++) { tcn_socket_t *s = (tcn_socket_t *)fd-client_data; p-set[i*2+0] = (jlong)(fd-rtnevents); p-set[i*2+1] = P2J(s); if (remove) { apr_pollset_remove(p-pollset, fd); APR_RING_REMOVE(s-pe, link); APR_RING_INSERT_TAIL(p-dead_ring, s-pe, tcn_pfde_t, link); s-pe = NULL; p-nelts--; #ifdef TCN_DO_STATISTICS p-sp_removed++; #endif } else { /* Update last active with the current time * after the poll call. */ s-last_active = now; } fd ++; } The crash address suggests that a read of the s-pe variable inside the if(remove) block fails (the variable is null). -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #12 from Timcesq ti_m...@poczta.fm --- What I meant is that the s-pe is NULL, so a read from that address crashes the application. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #13 from Timcesq ti_m...@poczta.fm --- A quick workaround would be to check for NULL before doing the read. However, if the library is designed so that there shouldn't be any NULLs at this point in the code, such patch would only mask the underlying bug (a race condition maybe?). -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 ti_m...@poczta.fm changed: What|Removed |Added OS||Windows 8 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #1 from ti_m...@poczta.fm --- Created attachment 31436 -- https://issues.apache.org/bugzilla/attachment.cgi?id=31436action=edit another log - same issue -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 ti_m...@poczta.fm changed: What|Removed |Added OS||All --- Comment #2 from ti_m...@poczta.fm --- APR version is 1.5. OpenSSL 1.0.1f. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #3 from ti_m...@poczta.fm --- Created attachment 31437 -- https://issues.apache.org/bugzilla/attachment.cgi?id=31437action=edit third one - same issue. Just to show that this is a recurring thing. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #4 from Konstantin Kolinko knst.koli...@gmail.com --- Tomcat 8 crashed What exactly version of Tomcat 8.0.x ? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #5 from ti_m...@poczta.fm --- 8.0.3 - currently the latest one, AFAIK. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #6 from Christopher Schultz ch...@christopherschultz.net --- Does high-load appear to be a required factor? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #7 from Timcesq ti_m...@poczta.fm --- Apaprently - yes. I wasn't able to reproduce it with low number of concurrent users. But it's hard to say if it would never crash or it's just that it would crash -- only much later. I used JMeter to simulate high load. The whole server works flawlessly (including very low request-response latency) until the very end when it crashes. Nothing exceptional happens in the system: no unusual disk activity, no other CPU- or RAM-hungry processes. It just crashes suddenly for no obvious reason. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56313] Tomcat 8 crashes in tcnative-1.dll+0x7923
https://issues.apache.org/bugzilla/show_bug.cgi?id=56313 --- Comment #8 from Timcesq ti_m...@poczta.fm --- With 4000 users, it crashes in less than a minute (Used JMeter to test). -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org