Hello,
I am implementing a customized Branch & Price scheme where LPs are solved by CPLEX's Java library as needed. Recently I have encountered several JVM crashes that occurs randomly. I am attaching some parts of a related log file with the hope that someone in this discussion forum had this problem as well and has a potential explanation to what might be going on.
Thanks!
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fed79c39bf, pid=210652, tid=235612
#
# JRE version: Java(TM) SE Runtime Environment (13.0.2+8) (build 13.0.2+8)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (13.0.2+8, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [cplex12100remotejni.dll+0x8c39bf]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
-------
Current thread (0x000000004276e000): JavaThread "edu.ptbcsproject.Main.main()" [_thread_in_native, id=235612, stack(0x0000000047710000,0x0000000047810000)]
Stack: [0x0000000047710000,0x0000000047810000], sp=0x000000004780e5d0, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [cplex12100remotejni.dll+0x8c39bf]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 5440 ilog.cplex.Cplex.CPXaddrows(JJIII[D[B[I[I[D[Ljava/lang/String;[Ljava/lang/String;)I (0 bytes) @ 0x0000000012d1df52 [0x0000000012d1de40+0x0000000000000112]
J 6617 c2 ilog.cplex.CpxRange.init(Lilog/cplex/CplexI;DDI[D[Lilog/cplex/CpxNumVar;)V (93 bytes) @ 0x0000000012ee455c [0x0000000012ee3fa0+0x00000000000005bc]
J 6618 c2 ilog.cplex.IloCplexModeler.addRange(Lilog/cplex/CplexI;DLilog/concert/IloNumExpr;DLjava/lang/String;)Lilog/concert/IloRange; (83 bytes) @ 0x0000000012ee723c [0x0000000012ee65c0+0x0000000000000c7c]
j ilog.cplex.IloCplexModeler.addRange(DLilog/concert/IloNumExpr;D)Lilog/concert/IloRange;+10
j edu.ptbcsproject.AABigProblem.branchAndPrice()V+342
j edu.ptbcsproject.AABigProblem.<init>(Ledu/ptbcsproject/AAExperiment;Ledu/ptbcsproject/ProblemParameters;Ledu/ptbcsproject/Network;Ledu/ptbcsproject/IncludedPaths;Ljava/util/Set;)V+320
j edu.ptbcsproject.AAExperiment.runExperiment()V+419
j edu.ptbcsproject.Main.main([Ljava/lang/String;)V+408
j java.lang.invoke.LambdaForm$DMH.invokeStaticInit(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@13.0.2
j java.lang.invoke.LambdaForm$MH.invoke_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+18 java.base@13.0.2
j org.codehaus.mojo.exec.ExecJavaMojo$1.run()V+85
j java.lang.Thread.run()V+11 java.base@13.0.2
v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x000000001424ac60
Register to memory mapping:
RIP=0x000007fed79c39bf cplex12100remotejni.dll
RAX=0x000000000001828f points into unknown readable memory: 00
RBX=0x0000000000013766 points into unknown readable memory: 00 00
RCX=0x0000000048ea58d0 points into unknown readable memory: d0 58 ea 48 00 00 00 00
RDX=0x0000000042a4b000 points into unknown readable memory: 00 00 00 00 00 00 00 00
RSP=0x000000004780e5d0 is pointing into the stack for thread: 0x000000004276e000
RBP=0x000000005048b020 points into unknown readable memory: 20 f0 8d 56 00 00 00 00
RSI=0x000000005048b000 points into unknown readable memory: 00 5e 01 00 01 5e 01 00
RDI=0x0000000042a4b000 points into unknown readable memory: 00 00 00 00 00 00 00 00
R8 =0x0000000000013766 points into unknown readable memory: 00 00
R9 =0x000000005048b020 points into unknown readable memory: 20 f0 8d 56 00 00 00 00
R10=0x0000000000003739 is an unknown value
R11=0x000000001424ac60 is an unknown value
R12=0x0000000000013766 points into unknown readable memory: 00 00
R13=0x0000000048ea58d0 points into unknown readable memory: d0 58 ea 48 00 00 00 00
R14=0x0 is NULL
R15=0x0 is NULL
#DecisionOptimization