philo-he commented on issue #13729: URL: https://github.com/apache/gluten/issues/13729#issuecomment-7115497076
@zhouyuan, I've updated the issue description. The crash reproduces on JDK 17 with every build I tried: upstream OpenJDK, Red Hat OpenJDK, Corretto and Temurin. JDK 8 didn't crash in my tests, but it has the same leak. The key condition is that something walks the JVM thread list after these threads have exited, for example a thread dump requested by a profiler or a log collector. On JDK 11+, the JVM reads each thread's CPU clock while dumping, calling `pthread_getcpuclockid` on the dead pthreads of the threads that were never detached, and that crashes the executor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
