ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.155 by root, Mon May 19 13:48:20 2008 UTC vs.
Revision 1.156 by root, Tue May 20 20:00:34 2008 UTC

3352=back 3352=back
3353 3353
3354If you know of other additional requirements drop me a note. 3354If you know of other additional requirements drop me a note.
3355 3355
3356 3356
3357=head1 VALGRIND
3358
3359Valgrind has a special section here because it is a popular tool that is
3360highly useful, but valgrind reports are very hard to interpret.
3361
3362If you think you found a bug (memory leak, uninitialised data access etc.)
3363in libev, then check twice: If valgrind reports something like:
3364
3365 ==2274== definitely lost: 0 bytes in 0 blocks.
3366 ==2274== possibly lost: 0 bytes in 0 blocks.
3367 ==2274== still reachable: 256 bytes in 1 blocks.
3368
3369then there is no memory leak. Similarly, under some circumstances,
3370valgrind might report kernel bugs as if it were a bug in libev, or it
3371might be confused (it is a very good tool, but only a tool).
3372
3373If you are unsure about something, feel free to contact the mailing list
3374with the full valgrind report and an explanation on why you think this is
3375a bug in libev. However, don't be annoyed when you get a brisk "this is
3376no bug" answer and take the chance of learning how to interpret valgrind
3377properly.
3378
3379If you need, for some reason, empty reports from valgrind for your project
3380I suggest using suppression lists.
3381
3382
3357=head1 AUTHOR 3383=head1 AUTHOR
3358 3384
3359Marc Lehmann <libev@schmorp.de>. 3385Marc Lehmann <libev@schmorp.de>.
3360 3386

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines