chnaghong1990 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Segmentation fault on redis_cli #638

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
version: redis-cli 2.2.11 on CentOS 5.5

big: Segmentation fault

reproduce: Open the console and write "1." then enter. originally found it when 
pass an IP address instead of redis command. Note that he bug affects only the 
client, the server continue working OK after that.

info output:
================
redis_version:2.2.11
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:epoll
process_id:14734
uptime_in_seconds:104818
uptime_in_days:1
lru_clock:1347139
used_cpu_sys:2128.49
used_cpu_user:14337.49
used_cpu_sys_childrens:28966.11
used_cpu_user_childrens:10794.64
connected_clients:2
connected_slaves:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:891805568
used_memory_human:850.49M
used_memory_rss:1430339584
mem_fragmentation_ratio:1.60
use_tcmalloc:0
loading:0
aof_enabled:0
changes_since_last_save:2542353
bgsave_in_progress:1
last_save_time:1313703564
bgrewriteaof_in_progress:0
total_connections_received:8530114
total_commands_processed:117389604
expired_keys:5447939
evicted_keys:681384
keyspace_hits:67008454
keyspace_misses:9075149
hash_max_zipmap_entries:512
hash_max_zipmap_value:64
pubsub_channels:0
pubsub_patterns:0
vm_enabled:0
role:master
allocation_stats:2=8055737,6=1,8=46,9=15449573,10=18810335,11=10892795,12=148577
41,13=51100778,14=57204729,15=66303673,16=582426614,17=3158,18=9841,19=27890292,
20=467190,21=2402889,22=2794792,23=2191164,24=82286258,25=3083124,26=480,27=3064
823,28=5004462,29=3944316,30=390381,31=37048,32=28153801,33=747851,34=139295,35=
2053512,36=4560729,37=4992786,38=4116964,39=6367690,40=25148527,41=32154076,42=5
175165,43=7197066,44=8649687,45=7599604,46=4101478,47=5476177,48=50410736,49=623
7299,50=3955907,51=2131316,52=1221873,53=1075349,54=1111955,55=1616477,56=284163
5,57=1120052,58=1087212,59=1056340,60=981430,61=899597,62=844312,63=806662,64=97
11234,65=790550,66=696854,67=734619,68=573330,69=540435,70=490921,71=536205,72=1
506726,73=3395455,74=3759677,75=2920423,76=1138307,77=320213,78=300147,79=587413
,80=258598,81=240011,82=247751,83=236159,84=203513,85=213544,86=210928,87=313488
8,88=11231622,89=207297,90=173602,91=167149,92=170622,93=174538,94=170082,95=169
887,96=1189210,97=163828,98=155586,99=190424,100=123155,101=146244,102=174384,10
3=146471,104=173626,105=150001,106=148655,107=180479,108=285795,109=198156,110=1
58311,111=5098299,112=143163,113=957922,114=160753,115=214277,116=149134,117=154
751,118=152364,119=163627,120=164997,121=158259,122=146882,123=156215,124=202396
,125=142872,126=180712,127=137808,128=339904,129=129514,130=112596,131=118780,13
2=113655,133=108409,134=97782,135=104115,136=106376,137=96574,138=89313,139=8272
9,140=72063,141=72419,142=64224,143=67703,144=89443,145=65425,146=48881,147=1653
60,148=42997,149=42002,150=33950,151=36139,152=29541,153=32064,154=25104,155=297
74,156=20681,157=28634,158=18762,159=22123,160=19552,161=20695,162=16168,163=212
44,164=21245,165=17488,166=14509,167=297936,168=15667,169=585844,170=16841,171=5
74669,172=17072,173=185904,174=14689,175=17950,176=13889,177=100301,178=13831,17
9=52577,180=13491,181=497771,182=14045,183=122571,184=16442,185=206436,186=29321
,187=74227,188=12902,189=24348,190=22575,191=11229,192=15941,193=17612,194=9467,
195=17647,196=10628,197=28205,198=9091,199=9269,200=11014,201=10118,202=9198,203
=9814,204=10156,205=11199,206=10092,207=10252,208=10145,209=12606,210=11176,211=
12473,212=11745,213=12058,214=12982,215=725862,216=11944,217=399642,218=13596,21
9=122145,220=13938,221=46893,222=13834,223=46183,224=14391,225=49456,226=14749,2
27=51534,228=15562,229=53428,230=16508,231=58971,232=17401,233=60049,234=18091,2
35=57560,236=19354,237=59908,238=19723,239=72818,240=20579,241=57856,242=20838,2
43=61709,244=20919,245=88798,246=21376,247=83832,248=21422,249=117539,250=20881,
251=53210,252=21242,253=93040,254=20630,255=155138,>=256=20054747
db0:keys=1441897,expires=1441881
=============

stack:can not give stack list.

Original issue reported on code.google.com by nikolay....@gmail.com on 18 Aug 2011 at 6:16

GoogleCodeExporter commented 8 years ago

Original comment by pcnoordh...@gmail.com on 18 Aug 2011 at 6:41