forked from huangzworks/redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug_segfault.html
147 lines (126 loc) · 5.34 KB
/
debug_segfault.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DEBUG SEGFAULT — Redis 命令参考</title>
<link rel="stylesheet" href="../_static/pyramid.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.8',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="Redis 命令参考" href="../index.html" />
<link rel="up" title="Server(服务器)" href="index.html" />
<link rel="next" title="FLUSHALL" href="flushall.html" />
<link rel="prev" title="DEBUG OBJECT" href="debug_object.html" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="../_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="flushall.html" title="FLUSHALL"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="debug_object.html" title="DEBUG OBJECT"
accesskey="P">previous</a> |</li>
<li><a href="../index.html">Redis 命令参考</a> »</li>
<li><a href="index.html" accesskey="U">Server(服务器)</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="debug-segfault">
<span id="id1"></span><h1>DEBUG SEGFAULT<a class="headerlink" href="#debug-segfault" title="Permalink to this headline">¶</a></h1>
<p><strong>DEBUG SEGFAULT</strong></p>
<p>执行一个不合法的内存访问从而让 Redis 崩溃,仅在开发时用于 BUG 模拟。</p>
<dl class="docutils">
<dt><strong>可用版本:</strong></dt>
<dd>>= 1.0.0</dd>
<dt><strong>时间复杂度:</strong></dt>
<dd>不明确</dd>
<dt><strong>返回值:</strong></dt>
<dd>无</dd>
</dl>
<div class="highlight-python"><div class="highlight"><pre>redis> DEBUG SEGFAULT
Could not connect to Redis at: Connection refused
not connected>
</pre></div>
</div>
</div>
<div class="section" id="discuss">
<h2>
讨论
<a class="headerlink" href="#discuss" title="永久链接至标题">¶</a>
</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'redis-command-cn'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
<div id="ad">
<h2>广告</h2>
<p>计算关于生命、宇宙以及一切的终极的答案。</p>
<a href="http://vps.42qu.com" style="padding: 0px 0px 8px 20px;display: block;"><img src="../_static/42qu.png"/></a>
<a href="http://vps.42qu.com" style="font-weight: bold;padding-left: 20px;">42qu.com 主机空间</a>
<ul>
<li>中国 BGP 七线 / 美国五机房可选</li>
<li>独立 IP / root 权限</li>
<li><a href="http://www.vpsee.com/">vpsee</a> 专业技术支持</li>
<li>XEN 虚拟机,<span style="font-weight: bold;">卖给创业的你</span></li>
</ul>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="flushall.html" title="FLUSHALL"
>next</a> |</li>
<li class="right" >
<a href="debug_object.html" title="DEBUG OBJECT"
>previous</a> |</li>
<li><a href="../index.html">Redis 命令参考</a> »</li>
<li><a href="index.html" >Server(服务器)</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2013, Redis.
Last updated on May 16, 2015.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.3.1.
</div>
</body>
</html>