HTTrack Website Copier
Free software offline browser - FORUM
Subject: Crash in URL hack argument normalizer
Author: Lars Clausen
Date: 02/10/2004 14:21
 
Had a crash while downloading tv2.dk with the URL hack on.  
The URL shown below (containing a URL in its arguments)
doesn't look like it comes from a regular link -- all the
IDs are numbers.  If I see it again, I'll examine the log
and stored info and see if I can trace it back.

-Lars

GDB info:

(gdb) bt
#0  0xfefd9764 in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xfefce978 in _resetsig () from /usr/lib/libthread.so.1
#2  0xfefce118 in _sigon () from /usr/lib/libthread.so.1
#3  0xfefd1158 in _thrp_kill () from /usr/lib/libthread.so.1
#4  0xff04b9dc in raise () from /usr/lib/libc.so.1
#5  0xff0358fc in abort () from /usr/lib/libc.so.1
#6  0xff035ba0 in _assert () from /usr/lib/libc.so.1
#7  0xff296c6c in fil_normalized (
    source=0x1a68 <Address 0x1a68 out of bounds>,
dest=0xffb8f9d0 "/index.php")
    at htslib.c:3154
#8  0xff2c5378 in url_savename (adr_complete=0xffb95808
"vejret.tv2.dk", 
    fil_complete=0xffb95008
"/index.php?pg=vejr_vide&id=http://vejret.tv2.dk/index.php?pg=vejr_vide&id=403,
save=0xffb93008 "", former_adr=0xffb93808 "", 
    former_fil=0xffb94008 "", referer_adr=0x4955508
"vejret.tv2.dk", 
    referer_fil=0x495551c "/index.php?pg=vejr_vide&id=208",
opt=0xffbe45f8, 
    liens=0xcea28, lien_tot=7910, back=0x274b540,
back_max=1152, 
    cache=0xffb9e8e8, hash=0xffba9588, ptr=1923, numero_passe=0)
    at htsname.c:138
#9  0xff22dec0 in htsparse (str=0xffb9cc00, stre=0xffb9cb88)
at htsparse.c:2236
#10 0xff21a4e4 in httpmirror (url1=0xffb98750 "",
ptropt=0xffbe45f8)
---Type <return> to continue, or q <return> to quit---
    at htscore.c:1452
#11 0xff2a0f60 in hts_main (argc=16, argv=0x2400) at
htscoremain.c:2296
#12 0x11040 in main (argc=16, argv=0xffbef9ec) at httrack.c:205
(gdb) up 8
#8  0xff2c5378 in url_savename (adr_complete=0xffb95808
"vejret.tv2.dk", 
    fil_complete=0xffb95008
"/index.php?pg=vejr_vide&id=http://vejret.tv2.dk/index.php?pg=vejr_vide&id=403,
save=0xffb93008 "", former_adr=0xffb93808 "", 
    former_fil=0xffb94008 "", referer_adr=0x4955508
"vejret.tv2.dk", 
    referer_fil=0x495551c "/index.php?pg=vejr_vide&id=208",
opt=0xffbe45f8, 
    liens=0xcea28, lien_tot=7910, back=0x274b540,
back_max=1152, 
    cache=0xffb9e8e8, hash=0xffba9588, ptr=1923, numero_passe=0)
    at htsname.c:138
138         normfil=fil_normalized(fil,normfil_);
(gdb) p fil
No symbol "fil" in current context.
(gdb) p normfil_
$3 =
"/index.php\000pg=vejr_vide\000id=http://vejret.tv2.dk/index.php?pg=vejr_vide&id=403\000_vide&id=403\000e();
   h += '&cid=' + cid;    h += '&ref=' + browser.refURL;   
h += '&sr=sr' + browser.srW + 'x' + browser."...

 
Reply


All articles

Subject Author Date
Crash in URL hack argument normalizer

02/10/2004 14:21
Re: Crash in URL hack argument normalizer

02/11/2004 15:20




a

Created with FORUM 2.0.11