magic62442 / subgraph-counting

1 stars 1 forks source link

Segmentation Fault when Running Query without `-t` Option #1

Open lxhq opened 2 months ago

lxhq commented 2 months ago

Description:

Thank you for sharing this great work. I’ve been able to run several queries successfully, but I encountered a runtime error when running specific queries without the -t option.

Issue Details:

For instance, I encountered a segmentation fault when executing the query 5voc/68.txt without using the -t option.

Command Executed:

./build/executable/scope.out -q ./exp/pattern_graph/5voc/68.txt -d ./exp/data_graph/web-spam.txt -r ./result/5voc/web-spam/68.txt

Output:

query graph path: ./exp/pattern_graph/5voc/68.txt
data graph path: ./exp/data_graph/web-spam.txt
result path: ./result/5voc/web-spam/68.txt
using batch query: 0
sharing nodes computation: 0
using triangle: 0
set intersection type: 0
finished building edge ID mappings. time: 0.00484188s
Segmentation fault (core dumped)
magic62442 commented 1 month ago

Hi lxhq,

I updated the code and it should work without '-t' now. I recommend using the 'prepare.out' to preprocess the data graph and use this '-t' option since it will be faster. The experiments in the paper use '-t'.