HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: HTTrack crashes with SIGPIPE
Author: Lars Clausen
Date: 01/08/2004 11:32
 
Sorry, that didn't help.  The plugins were, as I suspected,
not involved in this problem either.

Program received signal SIGPIPE, Broken pipe.
0xff09c3f4 in _private_close () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff09c3f4 in _private_close () from /usr/lib/libc.so.1
#1  0xfefda710 in close () from /usr/lib/libthread.so.1
#2  0xff273cb4 in http_sendhead (cookie=0xffba06c8, mode=1,
xsend=0x0, 
    adr=0x27864f8 "www.bs.dk", 
    fil=0x2786cf8
"/index.ihtml?side=http://www.bs.dk/downloads/3262/oekonomi03.pdf,
referer_adr=0x2787cf8 "www.bs.dk", 
    referer_fil=0x27884f8 "/danbibforalle/index.htm",
retour=0x278a130)
    at htslib.c:1118
#3  0xff259978 in back_wait (back=0x2748598, back_max=1152,
opt=0xffbe3f40, 
    cache=0xffb9e448, stat_timestart=53687091200014) at
htsback.c:1660
#4  0xff2b3e74 in url_savename (adr_complete=0xffb95368
"www.bs.dk", 
    fil_complete=0xffb94b68
"/index.ihtml?side=http://www.bs.dk/downloads/3262/oekonomi03.pdf,
save=0xffb92b68 "", former_adr=0xffb93368 "", 
    former_fil=0xffb93b68 "", referer_adr=0x26f3f8c
"www.bs.dk", 
    referer_fil=0x26f3f9c "/danbibforalle/index.htm",
opt=0xffbe3f40, 
    liens=0xcbaa0, lien_tot=147, back=0x2748598, back_max=1152, 
    cache=0xffb9e448, hash=0xffba8ed0, ptr=21,
numero_passe=0) at htsname.c:395
#5  0xff22b8d0 in htsparse (str=0xffb9c760, stre=0xffb9c6e8)
at htsparse.c:2206
#6  0xff218bf0 in httpmirror (url1=0xffb982b0 "",
ptropt=0xffb9fd80)
    at htscore.c:1429
#7  0xff2941e8 in hts_main (argc=13, argv=0xffbeeb28) at
htscoremain.c:2213
#8  0x117cc in main (argc=13, argv=0xffbefbac) at httrack.c:196
(gdb) dir ~/src/httrack-3.30.92/src          
Source directories searched:
/export/home1/lc/src/httrack-3.30.92/src:$cdir:$cwd
(gdb) up 6
#6  0xff218bf0 in httpmirror (url1=0xffb982b0 "",
ptropt=0xffb9fd80)
    at htscore.c:1429
1429                if (htsparse(&str, &stre) != 0) {
(gdb) list 2890
2885    }
2886    void sig_ignore( int code ) {     // ignorer signal
2887    }
2888    void sig_brpipe( int code ) {     // treat if necessary
2889      signal(code, sig_brpipe);
2890      /*
2891      if (!sig_ignore_flag(-1)) {
2892        sig_term(code);
2893      }
2894      */
(gdb) down 4
#2  0xff273cb4 in http_sendhead (cookie=0xffba06c8, mode=1,
xsend=0x0, 
    adr=0x27864f8 "www.bs.dk", 
    fil=0x2786cf8
"/index.ihtml?side=http://www.bs.dk/downloads/3262/oekonomi03.pdf,
referer_adr=0x2787cf8 "www.bs.dk", 
    referer_fil=0x27884f8 "/danbibforalle/index.htm",
retour=0x278a130)
    at htslib.c:1118
1118        deletesoc_r(retour);  // fermer tout de même
(gdb) list 2380
2375    HTS_INLINE void deletesoc(T_SOC soc) {
2376      if (soc!=INVALID_SOCKET && soc!=LOCAL_SOCKET_ID) {
2377    // J'ai planté.. pas de shutdown
2378    //#if HTS_WIDE_DEBUG    
2379    //    DEBUG_W("shutdown\n");
2380    //#endif
2381    //    shutdown(soc,2);  // shutdown
2382    //#if HTS_WIDE_DEBUG    
2383    //    DEBUG_W("shutdown done\n");
2384    //#endif
 
Reply Create subthread


All articles

Subject Author Date
Re: HTTrack crashes with SIGPIPE

01/07/2004 18:35
Re: HTTrack crashes with SIGPIPE

01/08/2004 11:32




e

Created with FORUM 2.0.11