bug-cvs
[Top][All Lists]
Advanced

[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" <address@hidden> wrote in message news:address@hidden
> > 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]