-
Notifications
You must be signed in to change notification settings - Fork 6
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
Segfault in program "Name" when input is p1 as affine cryst group on right #112
Comments
Additional DebuggingSince the source code of CARAT contains debug output when setting In order to allow diff --git a/src/name.c b/src/name.c
index 193d3e1..8d4873e 100644
--- a/src/name.c
+++ b/src/name.c
@@ -48,7 +48,7 @@ int main (int argc, char *argv[])
if (is_option('h'))
INFO_LEVEL = optionnumber('h');
- if ((is_option('h') && INFO_LEVEL != 8) || FILEANZ == 0)
+ if ((is_option('h') && INFO_LEVEL == 0) || FILEANZ == 0)
{
printf("Usage: %s file [-T] [-Z] [-o] [-M] [-c]\n",argv[0]);
printf("\n"); Again the program segfaults but at a different place:
Intermediate stdlog output is omitted. This is strange. The debug level for additional output should not have an influence on the code path. |
p1
given as as space group on left still does not work. However, the program does not segfault but returns the errorerror in coboundary
:The program works fine for p2, ... and other plane groups:
Carat Version
Carat is compiled from github with latest commits:
Backtrace with lldb
The text was updated successfully, but these errors were encountered: