1 $Id: BUGS,v 1.1.1.1 2008-09-23 16:32:05 hoffman Exp $
6 \___|\___/|_| \_\_____|
10 Curl and libcurl have grown substantially since the beginning. At the time
11 of writing (July 2007), there are about 47000 lines of source code, and by
12 the time you read this it has probably grown even more.
14 Of course there are lots of bugs left. And lots of misfeatures.
16 To help us make curl the stable and solid product we want it to be, we need
17 bug reports and bug fixes.
21 If you can't fix a bug yourself and submit a fix for it, try to report an as
22 detailed report as possible to a curl mailing list to allow one of us to
23 have a go at a solution. You should also post your bug/problem at curl's bug
24 tracking system over at
26 http://sourceforge.net/bugs/?group_id=976
28 (but please read the sections below first before doing that)
30 If you feel you need to ask around first, find a suitable mailing list and
31 post there. The lists are available on http://curl.haxx.se/mail/
35 When reporting a bug, you should include all information that will help us
36 understand what's wrong, what you expected to happen and how to repeat the
37 bad behavior. You therefore need to tell us:
39 - your operating system's name and version number (uname -a under a unix
41 - what version of curl you're using (curl -V is fine)
42 - versions of the used libraries that libcurl is built to use
43 - what URL you were working with (if possible), at least which protocol
45 and anything and everything else you think matters. Tell us what you
46 expected to happen, tell use what did happen, tell us how you could make it
47 work another way. Dig around, try out, test. Then include all the tiny bits
48 and pieces in your report. You will benefit from this yourself, as it will
49 enable us to help you quicker and more accurately.
51 Since curl deals with networks, it often helps us if you include a protocol
52 debug dump with your bug report. The output you get by using the -v or
55 If curl crashed, causing a core dump (in unix), there is hardly any use to
56 send that huge file to anyone of us. Unless we have an exact same system
57 setup as you, we can't do much with it. Instead we ask you to get a stack
58 trace and send that (much smaller) output to us instead!
60 The address and how to subscribe to the mailing lists are detailed in the
63 HOW TO GET A STACK TRACE
65 First, you must make sure that you compile all sources with -g and that you
66 don't 'strip' the final executable. Try to avoid optimizing the code as
67 well, remove -O, -O2 etc from the compiler options.
69 Run the program until it cores.
71 Run your debugger on the core file, like '<debugger> curl core'. <debugger>
72 should be replaced with the name of your debugger, in most cases that will
73 be 'gdb', but 'dbx' and others also occur.
75 When the debugger has finished loading the core file and presents you a
76 prompt, enter 'where' (without the quotes) and press return.
78 The list that is presented is the stack trace. If everything worked, it is
79 supposed to contain the chain of functions that were called when curl
80 crashed. Include the stack trace with your detailed bug report. It'll help a