blob: 56ae36a41fec0e50392ea1ba303be6b89ec00a18 [file] [log] [blame]
njn3e986b22004-11-30 10:43:45 +00001<?xml version="1.0"?> <!-- -*- sgml -*- -->
2<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
4[ <!ENTITY % vg-entities SYSTEM "vg-entities.xml"> %vg-entities; ]>
5
6<book id="FAQ" xreflabel="Valgrind FAQ">
dee9b715c2005-08-03 20:28:33 +00007<title>Valgrind FAQ</title>
8<bookinfo>
9 <subtitle>Valgrind Frequently Asked Questions</subtitle>
10 <releaseinfo>August 2005</releaseinfo>
11 <author>
12 <surname>
njn49818412005-09-26 01:11:40 +000013 <ulink url="http://www.valgrind.org/info/developers.html">Valgrind Developers</ulink>
dee9b715c2005-08-03 20:28:33 +000014 </surname>
15 <affiliation><orgname>
16 <ulink url="mailto:&vg-vemail;">&vg-vemail;</ulink>
17 </orgname></affiliation>
18 </author>
19</bookinfo>
njn3e986b22004-11-30 10:43:45 +000020
dee9b715c2005-08-03 20:28:33 +000021<sect1 id="faq.background" xreflabel="Background">
njn3e986b22004-11-30 10:43:45 +000022<title>Background</title>
23
24<qandaset id="qset.background">
25
26<qandaentry id="faq.pronounce">
27 <question>
28 <para>How do you pronounce "Valgrind"?</para>
29 </question>
30 <answer>
31 <para>The "Val" as in the world "value". The "grind" is
32 pronounced with a short 'i' -- ie. "grinned" (rhymes with
33 "tinned") rather than "grined" (rhymes with "find").</para>
34 <para>Don't feel bad: almost everyone gets it wrong at
35 first.</para>
36 </answer>
37</qandaentry>
38
39<qandaentry id="faq.whence">
40 <question>
41 <para>Where does the name "Valgrind" come from?</para>
42 </question>
43 <answer>
44 <para>From Nordic mythology. Originally (before release) the
45 project was named Heimdall, after the watchman of the Nordic
46 gods. He could "see a hundred miles by day or night, hear the
47 grass growing, see the wool growing on a sheep's back" (etc).
48 This would have been a great name, but it was already taken by
49 a security package "Heimdal".</para> <para>Keeping with the
50 Nordic theme, Valgrind was chosen. Valgrind is the name of the
51 main entrance to Valhalla (the Hall of the Chosen Slain in
52 Asgard). Over this entrance there resides a wolf and over it
53 there is the head of a boar and on it perches a huge eagle,
54 whose eyes can see to the far regions of the nine worlds. Only
55 those judged worthy by the guardians are allowed to pass
56 through Valgrind. All others are refused entrance.</para>
57 <para>It's not short for "value grinder", although that's not a
58 bad guess.</para>
59 </answer>
60 </qandaentry>
61
62</qandaset>
63
dee9b715c2005-08-03 20:28:33 +000064</sect1>
njn3e986b22004-11-30 10:43:45 +000065
66
dee9b715c2005-08-03 20:28:33 +000067<sect1 id="faq.installing"
njn3e986b22004-11-30 10:43:45 +000068 xreflabel="Compiling, installing and configuring">
69<title>Compiling, installing and configuring</title>
70<qandaset id="qset.installing">
71
72<qandaentry id="faq.make_dies">
73 <question>
74 <para>When I trying building Valgrind, 'make' dies partway with
75 an assertion failure, something like this:
76<screen>
77% make: expand.c:489: allocated_variable_append:
78 Assertion 'current_variable_set_list->next != 0' failed.
79</screen>
80 </para>
81 </question>
82 <answer>
83 <para>It's probably a bug in 'make'. Some, but not all,
84 instances of version 3.79.1 have this bug, see
85 www.mail-archive.com/bug-make@gnu.org/msg01658.html. Try
86 upgrading to a more recent version of 'make'. Alternatively,
87 we have heard that unsetting the CFLAGS environment variable
88 avoids the problem.</para>
89 </answer>
90</qandaentry>
91
92</qandaset>
dee9b715c2005-08-03 20:28:33 +000093</sect1>
njn3e986b22004-11-30 10:43:45 +000094
95
96
dee9b715c2005-08-03 20:28:33 +000097<sect1 id="faq.abort"
njn3e986b22004-11-30 10:43:45 +000098 xreflabel="Valgrind aborts unexpectedly">
99<title>Valgrind aborts unexpectedly</title>
100<qandaset id="qset.abort">
101
102<qandaentry id="faq.exit_errors">
103 <question>
104 <para>Programs run OK on Valgrind, but at exit produce a bunch
njn04be8752005-08-26 21:01:32 +0000105 of errors a bit like this:
njn3e986b22004-11-30 10:43:45 +0000106<programlisting>
107==20755== Invalid read of size 4
108==20755== at 0x40281C8A: _nl_unload_locale (loadlocale.c:238)
109==20755== by 0x4028179D: free_mem (findlocale.c:257)
110==20755== by 0x402E0962: __libc_freeres (set-freeres.c:34)
111==20755== by 0x40048DCC: vgPlain___libc_freeres_wrapper (vg_clientfuncs.c:585)
112==20755== Address 0x40CC304C is 8 bytes inside a block of size 380 free'd
113==20755== at 0x400484C9: free (vg_clientfuncs.c:180)
114==20755== by 0x40281CBA: _nl_unload_locale (loadlocale.c:246)
115==20755== by 0x40281218: free_mem (setlocale.c:461)
116==20755== by 0x402E0962: __libc_freeres (set-freeres.c:34)
117</programlisting>
118
119 and then die with a segmentation fault.</para>
njn04be8752005-08-26 21:01:32 +0000120 </question>
121 <answer>
njn3e986b22004-11-30 10:43:45 +0000122 <para>When the program exits, Valgrind runs the procedure
123 <literal>__libc_freeres()</literal> in glibc. This is a hook
124 for memory debuggers, so they can ask glibc to free up any
125 memory it has used. Doing that is needed to ensure that
126 Valgrind doesn't incorrectly report space leaks in glibc.</para>
127 <para>Problem is that running
128 <literal>__libc_freeres()</literal> in older glibc versions
129 causes this crash.</para> <para>WORKAROUND FOR 1.1.X and later
130 versions of Valgrind: use the
131 <literal>--run-libc-freeres=no</literal> flag. You may then get
132 space leak reports for glibc-allocations (please _don't_ report
133 these to the glibc people, since they are not real leaks), but
134 at least the program runs.</para>
135 </answer>
136</qandaentry>
137
138<qandaentry id="faq.bugdeath">
139 <question>
140 <para>My (buggy) program dies like this:</para>
njn3e986b22004-11-30 10:43:45 +0000141 <screen>
142% valgrind: vg_malloc2.c:442 (bszW_to_pszW): Assertion 'pszW >= 0' failed.
143</screen>
144
njn04be8752005-08-26 21:01:32 +0000145 </question>
146 <answer>
njn3e986b22004-11-30 10:43:45 +0000147 <para>If Memcheck (the memory checker) shows any invalid reads,
148 invalid writes and invalid frees in your program, the above may
149 happen. Reason is that your program may trash Valgrind's
150 low-level memory manager, which then dies with the above
151 assertion, or something like this. The cure is to fix your
152 program so that it doesn't do any illegal memory accesses. The
153 above failure will hopefully go away after that.</para>
154 </answer>
155</qandaentry>
156
157<qandaentry id="faq.msgdeath">
158 <question>
159 <para>My program dies, printing a message like this along the
160 way:</para>
njn3e986b22004-11-30 10:43:45 +0000161<screen>
162% disInstr: unhandled instruction bytes: 0x66 0xF 0x2E 0x5
163</screen>
164
njn04be8752005-08-26 21:01:32 +0000165 </question>
166 <answer>
njn3e986b22004-11-30 10:43:45 +0000167 <para>Older versions did not support some x86 instructions,
168 particularly SSE/SSE2 instructions. Try a newer Valgrind; we
169 now support almost all instructions. If it still happens with
170 newer versions, if the failing instruction is an SSE/SSE2
njnd0d64732005-04-16 14:58:34 +0000171 instruction, you might be able to recompile your program
njn3e986b22004-11-30 10:43:45 +0000172 without it by using the flag
173 <computeroutput>-march</computeroutput> to gcc. Either way,
174 let us know and we'll try to fix it.</para>
175
176 <para>Another possibility is that your program has a bug and
177 erroneously jumps to a non-code address, in which case you'll
178 get a SIGILL signal. Memcheck/Addrcheck may issue a warning
179 just before this happens, but they might not if the jump
180 happens to land in addressable memory.</para>
181 </answer>
182</qandaentry>
183
njndde37b42005-10-06 18:58:33 +0000184<qandaentry id="faq.java">
185 <question>
186 <para>I tried running a Java program under Valgrind but Valgrind aborted.
187 Does Valgrind handle Java programs, dynamically generated code, etc?
188 </para>
189 </question>
190 <answer>
191 <para>Valgrind handles dynamically generated code without a problem.
192 In theory, Valgrind can run any Java program just fine, even those that
193 use JNI and are partially implemented in other languages like C and C++.
194 In practice, Java implementations tend to do nasty things that most
195 programs do not, and Valgrind sometimes falls over these corner
196 cases.</para>
197 <para>If your Java programs do not run under Valgrind, please file a
198 bug report and hopefully we'll be able to fix the problem.</para>
199 </answer>
200</qandaentry>
201
njn3e986b22004-11-30 10:43:45 +0000202</qandaset>
dee9b715c2005-08-03 20:28:33 +0000203</sect1>
njn3e986b22004-11-30 10:43:45 +0000204
205
dee9b715c2005-08-03 20:28:33 +0000206<sect1 id="faq.unexpected"
njn3e986b22004-11-30 10:43:45 +0000207 xreflabel="Valgrind behaves unexpectedly">
208<title>Valgrind behaves unexpectedly</title>
209<qandaset id="qset.unexpected">
210
njn3e986b22004-11-30 10:43:45 +0000211<qandaentry id="faq.slowthread">
212 <question>
213 <para>My threaded server process runs unbelievably slowly on
214 Valgrind. So slowly, in fact, that at first I thought it had
215 completely locked up.</para>
216 </question>
217 <answer>
218 <para>We are not completely sure about this, but one
219 possibility is that laptops with power management fool
220 Valgrind's timekeeping mechanism, which is (somewhat in error)
221 based on the x86 RDTSC instruction. A "fix" which is claimed
222 to work is to run some other cpu-intensive process at the same
223 time, so that the laptop's power-management clock-slowing does
224 not kick in. We would be interested in hearing more feedback
225 on this.</para>
226
227 <para>Another possible cause is that versions prior to 1.9.6
228 did not support threading on glibc 2.3.X systems well.
229 Hopefully the situation is much improved with 1.9.6 and later
230 versions.</para>
231 </answer>
232</qandaentry>
233
234
235<qandaentry id="faq.reports">
236 <question>
237 <para>My program uses the C++ STL and string classes. Valgrind
238 reports 'still reachable' memory leaks involving these classes
239 at the exit of the program, but there should be none.</para>
240 </question>
241 <answer>
242 <para>First of all: relax, it's probably not a bug, but a
243 feature. Many implementations of the C++ standard libraries
244 use their own memory pool allocators. Memory for quite a
245 number of destructed objects is not immediately freed and given
246 back to the OS, but kept in the pool(s) for later re-use. The
247 fact that the pools are not freed at the exit() of the program
248 cause Valgrind to report this memory as still reachable. The
249 behaviour not to free pools at the exit() could be called a bug
250 of the library though.</para>
251
252 <para>Using gcc, you can force the STL to use malloc and to
253 free memory as soon as possible by globally disabling memory
254 caching. Beware! Doing so will probably slow down your
255 program, sometimes drastically.</para>
256 <itemizedlist>
257 <listitem>
258 <para>With gcc 2.91, 2.95, 3.0 and 3.1, compile all source
259 using the STL with <literal>-D__USE_MALLOC</literal>. Beware!
260 This is removed from gcc starting with version 3.3.</para>
261 </listitem>
262 <listitem>
njn8a5ad762005-05-12 13:45:56 +0000263 <para>With gcc 3.2.2 and later, you should export the environment
njn3e986b22004-11-30 10:43:45 +0000264 variable <literal>GLIBCPP_FORCE_NEW</literal> before running
265 your program.</para>
266 </listitem>
njn8a5ad762005-05-12 13:45:56 +0000267 <listitem>
268 <para>With gcc 3.4 and later, that variable has changed name to
269 <literal>GLIBCXX_FORCE_NEW</literal>.</para>
270 </listitem>
njn3e986b22004-11-30 10:43:45 +0000271 </itemizedlist>
272
273 <para>There are other ways to disable memory pooling: using the
274 <literal>malloc_alloc</literal> template with your objects (not
275 portable, but should work for gcc) or even writing your own
276 memory allocators. But all this goes beyond the scope of this
277 FAQ. Start by reading <ulink
278 url="http://gcc.gnu.org/onlinedocs/libstdc++/ext/howto.html#3">
279 http://gcc.gnu.org/onlinedocs/libstdc++/ext/howto.html#3</ulink>
280 if you absolutely want to do that. But beware:</para>
281
282 <orderedlist>
283 <listitem>
284 <para>there are currently changes underway for gcc which are
285 not totally reflected in the docs right now ("now" == 26 Apr
286 03)</para>
287 </listitem>
288 <listitem>
289 <para>allocators belong to the more messy parts of the STL
njnd0d64732005-04-16 14:58:34 +0000290 and people went to great lengths to make it portable across
njn3e986b22004-11-30 10:43:45 +0000291 platforms. Chances are good that your solution will work on
292 your platform, but not on others.</para>
293 </listitem>
294 </orderedlist>
295 </answer>
296</qandaentry>
297
298
299<qandaentry id="faq.unhelpful">
300 <question>
301 <para>The stack traces given by Memcheck (or another tool)
302 aren't helpful. How can I improve them?</para>
303 </question>
304 <answer>
305 <para>If they're not long enough, use
306 <literal>--num-callers</literal> to make them longer.</para>
307 <para>If they're not detailed enough, make sure you are
308 compiling with <literal>-g</literal> to add debug information.
309 And don't strip symbol tables (programs should be unstripped
310 unless you run 'strip' on them; some libraries ship
311 stripped).</para>
312
njn0211ff32005-05-15 14:49:24 +0000313 <para>Also, for leak reports involving shared objects, if the shared
314 object is unloaded before the program terminates, Valgrind will discard
315 the debug information and the error message will be full of
316 <literal>???</literal> entries. The workaround here is to avoid calling
317 dlclose() on these shared objects.
318 </para>
319
njn3e986b22004-11-30 10:43:45 +0000320 <para>Also, <literal>-fomit-frame-pointer</literal> and
321 <literal>-fstack-check</literal> can make stack traces
322 worse.</para>
323
324 <para>Some example sub-traces:</para>
325
njn15d7c342005-09-30 01:43:32 +0000326 <itemizedlist>
327 <listitem>
328 <para>With debug information and unstripped (best):</para>
njn3e986b22004-11-30 10:43:45 +0000329<programlisting>
330Invalid write of size 1
331 at 0x80483BF: really (malloc1.c:20)
332 by 0x8048370: main (malloc1.c:9)
333</programlisting>
njn15d7c342005-09-30 01:43:32 +0000334 </listitem>
njn3e986b22004-11-30 10:43:45 +0000335
njn15d7c342005-09-30 01:43:32 +0000336 <listitem>
337 <para>With no debug information, unstripped:</para>
njn3e986b22004-11-30 10:43:45 +0000338<programlisting>
339Invalid write of size 1
340 at 0x80483BF: really (in /auto/homes/njn25/grind/head5/a.out)
341 by 0x8048370: main (in /auto/homes/njn25/grind/head5/a.out)
342</programlisting>
njn15d7c342005-09-30 01:43:32 +0000343 </listitem>
njn3e986b22004-11-30 10:43:45 +0000344
njn15d7c342005-09-30 01:43:32 +0000345 <listitem>
346 <para>With no debug information, stripped:</para>
njn3e986b22004-11-30 10:43:45 +0000347<programlisting>
348Invalid write of size 1
349 at 0x80483BF: (within /auto/homes/njn25/grind/head5/a.out)
350 by 0x8048370: (within /auto/homes/njn25/grind/head5/a.out)
351 by 0x42015703: __libc_start_main (in /lib/tls/libc-2.3.2.so)
352 by 0x80482CC: (within /auto/homes/njn25/grind/head5/a.out)
353</programlisting>
njn15d7c342005-09-30 01:43:32 +0000354 </listitem>
njn3e986b22004-11-30 10:43:45 +0000355
njn15d7c342005-09-30 01:43:32 +0000356 <listitem>
357 <para>With debug information and -fomit-frame-pointer:</para>
njn3e986b22004-11-30 10:43:45 +0000358<programlisting>
359Invalid write of size 1
360 at 0x80483C4: really (malloc1.c:20)
361 by 0x42015703: __libc_start_main (in /lib/tls/libc-2.3.2.so)
362 by 0x80482CC: ??? (start.S:81)
363</programlisting>
njn15d7c342005-09-30 01:43:32 +0000364 </listitem>
njn3e986b22004-11-30 10:43:45 +0000365
njn15d7c342005-09-30 01:43:32 +0000366 <listitem>
367 <para>A leak error message involving an unloaded shared object:</para>
njn0211ff32005-05-15 14:49:24 +0000368<programlisting>
36984 bytes in 1 blocks are possibly lost in loss record 488 of 713
370 at 0x1B9036DA: operator new(unsigned) (vg_replace_malloc.c:132)
371 by 0x1DB63EEB: ???
372 by 0x1DB4B800: ???
373 by 0x1D65E007: ???
374 by 0x8049EE6: main (main.cpp:24)
375</programlisting>
njn15d7c342005-09-30 01:43:32 +0000376 </listitem>
377 </itemizedlist>
njn0211ff32005-05-15 14:49:24 +0000378
njn3e986b22004-11-30 10:43:45 +0000379 </answer>
380</qandaentry>
381
njn16eeb4e2005-06-16 03:56:58 +0000382<qandaentry id="faq.aliases">
383 <question>
384 <para>The stack traces given by Memcheck (or another tool) seem to
385 have the wrong function name in them. What's happening?</para>
386 </question>
387 <answer>
388 <para>Occasionally Valgrind stack traces get the wrong function names.
389 This is caused by glibc using aliases to effectively give one function two
390 names. Most of the time Valgrind chooses a suitable name, but very
391 occasionally it gets it wrong.
392
393 Examples we know of are printing 'bcmp' instead of 'memcmp', 'index'
394 instead of 'strchr', and 'rindex' instead of 'strrchr'.</para>
395 </answer>
396</qandaentry>
397
njn3e986b22004-11-30 10:43:45 +0000398</qandaset>
dee9b715c2005-08-03 20:28:33 +0000399</sect1>
njn3e986b22004-11-30 10:43:45 +0000400
401
dee9b715c2005-08-03 20:28:33 +0000402<sect1 id="faq.notfound" xreflabel="Memcheck doesn't find my bug">
njn3e986b22004-11-30 10:43:45 +0000403<title>Memcheck doesn't find my bug</title>
404<qandaset id="qset.notfound">
405
406<qandaentry id="faq.hiddenbug">
407 <question>
408 <para>I try running "valgrind --tool=memcheck my_program" and
409 get Valgrind's startup message, but I don't get any errors and
410 I know my program has errors.</para>
411 </question>
412 <answer>
njna11b9b02005-03-27 17:05:08 +0000413 <para>There are two possible causes of this.</para>
414
415 <para>First, by default, Valgrind only traces the top-level process.
njn3e986b22004-11-30 10:43:45 +0000416 So if your program spawns children, they won't be traced by
417 Valgrind by default. Also, if your program is started by a
418 shell script, Perl script, or something similar, Valgrind will
419 trace the shell, or the Perl interpreter, or equivalent.</para>
420
421 <para>To trace child processes, use the
422 <literal>--trace-children=yes</literal> option.</para>
423
424 <para>If you are tracing large trees of processes, it can be
425 less disruptive to have the output sent over the network. Give
426 Valgrind the flag
427 <literal>--log-socket=127.0.0.1:12345</literal> (if you want
428 logging output sent to <literal>port 12345</literal> on
429 <literal>localhost</literal>). You can use the
430 valgrind-listener program to listen on that port:</para>
431<programlisting>
432valgrind-listener 12345
433</programlisting>
434
435 <para>Obviously you have to start the listener process first.
njn49818412005-09-26 01:11:40 +0000436 See the manual for more details.</para>
njna11b9b02005-03-27 17:05:08 +0000437
438 <para>Second, if your program is statically linked, most Valgrind tools
439 won't work as well, because they won't be able to replace certain
440 functions, such as malloc(), with their own versions. A key indicator of
441 this is if Memcheck says:
442<programlisting>
443No malloc'd blocks -- no leaks are possible
444</programlisting>
445when you know your program calls malloc(). The workaround is to avoid
446statically linking your program.</para>
njn3e986b22004-11-30 10:43:45 +0000447 </answer>
448</qandaentry>
449
450
451<qandaentry id="faq.overruns">
452 <question>
453 <para>Why doesn't Memcheck find the array overruns in this program?</para>
njn3e986b22004-11-30 10:43:45 +0000454<programlisting>
455int static[5];
456
457int main(void)
458{
459 int stack[5];
460
461 static[5] = 0;
462 stack [5] = 0;
463
464 return 0;
465}
466</programlisting>
njn04be8752005-08-26 21:01:32 +0000467 </question>
468 <answer>
njn3e986b22004-11-30 10:43:45 +0000469 <para>Unfortunately, Memcheck doesn't do bounds checking on
470 static or stack arrays. We'd like to, but it's just not
471 possible to do in a reasonable way that fits with how Memcheck
472 works. Sorry.</para>
473 </answer>
474</qandaentry>
475
476
njn3e986b22004-11-30 10:43:45 +0000477</qandaset>
dee9b715c2005-08-03 20:28:33 +0000478</sect1>
njn3e986b22004-11-30 10:43:45 +0000479
480
dee9b715c2005-08-03 20:28:33 +0000481<sect1 id="faq.misc"
njn3e986b22004-11-30 10:43:45 +0000482 xreflabel="Miscellaneous">
483<title>Miscellaneous</title>
484<qandaset id="qset.misc">
485
486<qandaentry id="faq.writesupp">
487 <question>
488 <para>I tried writing a suppression but it didn't work. Can
489 you write my suppression for me?</para>
490 </question>
491 <answer>
492 <para>Yes! Use the
493 <computeroutput>--gen-suppressions=yes</computeroutput> feature
494 to spit out suppressions automatically for you. You can then
495 edit them if you like, eg. combining similar automatically
496 generated suppressions using wildcards like
497 <literal>'*'</literal>.</para>
498
499 <para>If you really want to write suppressions by hand, read
500 the manual carefully. Note particularly that C++ function
501 names must be <literal>_mangled_</literal>.</para>
502 </answer>
503</qandaentry>
504
505
506<qandaentry id="faq.deflost">
507 <question>
508 <para>With Memcheck/Addrcheck's memory leak detector, what's
509 the difference between "definitely lost", "possibly lost",
510 "still reachable", and "suppressed"?</para>
511 </question>
512 <answer>
njn49818412005-09-26 01:11:40 +0000513 <para>The details are in the Memcheck section of the user manual.</para>
njn3e986b22004-11-30 10:43:45 +0000514
515 <para>In short:</para>
516 <itemizedlist>
517 <listitem>
518 <para>"definitely lost" means your program is leaking memory
519 -- fix it!</para>
520 </listitem>
521 <listitem>
522 <para>"possibly lost" means your program is probably leaking
523 memory, unless you're doing funny things with
524 pointers.</para>
525 </listitem>
526 <listitem>
527 <para>"still reachable" means your program is probably ok --
528 it didn't free some memory it could have. This is quite
529 common and often reasonable. Don't use
530 <computeroutput>--show-reachable=yes</computeroutput> if you
531 don't want to see these reports.</para>
532 </listitem>
533 <listitem>
534 <para>"suppressed" means that a leak error has been
535 suppressed. There are some suppressions in the default
536 suppression files. You can ignore suppressed errors.</para>
537 </listitem>
538 </itemizedlist>
539 </answer>
540</qandaentry>
541
542
543</qandaset>
dee9b715c2005-08-03 20:28:33 +0000544</sect1>
njn3e986b22004-11-30 10:43:45 +0000545
546
547<!-- template
dee9b715c2005-08-03 20:28:33 +0000548<sect1 id="faq."
njn3e986b22004-11-30 10:43:45 +0000549 xreflabel="xx">
550<title>xx</title>
551<qandaset id="qset.">
552
553<qandaentry id="faq.deflost">
554 <question>
555 <para></para>
556 </question>
557 <answer>
558 <para></para>
559 </answer>
560</qandaentry>
561
562</qandaset>
dee9b715c2005-08-03 20:28:33 +0000563</sect1>
njn3e986b22004-11-30 10:43:45 +0000564-->
565
566
567
dee9b715c2005-08-03 20:28:33 +0000568<sect1 id="faq.help" xreflabel="How To Get Further Assistance">
njn3e986b22004-11-30 10:43:45 +0000569<title>How To Get Further Assistance</title>
570
571
572<para>Please read all of this section before posting.</para>
573
574<para>If you think an answer is incomplete or inaccurate, please
575e-mail <ulink url="mailto:&vg-vemail;">&vg-vemail;</ulink>.</para>
576
577<para>Read the appropriate section(s) of the Manual(s):
578<ulink url="http://www.valgrind.org/docs/">Valgrind
579Documentation</ulink>.</para>
580
581<para>Read the <ulink url="http://www.valgrind.org/docs/">Distribution Documents</ulink>.</para>
582
583<para><ulink url="http://search.gmane.org">Search</ulink> the
584<ulink url="http://news.gmane.org/gmane.comp.debugging.valgrind">valgrind-users</ulink> mailing list archives, using the group name
585<computeroutput>gmane.comp.debugging.valgrind</computeroutput>.</para>
586
587<para>Only when you have tried all of these things and are still stuck,
588should you post to the <ulink url="&vg-users-list;">valgrind-users
589mailing list</ulink>. In which case, please read the following
590carefully. Making a complete posting will greatly increase the chances
591that an expert or fellow user reading it will have enough information
592and motivation to reply.</para>
593
594<para>Make sure you give full details of the problem,
595including the full output of <computeroutput>valgrind
596-v</computeroutput>, if applicable. Also which Linux distribution
597you're using (Red Hat, Debian, etc) and its version number.</para>
598
599<para>You are in little danger of making your posting too long
600unless you include large chunks of valgrind's (unsuppressed)
601output, so err on the side of giving too much information.</para>
602
603<para>Clearly written subject lines and message bodies are appreciated,
604too.</para>
605
606<para>Finally, remember that, despite the fact that most of the
607community are very helpful and responsive to emailed questions,
608you are probably requesting help from unpaid volunteers, so you
609have no guarantee of receiving an answer.</para>
610
dee9b715c2005-08-03 20:28:33 +0000611</sect1>
612
njn3e986b22004-11-30 10:43:45 +0000613
614</book>