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: Fri, 22 Aug 2003 15:02:22 GMT

"Pierre" <pceteaudatmacif.fr@netcourrier.com> wrote in message 
b86193eb.0308220455.7d293aa6@posting.google.com">news:b86193eb.0308220455.7d293aa6@posting.google.com...
> > Hopefully that will produce a core dump and you can post the
> > traceback and maybe that will shed light on the problem.
> >
> > BFN.  Paul.
>
> We've done it :
> bc is 20035a08
> bc->fp is f0004c20
> fn is 4
>
> Does-it help ?

Well, those look like very unusual addresses to me.

But fn looks more reasonable.

Can you try putting
>     if (fstat ( (fn = fileno (bc->fp)), &s ) != -1)

instead of == -1

so that I can see what good pointer values look like on your system.

BFN.  Paul.


<     assert (fstat ( fileno (bc->fp), &s ) != -1);
---
>     {
>     int fn;
>
>     if (fstat ( (fn = fileno (bc->fp)), &s ) == -1)
>     {
>         printf("bc is %p\n", bc);
>         printf("bc->fp is %p\n", bc->fp);
>         printf("fn is %d\n", fn);
>         *(char *)0 = '\0';
>     }
>     }



>
> Pierre
>
> pceteaud at macif.fr




reply via email to

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