Skip to content

Crash report #1057

@slemiere

Description

@slemiere

Hello !

I just got a segmentation fault on redis-server while doing a master-slave replication from a master on 2.6.5 and a slave on 2.4.6. I'm pretty sure this is just not supposed to work and I will just upgrade version on my slave but I thought that you might like to have the crash report anyway so here it is:

[21758] 17 Apr 14:56:59 # === REDIS BUG REPORT START: Cut & paste starting from here ===
[21758] 17 Apr 14:56:59 # === ASSERTION FAILED ===
[21758] 17 Apr 14:56:59 # ==> replication.c:267 'server.replstate == REDIS_REPL_TRANSFER' is not true
[21758] 17 Apr 14:56:59 # (forcing SIGSEGV to print the bug report.)
[21758] 17 Apr 14:56:59 # Redis 2.4.6 crashed by signal: 11
[21758] 17 Apr 14:56:59 # Failed assertion: server.replstate == REDIS_REPL_TRANSFER (replication.c:267)
[21758] 17 Apr 14:57:00 # --- STACK TRACE
[21758] 17 Apr 14:57:00 # redis-server(_redisAssert+0x6f) [0x432b6f]
[21758] 17 Apr 14:57:00 # redis-server(_redisAssert+0x6f) [0x432b6f]
[21758] 17 Apr 14:57:00 # redis-server(replicationAbortSyncTransfer+0x75) [0x41de15]
[21758] 17 Apr 14:57:00 # redis-server(readSyncBulkPayload+0x9c) [0x41e24c]
[21758] 17 Apr 14:57:00 # redis-server(aeProcessEvents+0x153) [0x40d5b3]
[21758] 17 Apr 14:57:00 # redis-server(aeMain+0x2e) [0x40d7fe]
[21758] 17 Apr 14:57:00 # redis-server(main+0xff) [0x412d9f]
[21758] 17 Apr 14:57:00 # /lib/libc.so.6(__libc_start_main+0xfd) [0x7f10fc7e3c4d]
[21758] 17 Apr 14:57:00 # redis-server() [0x40cb09]
[21758] 17 Apr 14:57:00 # --- INFO OUTPUT
[21758] 17 Apr 14:57:00 # redis_version:2.4.6
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.3
process_id:21758
uptime_in_seconds:308
uptime_in_days:0
lru_clock:306181
used_cpu_sys:1.86
used_cpu_user:0.16
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
connected_clients:1
connected_slaves:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:726368
used_memory_human:709.34K
used_memory_rss:1978368
used_memory_peak:726392
used_memory_peak_human:709.37K
mem_fragmentation_ratio:2.72
mem_allocator:jemalloc-2.2.5
loading:0
aof_enabled:0
changes_since_last_save:0
bgsave_in_progress:0
last_save_time:1366210312
bgrewriteaof_in_progress:0
total_connections_received:1
total_commands_processed:17
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
vm_enabled:0
role:slave
master_host:107.21.102.190
master_port:10671
master_link_status:down
master_last_io_seconds_ago:-1
master_sync_in_progress:0
master_link_down_since_seconds:1366210621

[21758] 17 Apr 14:57:00 # --- CLIENT LIST OUTPUT
[21758] 17 Apr 14:57:00 # addr=184.75.97.81:56673 fd=5 idle=1 flags=N db=0 sub=0 psub=0 qbuf=0 obl=0 oll=0 events=r cmd=info

[21758] 17 Apr 14:57:00 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

Please report the crash opening an issue on github:

    http://github.com/antirez/redis/issues

Segmentation fault

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions