Reputation: 11220
Console program written in Dart that invoke native function
exit with code 139
.
Dart VM does not display error messages.
stack trace
of Dart VM code?P.S.
I purposely did not give an example because it occurs repeatedly.
I can not understand why the program that terminated abnormal does not display error messages.
Does this means that error code 139
is unhandled error in Dart VM without provided text of error message?
Upvotes: 2
Views: 248
Reputation: 1069
it means that your program died with signal 11 (SIGSEGV on Linux and most other UNIXes), also known as segmentation fault.
In your case your extension has raised this and brought down the VM hard, so this is the only thing the console can report.
Check your code for null/invalid pointer access etc.
You can use cerr to log trace messages into the console from your extension e.g.
std::cerr << "Im here " << std::endl;
Upvotes: 4