chisel2-deprecated
chisel2-deprecated copied to clipboard
Chisel.TestApplicationException: test application exit - exit code 139
I'm also being stopped by exit code 139 problems -- translates to an illegal memory access by the C++ simulation.
My Chisel trace is as follows:
Chisel.TestApplicationException: test application exit - exit code 139
at Chisel.Tester.Chisel$Tester$$mwhile(Tester.scala:131)
at Chisel.Tester$$anonfun$start$3.apply$mcVI$sp(Tester.scala:747)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:166)
at Chisel.Tester.start(Tester.scala:745)
at Chisel.Tester.
Looks like the tester is getting a lot farther than in the other posted exit 139 crash, so probably unrelated to it.
Please let me know what else you need from me to track down the problem.
Can you compile the cpp binary with "-g" and run in gdb to find the section of code? Please post that section of code (and maybe attach the cpp files too)
Will do.
When I do this, the compiled code runs forever and apparently does nothing. It doesn't crash, so there's no "location" of bad code I can send you.
I expect that this problem is a timeout problem where the gcc compiler is somehow in a race condition with the Chisel debugger. In instances where the generated model is too large to compile in time, you get this error.
I have had a similar issue in the past, the c is waiting for input from the debugger (ie reset/step etc). just sending any string is usually enough to trigger the crash. Could you attach the cpp (the emulator one too) and ill see if I can replicate it?