Skip to content
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 #710

Open
vlastikw opened this issue Feb 11, 2023 · 4 comments
Open

Segmentation fault #710

vlastikw opened this issue Feb 11, 2023 · 4 comments

Comments

@vlastikw
Copy link

vlastikw commented Feb 11, 2023

bugCMS.zip
Hi, attached instance which causes error.

If running with first row c ind (which is VAR variables for me) it fails. I've tried version 580x64 (static release from git) and it fails quickly after 548K conflicts. I've tried newest version 5114 then. It failed after many days output attached after 191315K conflicts.

But if I run the instance with 580x64 with indicators from the second row c ind (which is BAR variables for me) it provides first solution after 83429K conflicts. My guess is that with VAR indicators it allocates too much memory suddenly but not sure cannot test it. It must be some bug. Can you please have a look and provide feedback?

bugCMS.zip

@capiman
Copy link
Contributor

capiman commented Feb 11, 2023

Perhaps you can run it with

gdb --args executablename arg1 arg2 arg3

"run" to start it, you should see output of CMS

When you hit the segfault it stops and gives you a prompt.
There you can enter "bt" for backtrace, which give you last function/method calls till reaches the segfault.

@capiman
Copy link
Contributor

capiman commented Feb 11, 2023

E2 like "Eternity II"?

@msoos
Copy link
Owner

msoos commented Feb 12, 2023

Hi,

Thanks for the bug report! I am a bit confused why you have c ind line. It's used only in case you are using CryptoMiniSat to count solutions via the --maxsol XYZ parameter or are using the CNF in ApproxMC or UniGen. Do you need it for something?

I am independently looking at the bug, since it's a bug either way. I'm just curious why you have the c ind, maybe it's not needed and could be a quick fix for you?

Thanks again for the bug report,

Mate

@vlastikw
Copy link
Author

vlastikw commented Feb 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants