Crash report


=== REDIS BUG REPORT START: Cut & paste starting from here ===
[6281] 24 Feb 09:51:23.081 #     Redis 2.8.19 crashed by signal: 10
[6281] 24 Feb 09:51:23.081 #     Failed assertion: <no assertion failed> (<no file>:0)
[6281] 24 Feb 09:51:23.081 # --- STACK TRACE
0   redis-server-2.8.19.app             0x0000000104a47197 logStackTrace + 103
1   libsystem_platform.dylib            0x00007fff2036a440 _platform_memset$VARIANT$Rosetta + 108
2   libsystem_platform.dylib            0x00007fff20367d7d _sigtramp + 29
3   ???                                 0x0000000000000004 0x0 + 4
4   ???                                 0x2e322d7265767265 0x0 + 3328773043932000869
[6281] 24 Feb 09:51:23.082 # --- INFO OUTPUT
[6281] 24 Feb 09:51:23.082 # # Server
redis_version:2.8.19
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:eb33e7d0f77a29c1
redis_mode:standalone
os:Darwin 20.5.0 x86_64
arch_bits:64
multiplexing_api:kqueue
gcc_version:4.2.1
process_id:6281
run_id:f79aa4f071e11667ebd3232aa701bdf0e9928fd0
tcp_port:6379
uptime_in_seconds:0
uptime_in_days:0
hz:10
lru_clock:0
config_file:/var/folders/09/49nnqyw524q9119xjd6wbl080000gn/T/embedded-redis-server_637910051475594777275399.conf

# Clients
connected_clients:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:970784
used_memory_human:948.03K
used_memory_rss:0
used_memory_peak:970784
used_memory_peak_human:948.03K
used_memory_lua:35840
mem_fragmentation_ratio:0.00
mem_allocator:libc

# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1645663883
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
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

# 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
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0

# Replication
role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

# CPU
used_cpu_sys:0.01
used_cpu_user:0.02
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

# Commandstats

# Keyspace
hash_init_value: 1645618994

[6281] 24 Feb 09:51:23.082 # --- CLIENT LIST OUTPUT
[6281] 24 Feb 09:51:23.082 # 
[6281] 24 Feb 09:51:23.082 # --- REGISTERS
[6281] 24 Feb 09:51:23.082 # 
RAX:000000030d6cdac0 RBX:0000000000000067
RCX:000000030d6ce000 RDX:00007fb415d373fe
RDI:000000030d6cda50 RSI:0000000000000000
RBP:000000030d6cd810 RSP:000000030d6cd618
R8 :000000030d6cd458 R9 :0000000000000000
R10:000000030d6cd0c0 R11:ffffffffffffffff
R12:00007fb723405c70 R13:000000030d6cd898
R14:00007fff8061bcf0 R15:00007fb723708628
RIP:00007fff2036a440 EFL:0000000000000202
CS :000000000000002b FS:0000000000000000  GS:0000000000000000
[6281] 24 Feb 09:51:23.082 # (000000030d6cd627) -> 00007fff8061c074
[6281] 24 Feb 09:51:23.082 # (000000030d6cd626) -> 00007fff202f01da
[6281] 24 Feb 09:51:23.082 # (000000030d6cd625) -> 000000030d6cd750
[6281] 24 Feb 09:51:23.082 # (000000030d6cd624) -> 0000000000403000
[6281] 24 Feb 09:51:23.082 # (000000030d6cd623) -> 00007fff8061c074
[6281] 24 Feb 09:51:23.082 # (000000030d6cd622) -> 0000000000400000
[6281] 24 Feb 09:51:23.082 # (000000030d6cd621) -> 000000030d6cd6f8
[6281] 24 Feb 09:51:23.082 # (000000030d6cd620) -> 00007fff202ed135
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61f) -> 000000010ce8c080
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61e) -> 0000000000000003
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61d) -> 00000000090008ff
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61c) -> 00000000000018eb
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61b) -> 00007fb723405d40
[6281] 24 Feb 09:51:23.082 # (000000030d6cd61a) -> 000000030d6cda50
[6281] 24 Feb 09:51:23.082 # (000000030d6cd619) -> 000000030d6cd660
[6281] 24 Feb 09:51:23.082 # (000000030d6cd618) -> 0000000104a57424
[6281] 24 Feb 09:51:23.082 # 
=== REDIS BUG REPORT END. Make sure to include from START to END. ===

Additional information - using it.ozimov:embedded-redis:0.7.3 - code

@TestConfiguration
public class TestRedisConfig {
    private RedisServer redisServer;

    @PostConstruct
    public void setUp() throws IOException {
        final int redisDefaultPort = 6379;
        this.redisServer = new RedisServer(isRedisRunning(redisDefaultPort) ? findAvailablePort() : redisDefaultPort);
        redisServer.start();
    }
}
  • I'm using mac m1, but the above code is working well on a different equipment of the same model(mac m1).

Comment From: sundb

@HyunAh-iia You can create an issue in https://github.com/kstyrc/embedded-redis.

Comment From: oranagra

Indeed you should report it in the repo maintaining the version you used (based on a version this repo no longer maintains). side note, it could be related to these: https://github.com/redis/redis/issues/8062 resolved by https://github.com/redis/redis/pull/8088 and https://github.com/redis/redis/pull/8150