Problem with the redisearch module
23440:M 07 Apr 20:24:05.425 * <ft> Initialized thread pool!
23440:M 07 Apr 20:24:05.425 * Module 'ft' loaded from /usr/local/etc/redisearch.so
=== REDIS BUG REPORT START: Cut & paste starting from here ===
23440:M 07 Apr 20:24:05.483 # Redis 4.0.9 crashed by signal: 11
23440:M 07 Apr 20:24:05.483 # Crashed running the instruction at: 0x7fff598c6f49
23440:M 07 Apr 20:24:05.483 # Accessing address: 0x7ffb85800000
23440:M 07 Apr 20:24:05.483 # Failed assertion: <no assertion failed> (<no file>:0)
------ STACK TRACE ------
EIP:
0 libsystem_platform.dylib 0x00007fff598c6f49 _platform_memmove$VARIANT$Haswell + 41
Backtrace:
0 redis-server 0x000000010c0234ce logStackTrace + 110
1 redis-server 0x000000010c02385b sigsegvHandler + 236
2 libsystem_platform.dylib 0x00007fff598c3f5a _sigtramp + 26
3 ??? 0x0000000000000000 0x0 + 0
4 redisearch.so 0x000000010c18159f LoadByteOffsets + 223
5 redisearch.so 0x000000010c183623 DocTable_RdbLoad + 643
6 redisearch.so 0x000000010c1a1841 IndexSpec_RdbLoad + 561
7 redis-server 0x000000010c00648e rdbLoadObject + 2435
8 redis-server 0x000000010c006e32 rdbLoadRio + 1358
9 redis-server 0x000000010c007026 rdbLoad + 70
10 redis-server 0x000000010bfec76a loadDataFromDisk + 292
11 redis-server 0x000000010bfed0be main + 1224
12 libdyld.dylib 0x00007fff595b5015 start + 1
------ INFO OUTPUT ------
# Server
redis_version:4.0.9
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:e0c8d37381c486c6
redis_mode:standalone
os:Darwin 17.5.0 x86_64
arch_bits:64
multiplexing_api:kqueue
atomicvar_api:atomic-builtin
gcc_version:4.2.1
process_id:23440
run_id:849d19fc9de1078a63e1eb7e0a07e129873f878d
tcp_port:6379
uptime_in_seconds:0
uptime_in_days:0
hz:10
lru_clock:13197605
executable:/Users/jefstatham/redis-server
config_file:/usr/local/etc/redis.conf
# Clients
connected_clients:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:1769168784
used_memory_human:1.65G
used_memory_rss:0
used_memory_rss_human:0B
used_memory_peak:1769168784
used_memory_peak_human:1.65G
used_memory_peak_perc:inf%
used_memory_overhead:983928
used_memory_startup:980816
used_memory_dataset:1768184856
used_memory_dataset_perc:100.00%
total_system_memory:8589934592
total_system_memory_human:8.00G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
mem_fragmentation_ratio:0.00
mem_allocator:libc
active_defrag_running:0
lazyfree_pending_objects:0
# Persistence
loading:1
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1523147045
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:0
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok
aof_last_cow_size:0
loading_start_time:1523147045
loading_total_bytes:15499
loading_loaded_bytes:0
loading_loaded_perc:0.00
loading_eta_seconds:1
# Stats
total_connections_received:0
total_commands_processed:0
instantaneous_ops_per_sec:0
total_net_input_bytes:0
total_net_output_bytes:0
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
expired_stale_perc:0.00
expired_time_cap_reached_count:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0
# Replication
role:master
connected_slaves:0
master_replid:88584f4a5a48053ec6bac63104cf2a0045f724fb
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0
# CPU
used_cpu_sys:0.05
used_cpu_user:0.03
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
# Commandstats
# Cluster
cluster_enabled:0
# Keyspace
db0:keys=1,expires=0,avg_ttl=0
------ CLIENT LIST OUTPUT ------
------ REGISTERS ------
23440:M 07 Apr 20:24:05.501 #
RAX:000000011b4a0000 RBX:00007ffb83703d20
RCX:000000006753b9b6 RDX:0000000069637920
RDI:000000011d59bf6a RSI:00007ffb85800000
RBP:00007ffee3c1f160 RSP:00007ffee3c1f160
R8 :000000010c12ffa8 R9 :00000000000000a9
R10:000000010c12f000 R11:ffff800597d9bf6a
R12:00007ffb83703d40 R13:00000000000003b2
R14:0000000000000000 R15:0000000069637920
RIP:00007fff598c6f49 EFL:0000000000010202
CS :000000000000002b FS:0000000000000000 GS:0000000000000000
23440:M 07 Apr 20:24:05.501 # (00007ffee3c1f16f) -> 00007ffee3c1f2b0
23440:M 07 Apr 20:24:05.501 # (00007ffee3c1f16e) -> 0000000000000002
23440:M 07 Apr 20:24:05.501 # (00007ffee3c1f16d) -> 0000000000000002
23440:M 07 Apr 20:24:05.501 # (00007ffee3c1f16c) -> 0000000000000017
23440:M 07 Apr 20:24:05.501 # (00007ffee3c1f16b) -> 0000000000000007
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f16a) -> 00007ffee3c1f2b0
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f169) -> 000000010c183623
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f168) -> 00007ffee3c1f210
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f167) -> 0000000000000030
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f166) -> 0000000000000002
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f165) -> 00007ffb83703ce0
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f164) -> 00007ffb8360b380
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f163) -> 00007ffb83703d20
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f162) -> 00007ffb83703d20
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f161) -> 000000010c18159f
23440:M 07 Apr 20:24:05.502 # (00007ffee3c1f160) -> 00007ffee3c1f1a0
------ DUMPING CODE AROUND EIP ------
Symbol: _platform_memmove$VARIANT$Haswell (base: 0x7fff598c6f20)
Module: /usr/lib/system/libsystem_platform.dylib (base 0x7fff598c2000)
$ xxd -r -p /tmp/dump.hex /tmp/dump.bin
$ objdump --adjust-vma=0x7fff598c6f20 -D -b binary -m i386:x86-64 /tmp/dump.bin
------
23440:M 07 Apr 20:24:05.502 # dump of function (hexdump of 169 bytes):
554889e54989fb4929f34889f84939d3721b4883fa60762f4881fa004000000f82cb0000004889d1fcf3a45dc34839fe74f94801d64801d74883fa600f828c010000e9a90100004883fa107656c5f8104c16f04883ea20762ac5fc1006c5fc11074883c6204883c7204883ea207214c5fc1006c5fc11074883c6204883c7204883ea204883c2107e0cc5f81006c5f81107c5f857c0c5f8110c17c5f057c95dc5f877c34883ea087210
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Comment From: itamarhaber
Hello @JefStat - this issue tracker is for reporting issues about the Redis project. As the issue appears to be related to RediSearch, you should report it in the respective repository instead - https://GitHub.com/redislabsmodules/redisearch