INN 2.5, inn-CURRENT-20090103 Issues
William Kronert
wkronert at sunstroke.sdsu.edu
Tue Jan 6 20:28:09 UTC 2009
Hi Julien,
At 11:53 AM 1/6/2009, Julien ÉLIE wrote:
>Hi William,
>
>>I am open to any suggestions and trying out any possible patches.
>
>And with that one?
>It only does the check in two times: if (a) { if (b) { } }.
>
>What is your compiler by the way?
gcc on Fedora OS.
>--- host.c (révision 8263)
>+++ host.c (copie de travail)
>@@ -1783,13 +1783,16 @@
> delArticle (extraRef) ;
>
> remArticle (article,&host->processed,&host->processedTail) ;
>- if (!cxnCheckstate (cxn))
>+ if (cxn != NULL)
> {
>- host->artsToTape++ ;
>- host->gArtsToTape++ ;
>- procArtsToTape++ ;
>- tapeTakeArticle (host->myTape,article) ;
>- return ;
>+ if (!cxnCheckstate (cxn))
>+ {
>+ host->artsToTape++ ;
>+ host->gArtsToTape++ ;
>+ procArtsToTape++ ;
>+ tapeTakeArticle (host->myTape,article) ;
>+ return ;
>+ }
> }
> }
I just added the above patch to host.c I then
ctlinnd flush innfeed! to restart it. There is
no other cases of innfeed running. I haven't
seen any problems after restarting innfeed. I
will give this new patch a try and see how it
goes. I should have a good idea by tomorrow
morning, perhaps sooner. If it happens again
this _might_ give us a better idea of where the problem is, I hope.
I will hope for the best. Thanks much.
Bill
More information about the inn-workers
mailing list