简体   繁体   中英

java “terminate called without an active exception ”

I'm trying to multithread with ScheduledThreadPoolExecutor but for somereason i keep on getting this error. Any idea what causes it and how to go about fixing it?

Thanks!

Memory: 732/732 2092/2092
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f43d2022e2b, pid=27273, tid=139927636702976
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )
# Problematic frame:
# C  [libpthread.so.0+0xee2b]  raise+0x2b
#

If you are not using native code this error theoretically cannot happen. If it happens the problem is in JRE itself. So, uninstall JRE, then install the latest version and try again.

If it error still happens try to simplify your code, but anyway JRE is not expected to crash. So, if it happens after re-installation try the same on other machine. Probably such experiment may help you to locate where the problem is.

In any case you are welcome to report the issue to Oracle. They will happy to fix the bug. :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM