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
Segmentation fault #46
Comments
I cannot reproduce:
I don't do much active maintenance on this project, but your stack trace seems to be pointing into the impl<'a> AsRef<TableSlice<'a>> for Table {
fn as_ref(&self) -> &TableSlice<'a> {
unsafe {
// All this is a bit hacky. Let's try to find something else
let s = &mut *((self as *const Table) as *mut Table);
s.rows.shrink_to_fit();
transmute(self)
}
}
} That's converting a Indeed, it looks like this specific issue has been reported and others noted that it was causing seg faults: phsym/prettytable-rs#145 It was then fixed and I updated to |
Nice that fixed the issue. Thank you! |
I get a segmentation fault when running the command.
➜ agg_perf git:(agg_perf) ✗ cargo benchcmp control variable fish: Job 1, 'cargo benchcmp control variable' terminated by signal SIGSEGV (Address boundary error) ➜ agg_perf git:(agg_perf) ✗ bash [pascal@pascal-rogstrixg513qyg513qy agg_perf]$ cargo benchcmp control variable Segmentation fault (core dumped)
variable.txt
control.txt
The text was updated successfully, but these errors were encountered: