Redis Crash on bench start due to RediSearch Module – Signal 11 (SIGSEGV)

Hi everyone,

I’m currently facing a Redis crash issue when running bench start on a fresh Frappe environment. Redis fails with a segmentation fault (signal: 11) during startup while trying to load the RediSearch module.

:exclamation: Error Summary:

Redis crashes immediately with the following in the logs:

Redis 7.4.2 crashed by signal: 11, si_code: 1
Accessing address: (nil)
/etc/redisearch.so(RediSearch_InitModuleConfig+0x46)
...

Trace shows it happens during:

RedisModule_OnLoad -> RediSearch_InitModuleConfig

:mag: Environment Details

  • OS: Ubuntu 22.04 LTS (Kernel: 6.8.0-57-generic)
  • Redis version: 7.4.2
  • RediSearch Module Path: `/etc/redisearch.so
  • Redis Cache Config: redis_cache.conf includes loadmodule /etc/redisearch.so

:white_check_mark: What I’ve Tried

  • Downgraded Redis to 7.0.x (working fine without RediSearch)
  • Recompiled RediSearch from source
  • Verified module path and permissions
  • Used redis-server --loadmodule manually – same crash occurs

:camera_flash: Screenshot


:pray: Help Wanted