bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assertion fault. on loggin


From: Pierre
Subject: Re: assertion fault. on loggin
Date: 11 Sep 2003 06:32:20 -0700

> Ok.  How does their platform compare to yours?

They uses AIX 5.1 instead of AIX 4.3
> 
> P.S. Here is the next test result I would like to see, whether a
> 5 second delay is enough to fix the error.  Can you also check
> that it does pause about 5 seconds between the printfs as "sleep"
> is a non-ISO function.
> 
>     /* 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)
>     {
>         sleep(5);
>         if (fstat(fn, &s) == -1)
>         {
>             printf("still rooted\n");
>         }
>         else
>         {
>             printf("probably race\n");
>         }
>         *(char *)0 = '\0';
>     }
>     }

the answer after 5 real seconds :
still rooted
Erreur de segmentation(coredump)

I haved test with a 60 seconds delay : still the same result.

return 0; seems to be a good workaround.

I've asked if there is an higher maintenance level for our system. I'm
waiting the answer.

Thanks

Pierre.


reply via email to

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