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

Re: Help requested for reload error



>>>>> "VALETTE" == VALETTE Eric <valette@crf.canon.fr> writes:

>>>>> "Holger" == Holger Zimmermann <zimpel@t-online.de> writes:
Holger> VALETTE Eric schrieb:

VALETTE> Yes but in the path, this is the first return value but then it return
VALETTE> and return and then reach HTPP_Dispatch...

Just for the sake of completeness here is the path that cause problem :

 HTTPUtil_doHTTPError (pPIHTTP=0xbff35ed0, iErrorCode=304) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/HTTPUtil.C:801
#1  0x6f386 in ConditionalGet::Handle (this=0xbff5ef04, tPIHTTP=@0xbff35ed0) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/CondGet.C:322
#2  0x14a22 in HandlerBaseHTTP::Execute (this=0xbff5ef04, iArgc=1, ppArgv=0xbff35944) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/HandBase.C:120
#3  0x14a73 in HandlerBaseHTTP_execute (pObj=0xbff55004, iArgc=1, ppArgv=0xbff35944) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/HandBase.C:140
#4  0x573be in _PILogicClass::Execute (this=0xbff53c04, pObj=0xbff55004, iArgc=1, ppArgv=0xbff35944) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.h:111
#5  0x221e0 in PILogic_execute (pObj=0xbff55004, iArgc=1, ppArgv=0xbff35944) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.C:75
#6  0x19d8b in HTTPCore_executePhase (pPIHTTP=0xbff35ed0, nextFn=0x6a364 <FlexibleHandler::GetNextHandler(void *)>, pArg=0xbff3595c) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/HTTPCore.C:1771
#7  0x6a4bc in FlexibleHandler::Handle (this=0xbfffa204, iPhase=7, tPIHTTP=@0xbff35ed0) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/FlexHand.C:427
#8  0x14a22 in HandlerBaseHTTP::Execute (this=0xbfffa204, iArgc=1, ppArgv=0xbff35e44) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/HandBase.C:120
#9  0x14a73 in HandlerBaseHTTP_execute (pObj=0xbff5a204, iArgc=1, ppArgv=0xbff35e44) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/HTTP/HandBase.C:140
#10 0x573be in _PILogicClass::Execute (this=0xbff73404, pObj=0xbff5a204, iArgc=1, ppArgv=0xbff35e44) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.h:111
#11 0x221e0 in PILogic_execute (pObj=0xbff5a204, iArgc=1, ppArgv=0xbff35e44) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.C:75
#12 0x19d8b in HTTPCore_executePhase (pPIHTTP=0xbff35ed0, nextFn=0x1a118 <Internal_ExecutePhaseCallback(void *)>, pArg=0xbff35e50) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/HTTPCore.C:1771
#13 0x1a18c in Internal_ExecutePhase (pPIHTTP=0xbff35ed0, lHandlers=@0xbff73330) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/HTTPCore.C:1951
#14 0x1a23f in HTTPCore_dispatch (pPIHTTP=0xbff35ed0, iStartPhase=0, iEndPhase=10) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/HTTPCore.C:1989
#15 0x5768c in Dispatcher::HandleConnection (this=0xbfff7d24, tPIHTTP=@0xbff35ed0) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/Dispatch.C:158
#16 0x5776d in Dispatcher::Execute (this=0xbfff7d24, iArgc=1, ppArgv=0xbff35fb8) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/Dispatch.C:198
#17 0x21ee0 in Dispatcher_execute (pObj=0xbff76a04, iArgc=1, ppArgv=0xbff35fb8) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi3API/Dispatch.C:268
#18 0x573be in _PILogicClass::Execute (this=0xbffe1c04, pObj=0xbff76a04, iArgc=1, ppArgv=0xbff35fb8) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.h:111
#19 0x221e0 in PILogic_execute (pObj=0xbff76a04, iArgc=1, ppArgv=0xbff35fb8) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Pi2API/_PILogic.C:75
#20 0x10a59 in IOServerBase::DispatchConnection (this=0xbff8e344, pIOObject=0xbff43004) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Server/IOSrvBse.C:109
#21 0x7bff7 in MultiThreadedIOServer::StaticDispatchConnection (pThreadRecord=0xbff4ecc4) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Server/MThread.C:371
#22 0x2b63a in POSIXThread::ThreadFunction (this=0xbff4eca4) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Platform/KrnlSync.C:1035
#23 0x2b413 in PIPOSIXThreadFunction (ulThread=3220499620) at /work/ChorusOs/source/merge/extended-i386at/src/act/Pi3Web/Source/Platform/KrnlSync.C:824
#24 0x51223 in threadStartup () at /work/ChorusOs/source/merge/extended-i386at/srrc/act/Pi3Web/Source/Base/SwapStr.C:81

Basically if I do stepping I return up to frame #14 (HTTPCore_dispatch)
where I will restart execution due to the INT_REDIRECT. But restarting does 
not modify the execution path so I will loop until I reach the maximum
au redirection authorized.

What may explain the problem is  that may be I should not restart
the same path because of the following code in 

int HTTPUtil_doHTTPError( PIHTTP *pPIHTTP, int iErrorCode )

...
	/* --- set the method to 'GET' --- */
	PIDB_replace( pQ, PIDBTYPE_OPAQUE, KEY_HTTP_METHOD, (void *)MD_GET, 0 );
	PIDB_replace( pQ, PIDBTYPE_STRING, KEY_HTTP_METHOD, (void *)MD_NAME_GET, 0);

If I do understand the meaning of the code, the CONGET should be replaced by a 
normal GET??? Must read some HTTP protocol book :-(

-- eric