=== REDIS BUG REPORT START: Cut & paste starting from here === 1589:C 08 May 2020 12:51:54.844 # Redis 5.0.8 crashed by signal: 11 1589:C 08 May 2020 12:51:54.844 # Crashed running the instruction at: 0x7f65255f74f1 1589:C 08 May 2020 12:51:54.844 # Accessing address: 0x58 1589:C 08 May 2020 12:51:54.844 # Failed assertion: (:0)

------ STACK TRACE ------ EIP: /home/hyb/lib/redistimeseries.so(SeriesIteratorGetNext+0x21)[0x7f65255f74f1]

Backtrace: redis-rdb-bgsave 127.0.0.1:6379(logStackTrace+0x45)[0x474545] redis-rdb-bgsave 127.0.0.1:6379(sigsegvHandler+0xb9)[0x474d09] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f6526559390] /home/hyb/lib/redistimeseries.so(SeriesIteratorGetNext+0x21)[0x7f65255f74f1] /home/hyb/lib/redistimeseries.so(series_rdb_save+0x160)[0x7f65255f6c00] redis-rdb-bgsave 127.0.0.1:6379(rdbSaveObject+0xcc)[0x45024c] redis-rdb-bgsave 127.0.0.1:6379(rdbSaveKeyValuePair+0x264)[0x450ca4] redis-rdb-bgsave 127.0.0.1:6379(rdbSaveRio+0x306)[0x451446] redis-rdb-bgsave 127.0.0.1:6379(rdbSave+0xa5)[0x4518f5] redis-rdb-bgsave 127.0.0.1:6379(rdbSaveBackground+0x7c)[0x451b4c] redis-rdb-bgsave 127.0.0.1:6379(serverCron+0x832)[0x4318b2] redis-rdb-bgsave 127.0.0.1:6379(aeProcessEvents+0x3f5)[0x429f05] redis-rdb-bgsave 127.0.0.1:6379(aeMain+0x2b)[0x42a0ab] redis-rdb-bgsave 127.0.0.1:6379(main+0x4bf)[0x426c4f] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6526198830] redis-rdb-bgsave 127.0.0.1:6379(_start+0x29)[0x426ec9]

------ INFO OUTPUT ------

Server

redis_version:5.0.8 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:2bb6fe0be88ae54 redis_mode:standalone os:Linux 4.15.0-99-generic x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:5.5.0 process_id:1589 run_id:a670b93b5708cf9a87d7259962b420bc7c96c384 tcp_port:6379 uptime_in_seconds:662 uptime_in_days:0 hz:10 configured_hz:10 lru_clock:11884010 executable:/home/hyb/bin/./redis-server config_file:/home/hyb/scripts/redis.conf

Clients

connected_clients:4 client_recent_max_input_buffer:2 client_recent_max_output_buffer:0 blocked_clients:0

Memory

used_memory:11686936 used_memory_human:11.15M used_memory_rss:16068608 used_memory_rss_human:15.32M used_memory_peak:11726584 used_memory_peak_human:11.18M used_memory_peak_perc:99.66% used_memory_overhead:921216 used_memory_startup:793144 used_memory_dataset:10765720 used_memory_dataset_perc:98.82% allocator_allocated:11750744 allocator_active:11911168 allocator_resident:15233024 total_system_memory:16763940864 total_system_memory_human:15.61G used_memory_lua:37888 used_memory_lua_human:37.00K used_memory_scripts:0 used_memory_scripts_human:0B number_of_cached_scripts:0 maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction allocator_frag_ratio:1.01 allocator_frag_bytes:160424 allocator_rss_ratio:1.28 allocator_rss_bytes:3321856 rss_overhead_ratio:1.05 rss_overhead_bytes:835584 mem_fragmentation_ratio:1.38 mem_fragmentation_bytes:4383000 mem_not_counted_for_evict:0 mem_replication_backlog:0 mem_clients_slaves:0 mem_clients_normal:67688 mem_aof_buffer:0 mem_allocator:jemalloc-5.1.0 active_defrag_running:0 lazyfree_pending_objects:0

Persistence

loading:0 rdb_changes_since_last_save:405 rdb_bgsave_in_progress:0 rdb_last_save_time:1588941652 rdb_last_bgsave_status:err 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

Stats

total_connections_received:4 total_commands_processed:841 instantaneous_ops_per_sec:0 total_net_input_bytes:159841 total_net_output_bytes:840905 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:105 keyspace_misses:0 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:1392 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:39bc6c145f08c086023f6c0ad3304f569bd0bb93 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.028007 used_cpu_user:0.712198 used_cpu_sys_children:0.000000 used_cpu_user_children:0.000000

