-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Segmentation fault when running any of the example programs #3
Comments
Hi @tonyfleck76 , can you provide me the detailed commands you used including preprocessing? |
Well, I first ran it on the graph downloaded from the link provided in the README. I then ran
on it and got an error. When I looked at the issues I saw the other open one had some code to convert the LiveJournal file into binary form. I ran it through that and then ran the same prepocessing command. That appeared to have worked and gave me the LiveJournal_Grid directory that I have been passing as an argument to the bfs program. |
Well, the preprocessed files are located at "/data/LiveJournal_Grid", but it seems that you passed "/LiveJournal_Grid" to the bfs program. Is this the problem (i.e. so fscanf failed to get content from the file)? |
Unfortunately that is not it. Sorry, I should have changed that to show that I did not create a data directory. LiveJournal_Grid is in the main GridGraph directory. |
What does the LiveJournal_Grid folder look like (e.g. sizes of the files under the folder) ? |
Also, I worked out the segfault issue, but get this error instead.
|
I thought this might be a bit more useful. |
You might try inserting the following statement at Ln.89 in "core/bigvector.hpp" (before the assertion):
It could tell us what the exact error is. Thanks. |
|
It seems that O_DIRECT is not supported... What is the kernel version? And the type of the file system? I found some similar cases via Google but I am not sure what exactly causes the problem. |
Specifically, I am trying to run bfs on the LiveJournal graph provided as the example. I successfully got the graph preprocessed, but running
./bin/bfs /LiveJournal_Grid 0 8
breaks. When I run it with GDB, I get this error message:Program received signal SIGSEGV, Segmentation fault. _IO_vfscanf_internal (s=0x0, format=0x406b7d "%d %d %ld %d", argptr=argptr@entry=0x7fffffffd2e8, errp=errp@entry=0x0) at vfscanf.c:347 347 vfscanf.c: No such file or directory.
Am I doing something wrong when running the program or is there an issue with the way it compiled?
The text was updated successfully, but these errors were encountered: