intel / intel/hyperscan

Segmentation fault on Linux

Open
#261 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

## System info

Ubuntu x86_64, clang 6.0, hyperscan (latest master [c00683](https://github.com/intel/hyperscan/commit/c00683d73916e39f01b0d418f686c8b5c379159c))

## Configure

cmake .. -DCMAKE_CXX_FLAGS="-fsanitize=address -g" -DCMAKE_C_FLAGS="-fsanitize=address -g" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address"

## Problem

When I ran executables under `bin`, all of them crashes with `Segmentation fault (core dumped)`

## GDB Output

```
(gdb) r
Starting program: /home/seviezhou/hyperscan/build/bin/hscheck

Program received signal SIGSEGV, Segmentation fault.
0x0000000000daaea6 in cpuid (leaf=0, op=, eax=,
ebx=, ecx=, edx=)
at /home/seviezhou/AlphaFuzz/targets/hyperscan/src/util/cpuid_inline.h:50
50 __cpuid_count(op, leaf, *eax, *ebx, *ecx, *edx);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.