I can't get redis server to start
=== REDIS BUG REPORT START: Cut & paste starting from here ===
34:M 19 Apr 2023 18:22:12.136 # Redis 5.0.7 crashed by signal: 11
34:M 19 Apr 2023 18:22:12.136 # Accessing address: (nil)
34:M 19 Apr 2023 18:22:12.136 # Failed assertion:
------ STACK TRACE ------ /usr/bin/redis-server 127.0.0.1:6379(logStackTrace+0x4f)[0x563302dd43af] /usr/bin/redis-server 127.0.0.1:6379(sigsegvHandler+0xb5)[0x563302dd4bb5] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f13cc8f3420]
------ INFO OUTPUT ------
Server
redis_version:5.0.7 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:66bd629f924ac924 redis_mode:standalone os:Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:9.3.0 process_id:34 run_id:b47947aedcd01f0a3d15d9ab6f49831d4878aefb tcp_port:6379 uptime_in_seconds:0 uptime_in_days:0 hz:10 configured_hz:10 lru_clock:4203332 executable:/usr/bin/redis-server config_file:/etc/redis/redis.conf
Clients
connected_clients:0 client_recent_max_input_buffer:0 client_recent_max_output_buffer:0 blocked_clients:0
Memory
used_memory:796512 used_memory_human:777.84K used_memory_rss:0 used_memory_rss_human:0B used_memory_peak:796512 used_memory_peak_human:777.84K used_memory_peak_perc:inf% used_memory_overhead:0 used_memory_startup:0 used_memory_dataset:796512 used_memory_dataset_perc:100.00% allocator_allocated:0 allocator_active:0 allocator_resident:0 total_system_memory:8186089472 total_system_memory_human:7.62G used_memory_lua:41984 used_memory_lua_human:41.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:-nan allocator_frag_bytes:0 allocator_rss_ratio:-nan allocator_rss_bytes:0 rss_overhead_ratio:-nan rss_overhead_bytes:0 mem_fragmentation_ratio:-nan mem_fragmentation_bytes:0 mem_not_counted_for_evict:0 mem_replication_backlog:0 mem_clients_slaves:0 mem_clients_normal:0 mem_aof_buffer:0 mem_allocator:jemalloc-5.2.1 active_defrag_running:0 lazyfree_pending_objects:0
Persistence
loading:0 rdb_changes_since_last_save:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1681924932 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
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:043f018b49166e7d458afaf4c5008983038716c9 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.000000 used_cpu_user:0.004975 used_cpu_sys_children:0.000000 used_cpu_user_children:0.000000
Commandstats
Cluster
cluster_enabled:0
Keyspace
------ CLIENT LIST OUTPUT ------
------ REGISTERS ------ 34:M 19 Apr 2023 18:22:12.137 # RAX:00007f13cc022b20 RBX:00007f13cc4e4c60 RCX:0000000000000003 RDX:0000000000000000 RDI:00007fffa7bae520 RSI:00007f13ccd4a7c0 RBP:00007fffa7bae520 RSP:00007fffa7bae418 R8 :00007f13c0000000 R9 :00007f13cc4e9f80 R10:00007f13cc4e8780 R11:0000000000000110 R12:00007f13cc4e4e90 R13:00007f13cc0d6270 R14:0000000000000000 R15:00007f13cc4e4aa0 RIP:0000000000000000 EFL:0000000000010206 CSGSFS:002b000000000033 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae427) -> 00007f13cd193490 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae426) -> 00007fffa7bae4d0 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae425) -> 00007f13cc0bd2a0 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae424) -> 3a191b726f7fe500 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae423) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae422) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae421) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae420) -> 00007f13cc84d9f3 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41f) -> 00007f13cc0bd2b0 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41e) -> 3a191b726f7fe500 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41d) -> 00007f13ccd4b118 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41c) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41b) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae41a) -> 0000000000000000 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae419) -> 00000000065470e1 34:M 19 Apr 2023 18:22:12.137 # (00007fffa7bae418) -> 00007f13cc47d455
------ FAST MEMORY TEST ------ *** Preparing to test memory region 563302e57000 (94208 bytes) *** Preparing to test memory region 7f13cb883000 (16384 bytes) *** Preparing to test memory region 7f13cbc00000 (8388608 bytes) *** Preparing to test memory region 7f13cc4e5000 (4096 bytes) *** Preparing to test memory region 7f13cc4e6000 (32768 bytes) *** Preparing to test memory region 7f13cc509000 (8192 bytes) *** Preparing to test memory region 7f13cc6ea000 (12288 bytes) *** Preparing to test memory region 7f13cc8db000 (16384 bytes) *** Preparing to test memory region 7f13cc8fe000 (16384 bytes) *** Preparing to test memory region 7f13cca6e000 (8192 bytes) *** Preparing to test memory region 7f13ccb27000 (2248704 bytes) *** Preparing to test memory region 7f13cd191000 (4096 bytes) *** Preparing to test memory region 7f13cd198000 (8192 bytes) *** Preparing to test memory region 7f13cd1d2000 (4096 bytes) .O.O.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.
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Comment From: oranagra
I suppose either something is wrong with your environment or redis build (not sure where you got it), or maybe it'll be solved by trying a (much) newer version of Redis.
Comment From: oranagra
feel free to re-open if it still fails with a recent version, and provide details on your build, or post here when you find the solution for the benefit of others.
Comment From: Haptonstall
It was not the build. I had a loadmodule file in the config file that apparently wasn't pointing to the right location. When I commented the line out then Redis starts as it should. Thank you for looking into this anyway.