Commandstats

cmdstat_info:calls=20,usec=992,usec_per_call=49.60 cmdstat_ts.create:calls=312,usec=3216,usec_per_call=10.31 cmdstat_expire:calls=92,usec=5508,usec_per_call=59.87 cmdstat_ts.add:calls=312,usec=2112,usec_per_call=6.77 cmdstat_get:calls=105,usec=958,usec_per_call=9.12

Cluster

cluster_enabled:0

Keyspace

db0:keys=1089,expires=13,avg_ttl=29007550

------ CLIENT LIST OUTPUT ------ id=3 addr=127.0.0.1:38394 fd=8 name= age=661 idle=661 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info id=4 addr=127.0.0.1:38396 fd=9 name= age=661 idle=75 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=ts.add id=5 addr=127.0.0.1:38442 fd=7 name= age=659 idle=659 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info id=6 addr=127.0.0.1:38444 fd=10 name= age=659 idle=93 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=expire

------ REGISTERS ------ 1589:C 08 May 2020 12:51:54.846 # RAX:0000000000000000 RBX:00007fff95e51790 RCX:0000000000000000 RDX:0000000000000200 RDI:00007fff95e51790 RSI:00007fff95e51780 RBP:00007fff95e51780 RSP:00007fff95e51750 R8 :0000000000000001 R9 :00000000000001c8 R10:0000000000000039 R11:0000000000000013 R12:00007f65257fe788 R13:00007fff95e51780 R14:00007f65257feab8 R15:0000000000000040 RIP:00007f65255f74f1 EFL:0000000000010246 CSGSFS:002b000000000033 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175f) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175e) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175d) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175c) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175b) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e5175a) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51759) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51758) -> 0000000000000000 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51757) -> 0000000000000008 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51756) -> 00007fff95e51bc0 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51755) -> 00007f65255f6c00 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51754) -> 00007f65257fe788 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51753) -> 00007fff95e51790 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51752) -> 00007fff95e51830 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51751) -> 5537241501297700 1589:C 08 May 2020 12:51:54.846 # (00007fff95e51750) -> 00007f6523769560

------ FAST MEMORY TEST ------ *** Preparing to test memory region 7af000 (2248704 bytes) *** Preparing to test memory region af8000 (135168 bytes) *** Preparing to test memory region 7f65230e5000 (13631488 bytes) *** Preparing to test memory region 7f6523de6000 (8388608 bytes) *** Preparing to test memory region 7f65245e7000 (8388608 bytes) *** Preparing to test memory region 7f6524de8000 (8388608 bytes) *** Preparing to test memory region 7f6525800000 (8388608 bytes) *** Preparing to test memory region 7f652653e000 (16384 bytes) *** Preparing to test memory region 7f6526761000 (16384 bytes) *** Preparing to test memory region 7f65270aa000 (12288 bytes) *** Preparing to test memory region 7f65270af000 (8192 bytes) *** Preparing to test memory region 7f65270b1000 (8192 bytes) .O.O.O.O.O.O.O.O.O.O.O.O Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.

------ DUMPING CODE AROUND EIP ------ Symbol: SeriesIteratorGetNext (base: 0x7f65255f74d0) Module: /home/hyb/lib/redistimeseries.so (base 0x7f65255e8000) $ xxd -r -p /tmp/dump.hex /tmp/dump.bin $ objdump --adjust-vma=0x7f65255f74d0 -D -b binary -m i386:x86-64 /tmp/dump.bin


1589:C 08 May 2020 12:51:55.182 # dump of function (hexdump of 161 bytes): 4154554889f5534889fb4883ec1064488b042528000000488944240831c0488b074c8b6058488b4710488b7f1848890424ff533883f802743f488b4500483b43287325b802000000488b4c24086448330c2528000000757f4883c4105b5d415cc30f1f8000000000483b432077d531c0ebd6660f1f44000031f64889e2488b7b08ff53404885c074ba488b3c2441ff542450483b432077ab488b3c2441ff542448

=== REDIS BUG REPORT END. Make sure to include from START to END. ===

Comment From: bsergean

This looks related to the time series module. I think you should report it here instead -> https://github.com/RedisTimeSeries/RedisTimeSeries

Comment From: trevor211

@oranagra

Comment From: oranagra

indeed, @githubaal please open in the module repository. @gkorland FYI.

Comment From: ashtul

Might be related to RedisTimeSeries/RedisTimeSeries#391