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