hyperscan icon indicating copy to clipboard operation
hyperscan copied to clipboard

crash dump on illumos distro

Open gbulfon opened this issue 3 years ago • 1 comments

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.1raise+0x20(6) libumem.so.1umem_do_abort+0x44() 0xffffdf7fca217ed5() libumem.so.1process_free+0xa0(ffffdf7fcac20e00, 1, 0) libumem.so.1umem_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.0hs_compile_multi+0x6a() librspamd-server.sorspamd_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!

gbulfon avatar Aug 09 '21 12:08 gbulfon

Anyone is succesfully running hyperscan under Solaris / illumos? Any idea about this crash?

gbulfon avatar Dec 30 '21 10:12 gbulfon