[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: assertion fault. on loggin
From: |
Paul Edwards |
Subject: |
Re: assertion fault. on loggin |
Date: |
Tue, 02 Sep 2003 20:38:33 GMT |
"Pierre" <pceteaudatmacif.fr@netcourrier.com> wrote in message
b86193eb.0309020153.504660d8@posting.google.com">news:b86193eb.0309020153.504660d8@posting.google.com...
> > We'll wait for the original core dump before looking for that.
>
> (dbx) where
>
> Is it what you expected ?
These things looked reasonable. What was interesting is that the
core dump happened on the second call to buffer_shutdown in
client.c. As such, I'd like to see the difference between the first
call (which worked), and the second (which coredumped). To
wit, can you put the following code in to replace the other code
you have in buffer.c...
/* Must be a pipe or a socket. What could go wrong? */
{
int fn;
printf("bc is %p\n", bc);
printf("bc->fp is %p\n", bc->fp);
fn = fileno (bc->fp);
printf("fn is %d\n", fn);
if (fstat ( (fn), &s ) == -1)
{
*(char *)0 = '\0';
}
}
and provide both the output from the printfs and also the dbx "where"
output.
Thanks. Paul.
- Re: assertion fault. on loggin, Pierre, 2003/09/02
- Re: assertion fault. on loggin,
Paul Edwards <=
- Re: assertion fault. on loggin, Paul Edwards, 2003/09/02
- Re: assertion fault. on loggin, Pierre, 2003/09/09
- Re: assertion fault. on loggin, Paul Edwards, 2003/09/10
- Re: assertion fault. on loggin, Pierre, 2003/09/11
- Re: assertion fault. on loggin, Paul Edwards, 2003/09/11
- Re: assertion fault. on loggin, Pierre, 2003/09/11
- Re: assertion fault. on loggin, Paul Edwards, 2003/09/11
- Re: assertion fault. on loggin, Pierre, 2003/09/12
- Re: assertion fault. on loggin, Paul Edwards, 2003/09/12
- Re: assertion fault. on loggin, Pierre, 2003/09/12