HTTrack Website Copier
Free software offline browser - FORUM
Subject: ****** Re: Httrack crashed ; please see crash dump
Author: Rajesh Nikam
Date: 07/31/2006 08:39
 
Function call from httrack\src\htsback.c @ 2724 was as follwing: It is passing
null pointer to fspc. ;-) Got it.

fspc(NULL,cache->log,"warning"); fprintf(cache->log,"Incorrect length
("LLintP"!="LLintP" expected) for
%s%s"LF,(LLint)back[i].r.size,(LLint)back[i].r.totalsize,back[i].url_adr,back[i].url_fil);

So modified code as follows as seems to be working fine. ;-))

Hope that there are NO more mines of this kind.
Need to run this regorously and check this out.

HTS_INLINE int fspc(httrackp *opt,FILE* fp,const char* type) {
	//////////////////////////////////// 
	// code added by Rajesh to solve crash dump
	// check for null pointer
	// ## Start
	/////////////////////////

  //fspc_strc* strc = &opt->state.fspc;

	fspc_strc* strc;
	if (opt == NULL)
	{
		return 0;
	}
  
	strc = &opt->state.fspc;
 
Reply Create subthread


All articles

Subject Author Date
Httrack crashed ; please see crash dump

07/28/2006 10:36
Re: Httrack crashed ; more info attached

07/28/2006 11:11
**** Re: Httrack crashed ; more info attached ***

07/28/2006 11:21
Re: Httrack crashed ; more info attached

07/29/2006 08:26
**** Re: Httrack crashed ; more info attached ***

07/29/2006 08:27
Re: Httrack crashed ; please see crash dump

07/29/2006 08:31
****** Re: Httrack crashed ; please see crash dump

07/31/2006 08:06
****** Re: Httrack crashed ; please see crash dump

07/31/2006 08:39
****** Re: Httrack crashed ; please see crash dump

08/04/2006 20:58




8

Created with FORUM 2.0.11