intel / intel/hyperscan

crash dump on illumos distro

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

Description

Hi, we have built hyperscan on our XStreamOS illumos distro, to use it with rspamd.
The daemon crashes on startup with a dump suggesting a problem with hyperscan:

libc.so.1`_lwp_kill+0xa()
libc.so.1`raise+0x20(6)
libumem.so.1`umem_do_abort+0x44()
0xffffdf7fca217ed5()
libumem.so.1`process_free+0xa0(ffffdf7fcac20e00, 1, 0)
libumem.so.1`umem_malloc_free+0x1d(ffffdf7fcac20e00)
libstdc++.so.6.0.13`_ZdlPv+0x1f()
libstdc++.so.6.0.20`_ZNSs6assignERKSs+0x9d()
libhs.so.5.0.0`_ZN3ue222handleSmallLiteralSetsERNS_9RoseBuildERKNS_8NGHolderERKNS_14CompileContextE+0x934()
libhs.so.5.0.0`_ZN3ue2L17processComponentsERNS_2NGERNS_14ExpressionInfoERSt5dequeISt10unique_ptrINS_8NGHolderESt14default_deleteIS6_EESaIS9_EENS_8som_typeE+0x386()
libhs.so.5.0.0`_ZN3ue22NG8addGraphERNS_14ExpressionInfoESt10unique_ptrINS_8NGHolderESt14default_deleteIS4_EE+0x371()
libhs.so.5.0.0`_ZN3ue213addExpressionERNS_2NGEjPKcjPK11hs_expr_extj+0x2ab()
libhs.so.5.0.0`_ZN3ue220hs_compile_multi_intEPKPKcPKjS5_PKPK11hs_expr_extjjPK16hs_platform_infoPP11hs_databasePP16hs_compile_errorRKNS_4GreyE+0x26d()
libhs.so.5.0.0`hs_compile_multi+0x6a()
librspamd-server.so`rspamd_multipattern_compile+0x2cf()

This was built using gcc4.9 and these flags:

CFLAGS += -m64 -O3 -march=core2

CMAKE_OPTIONS+= -DCMAKE_C_COMPILER="$(CC)"
CMAKE_OPTIONS+= -DCMAKE_CXX_COMPILER="$(CXX)"
CMAKE_OPTIONS+= -DCMAKE_C_FLAGS="$(CFLAGS)"
CMAKE_OPTIONS+= -DCMAKE_CXX_FLAGS="$(CFLAGS)"

CMAKE_OPTIONS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_OPTIONS+= -DBUILD_SHARED_LIBS=On

Any idea what's wrong here?
Thanks!

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.