-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get stacktrace with debug infomation in ComputationContainer #12
Comments
|
|
This issue can be resolved if diff --git a/src/ComputationContainer/ComputationParty/BUILD b/src/ComputationContainer/ComputationParty/BUILD
index 6f956f6c..3d1f8aef 100644
--- a/src/ComputationContainer/ComputationParty/BUILD
+++ b/src/ComputationContainer/ComputationParty/BUILD
@@ -14,5 +14,8 @@ cc_library(
"//Job:jobManager",
"//LogHeader:logger",
],
+ linkopts=["-lboost_stacktrace_backtrace", "-ldl", "-lbacktrace"],
+ defines=["BOOST_STACKTRACE_LINK",
+ "BOOST_STACKTRACE_USE_BACKTRACE"],
visibility = ["//visibility:public"],
) I checked the difference of QuickMPC/src/ComputationContainer/Job/BUILD Lines 15 to 18 in b173bce
Removing this one, the configuration in |
Logger
qmpc::Log::Debug
needs to print information about the place which calls this function viaboost::stacktrace
.However, it prints only address and binary file location at the moment.
This issue could be reproduced with a following patch.
We referred to the following document for how to use "boost::stacktrace".
We confirmed that a stack trace can be obtained with a simple program without using bazel.
The text was updated successfully, but these errors were encountered: