Skip to content

Segmentation Fault with MS-BFS Variants 16, 32, and 64 #2

@LottieWang

Description

@LottieWang

Description

I encountered a segmentation fault when running MS-BFS on the provided test data with variant values 16, 32, and 64. The issue does not occur with other variant values (8, 128, and 256).

Steps to Reproduce

I test the simplest case, where nRun, nThread, and bWidth are all set to 1.

Tests with segmentation faults:

./runBencher test_queries/ldbc10k.txt 1 1 16 1
./runBencher test_queries/ldbc10k.txt 1 1 32 1
./runBencher test_queries/ldbc10k.txt 1 1 64 1

Tests without segmentation faults:

./runBencher test_queries/ldbc10k.txt 1 1 8 1
./runBencher test_queries/ldbc10k.txt 1 1 128 1
./runBencher test_queries/ldbc10k.txt 1 1 256 1

When debugging with GDB, all failing cases result in a segmentation fault at include/bfs/batchhuge.hpp:350, with an error message indicating an "address not mapped to object."

Environment

  • OS: Rocky Linux 8.10
  • Compiler: gcc (GCC) 13.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions