-
Notifications
You must be signed in to change notification settings - Fork 211
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
Error while diffing: Export of the secondary database failed #81
Comments
Hi there, BinDiff uses BinExport's auto temp_dir = GetOrCreateTempDirectory("BinDiff");
// ...
const std::string secondary_temp_dir = JoinPath(*temp_dir, "secondary");
// ...
const auto& config = config::Proto();
auto options =
IdbExporter::Options()
.set_export_dir(secondary_temp_dir)
.set_ida_dir(idadir(/*subdir=*/nullptr))
.set_alsologtostderr(Plugin::instance()->alsologtostderr());
// ...
IdbExporter exporter(options);
exporter.AddDatabase(secondary_idb_path);
absl::Status status;
std::thread export_thread(
[&status, &exporter]() { status = exporter.Export(); }); Under the hood, on Windows, this calls into I'm not sure what goes wrong here, but you can try to set the Are you running the new BinDiff 7? And which version of Windows? |
win10 and bindiff7. |
Did my suggestion to set the Another thing to check: Are you using a non-US locale or non US-English settings for the user interface language? |
I still get an error after trying,(i forgot to reply... |
(back from vacation)
Does that mean you set As is, I cannot reproduce (and hence fix) this issue, unfortunately. |
steps: ida(load There is a correct path in the option
I'm using a non-English windows system. |
Same error here on windows version |
@SiOuz, what is your language locale? I'm guessing non-US also? |
I get the same issue on Kali Linux (2021.3), for IDA Free 7.6 and BinDiff 7. |
@babrath, what happens if you manually execute the command that is printed (try setting |
@cblichmann So the command was printed nowhere, but I found it using an strace. So I executed:
And got the following output: Gtk-Message: 11:09:48.254: Failed to load module "gail"
None of which seem relevant? No new files appeared in /tmp/bindiff/secondary/, and the exit code is 1. |
Thanks |
log:
maybe related :#71
I noticed that the path contains the user
USER~3
. Now my computer does not contain this user, so the path does not exist. Is it a better solution not to use the path of a specific user?The text was updated successfully, but these errors were encountered: