import from HEAD:
[freeradius.git] / doc / bugs
1 ( The FreeRADIUS web site is at <URL: http://www.freeradius.org/>, and
2 most information referenced in this document can be found there.
3
4 This is primarily for non-developers of the FreeRADIUS server.  If you are
5 able to patch the code to work correctly, then we invite you to join the 
6 development list to discuss it.  If you're the type who know little about
7 how to code, then this is the place for you!
8
9
10 = So you think you've found a bug in the FreeRADIUS server
11
12 You should first discuss it on the users list, to see if anyone can
13 reproduce it.  Often there's a simple explanation of why the server
14 behaves as it does, and it's not necessarily a bug in the code, so
15 browse the lists' archives of the last two months, and if you don't
16 see messages about it, ask!
17
18 If the behavior is correct but confusing, we think that's a bug too, and
19 you should file a bug against our documentation.
20
21
22 = Looking at core dumps
23
24 If the server, or one of the accompyaning programs core dumps, then
25 you should rebuild the server as follows:
26
27 $ ./configure --enable-developer
28 $ make
29 $ make install
30
31   and then run the program again.  You may have to to enable core
32   dumps, via:
33
34 $ ulimit -c unlimited
35
36   When it core dumps, do:
37
38 $ gdb /path/to/executable /path/to/core/file
39
40   And then in 'gdb', do:
41
42 $ bt
43
44   Copy the output, and mail it to the list, along with the name of the
45 program you were running, and the name of the operating system.
46 Without this information, it's impossible for anyone to know why the
47 program core dumped.
48
49
50   You can also submit the information to the bug database at:
51
52         http://bugs.freeradius.org/
53
54   Submitting it to the bug database ensures that the bug report won't
55 get forgotten, and that someone will eventually respond to it.
56
57 --
58
59 FreeRADIUS Project, copyright 2004
60 $Id$