core with incorrect fd ... (File Descriptor)
rmkml
rmkml at wanadoo.fr
Sun May 18 06:02:49 PDT 2003
Hi,
I use Freebsd 4.8 Release (with no patch/cvs)
and no debug option in kernel
I have a program that use libc_r
Program is client / server
This morning, this program
have a core with signal 10, Bus error
on incorrect fd :
(gdb) bt ful
#0 0x804b387 in select_fd (fd=-1207959548, maxtime=1275068416,
writep=0) at cnx_utils.c:44
fds = {fds_bits = {0 <repeats 32 times>}}
exceptfds = {fds_bits = {0 <repeats 14 times>, 672012529,
672321100, 3145641596, 672048692, 672321100, 1, 137907200, 0, 0,
4294967295, 3145641644, 672049282,
3087007748, 0, 0, 672040120, 672321100, 0}}
#1 0x804b4ce in get_line_from_sock (fd=-1207959548, buf=0xbb7ebf
<Address 0xbb7ebf out of bounds>, len=503316496, timeout=1275068416) at
cnx_utils.c:105
buf = 0xbb7eae9c ""
len = 4096
res = -1
cur = -1140850688
ptr = 0xbb7ebfb8 ""
#2 0x804c7 in ?? ()
No symbol table info available.
Cannot access memory at address 0xe3bb7ecf.
A process since to crash after a valid connection (accept())
so the fd is normally correct ...
A program has run well,
with an average one connexion by second,
and uptime box is 13 days ...
Have anyone any ideas where to look for ?
Can we trust in gdb values ?
(because gdb is not multi-thread)
Thanks for Answers
Regards.
More information about the freebsd-hackers
mailing list