]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/docs/BUGS
hello world
[icculus/iodoom3.git] / neo / curl / docs / BUGS
1 $Id: BUGS,v 1.7 2003/08/18 15:24:46 bagder Exp $
2                                   _   _ ____  _     
3                               ___| | | |  _ \| |    
4                              / __| | | | |_) | |    
5                             | (__| |_| |  _ <| |___ 
6                              \___|\___/|_| \_\_____|
7
8 BUGS
9
10   Curl and libcurl have grown substantially since the beginning. At the time
11   of writing (August 2003), there are about 40000 lines of source code, and by
12   the time you read this it has probably grown even more.
13
14   Of course there are lots of bugs left. And lots of misfeatures.
15
16   To help us make curl the stable and solid product we want it to be, we need
17   bug reports and bug fixes.
18
19 WHERE TO REPORT
20
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
25
26         http://sourceforge.net/bugs/?group_id=976
27
28   (but please read the sections below first before doing that)
29
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/
32
33 WHAT TO REPORT
34
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:
38
39    - your operating system's name and version number (uname -a under a unix
40      is fine)
41    - what version of curl you're using (curl -V is fine)
42    - what URL you were working with (if possible), at least which protocol
43
44   and anything and everything else you think matters. Tell us what you
45   expected to happen, tell use what did happen, tell us how you could make it
46   work another way. Dig around, try out, test. Then include all the tiny bits
47   and pieces in your report. You will benefit from this yourself, as it will
48   enable us to help you quicker and more accurately.
49
50   Since curl deals with networks, it often helps us if you include a protocol
51   debug dump with your bug report. The output you get by using the -v or
52   --trace options.
53
54   If curl crashed, causing a core dump (in unix), there is hardly any use to
55   send that huge file to anyone of us. Unless we have an exact same system
56   setup as you, we can't do much with it. Instead we ask you to get a stack
57   trace and send that (much smaller) output to us instead!
58
59   The address and how to subscribe to the mailing lists are detailed in the
60   MANUAL file.
61
62 HOW TO GET A STACK TRACE
63
64   First, you must make sure that you compile all sources with -g and that you
65   don't 'strip' the final executable. Try to avoid optimizing the code as
66   well, remove -O, -O2 etc from the compiler options.
67
68   Run the program until it cores.
69
70   Run your debugger on the core file, like '<debugger> curl core'. <debugger>
71   should be replaced with the name of your debugger, in most cases that will
72   be 'gdb', but 'dbx' and others also occur.
73
74   When the debugger has finished loading the core file and presents you a
75   prompt, enter 'where' (without the quotes) and press return.
76
77   The list that is presented is the stack trace. If everything worked, it is
78   supposed to contain the chain of functions that were called when curl
79   crashed. Include the stack trace with your detailed bug report. It'll help a
80   lot.
81