[arachne] Re: yahoo bizarrities...

Arachne at FreeLists---The Arachne Fan Club!

Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
da Silva, Joe wrote:

>       [Joe da Silva]  
>
>       Well, as others here have pointed out, you can avoid
>       the "F4 / edit / F2 thing" by adding a line to your
>       'arachne.cfg' file : "Https2Http Yes".
>  
>

I forgot that that option was available. :) Since Arachne doesn't have 
https functionality (yet) I don't use her for any of my secure web needs.

>>Memory allocation error. Illegal xSwap operation at line 173 of file 
>>URLSTAT.C!
>>Trying to deallocate xSwap...ok
>>Errorlevel 0
>>Press any key to continue.
>>    
>>
>       [Joe da Silva]  
>
>       Yuck! I wonder, how much free memory do you have
>       before starting Arachne ("largest executable" size and
>       also how much free XMS or EMS), _after_ loading your
>       packet driver (which one do you use?)?
>
>       Perhaps you are running out of memory?
>  
>

Here is the output from running "mem /c" before running Arachne:

Modules using memory below 1 MB:

  Name           Total           Conventional       Upper Memory
  --------  ----------------   ----------------   ----------------
  SYSTEM      19,264   (19K)      9,632    (9K)      9,632    (9K)
  HIMEM        1,168    (1K)      1,168    (1K)          0    (0K)
  EMM386       4,320    (4K)      4,320    (4K)          0    (0K)
  DBLBUFF      2,976    (3K)      2,976    (3K)          0    (0K)
  SETVER         832    (1K)          0    (0K)        832    (1K)
  IFSHLP       2,864    (3K)          0    (0K)      2,864    (3K)
  COMMAND      7,296    (7K)          0    (0K)      7,296    (7K)
  XMSDSK         688    (1K)          0    (0K)        688    (1K)
  DOSED        3,408    (3K)          0    (0K)      3,408    (3K)
  NE2000       4,672    (5K)          0    (0K)      4,672    (5K)
  CTMOUSE      3,536    (3K)          0    (0K)      3,536    (3K)
  Free       754,928  (737K)    629,552  (615K)    125,376  (122K)

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          648,192        18,640       629,552
  Upper                 158,304        32,928       125,376
  Reserved                    0             0             0
  Extended (XMS)     65,901,984    38,065,568    27,836,416
  ----------------  -----------   -----------   -----------
  Total memory       66,708,480    38,117,136    28,591,344

  Total under 1 MB      806,496        51,568       754,928

  Largest executable program size         629,536   (615K)
  Largest free upper memory block         124,784   (122K)
  MS-DOS is resident in the high memory area.

Is this not enough? :) Any suggestions on how I can improve my memory 
footprint?

>>After rebooting, I checked out the cookie file, noticed that 1 or 2 of 
>>the yahoo cookies had been broken into 2 lines. One of the yahoo cookies 
>>was >800 characters in length. I edited the cookies file so that each 
>>cookie was on 1 line.
>>    
>>
>       [Joe da Silva]  
>
>       This is an important clue! I read a comment in the code
>       somewhere that the maximum cookie size had been
>       increased from 600 to 800 bytes, so it seems even this
>       wasn't enough! Perhaps increasing this further (how much
>       would we need???) could solve a few of these issues.
>  
>

That was my first thought when I realized how long that line was in the 
cookie file. Maybe 1200 bytes would be a good next step as max cookie 
length? Or perhaps there is an intelligent way to do it based on 
HD/memory space available?

>>this time I clicked back & resubmitted my password & this time was 
>>successful, & was taken to http://my.yahoo.com>
>>I pressed the ESC button to stop the downloading>
>>I noticed that the page (minus images) had been displayed and formatted 
>>correctly, except that there was an *enormous* amount of space in the 
>>right & bottom scrollbar areas (I use narrow scrollbars, w/ the scroll 
>>buttons at each end of the bar) so I used screenthief (loaded before 
>>Arachne, I know, I sh/could've use Arachne) to capture a screenshot>
>>shelled to DOS>moved the screenshot from RAMdrive to HD>
>>returned to Arachne and she froze/locked the computer up. Could not use 
>>the 3 finger salute to reboot, had to use the soft reboot button on case.
>>:(
>>
>>    
>>
>       [Joe da Silva]  
>
>       Loading 'screenthief' would definitely be the wrong thing
>       to do if you are running "low" on memory. Also, I don't
>       necessarily trust such TSR's, they may cause bad
>       side-effects. Oh, while on the subject, the RAMdrive
>       probably uses up some of that precious conventional
>       memory too.
>  
>

Btw, I had only loaded screenthief for 1 or 2 of those sessions. It 
isn't something I regulary use. I had forgotten that Arachne took a fine 
snapshot herself, so st wasn't even necessary. :) Also, is 615K 
considered too low? As you'll notice, the RAMdrive doesn't take up any 
of the conventional memory...

>>The 4th session: I decided to go straight to http://my.yahoo.com/ and it 
>>began loading (I noticed that yahoo had remembered me) but then quickly 
>>everything went black, and I was left staring at a blank monitor w/ a 
>>monitor's built-in error that said:
>>
>>    Out of Range
>>Hf: 30kHz - 70 kHz
>>Vf: 50 Hz - 140 Hz
>>    Current frequency
>>Hf: 24.8 kHz Vf: 60 Hz
>>
>>    
>>
>       [Joe da Silva]  
>
>       Yuck!!!!!!!!
>  
>

Any idea what could have caused Arachne to change the Hf like that?

>>And the computer was locked...M$ salute, useless.
>>
>>5th session: went to http://my.yahoo.com/>
>>pressed ESC to stop the download>
>>was greeted w/ the following error:
>>
>>Error loading font file:
>>f:\arachne\system\propnn1.fnt
>>(free memory left = 5986)
>>Memory allocation error
>>Cannot load COMMAND, system halted
>>    
>>
>       [Joe da Silva]  
>
>       This really does sound like insufficient memory
>       (well, perhaps!;-) ...
>  
>

(see question about memory above)

>>After reboot, 6th session: opened http://my.yahoo.com/>
>>pressed ESC to stop the download>
>>pressed F6 (view the source) to see if I could tell what in the HTML was 
>>making Arachne mess up or have *huge* scroll areas. I couldn't find 
>>anything that stuck out as being non-valid XHTML (except that there was 
>>a space of 10 or so blank lines 3/4 down the page), so I pressed F6 to 
>>go back to the rendered view & was greeted w/ this error:
>>
>>Memory allocation error - Illegal xSwap operation at line 1722 of file 
>>HTML.C!
>>Trying to deallocate xSwap...ok
>>Errorlevel 0
>>Press any key to continue...
>>
>>    
>>

This is what I found just before line 1722:

      //alocation of new table (max. number of tables is currently limited)
      if(p->nextHTMLtable==IE_NULL)
      {
       newtab=1;
       thistableadr=ie_putswap((char *)thistable,sizeof(struct 
HTMLtable),CONTEXT_TABLES);
       if(thistableadr==IE_NULL)
        goto p;

       if(p->firstHTMLtable==IE_NULL)
        p->firstHTMLtable=thistableadr;

       if(p->prevHTMLtable!=IE_NULL)
       {
        tmptable=(struct HTMLtable *)ie_getswap(p->prevHTMLtable);
        if(tmptable)
        {
         tmptable->nextHTMLtable=thistableadr;
         swapmod=1;
        }
        else
         MALLOCERR();
       }
       p->prevHTMLtable=thistableadr;

      }
      else
      {
       tmptable=(struct HTMLtable *)ie_getswap(p->nextHTMLtable);
       if(tmptable)
       {
        memcpy(thistable,tmptable,sizeof(struct HTMLtable));
        thistableadr=p->prevHTMLtable=p->nextHTMLtable;
        p->nextHTMLtable=tmptable->nextHTMLtable;
       }
       else

      {
       tmptable=(struct HTMLtable *)ie_getswap(p->nextHTMLtable);
       if(tmptable)
       {
        memcpy(thistable,tmptable,sizeof(struct HTMLtable));
        thistableadr=p->prevHTMLtable=p->nextHTMLtable;
        p->nextHTMLtable=tmptable->nextHTMLtable;
       }
       else
        MALLOCERR(); //<-- here is line 1722
      }

maybe it pooped out b/c I had stopped the download of the page(?!)...

>>Memory allocation error - Illegal xSwap operation at line 566 of file 
>>HTMLSTAT.C!
>>Trying to deallocate xSwap...ok
>>Errorlevel 0
>>Press any key to continue...
>>
>>    
>>

//called after the current line has been processed
void alignrow(int x,long y,int islist)
{
 int xhop;
 //int idx;
 long vsize;
 unsigned currentHTMLatom=p->lastHTMLatom;
 struct HTMLrecord *atomptr;

 if(p->HTMLatomcounter==0)
  return;

 if(!p->sizeTextRow)p->sizeTextRow=p->sizeRow;

 alignloop:
 atomptr=(struct HTMLrecord *)ie_getswap(currentHTMLatom);
 if(!atomptr)
  MALLOCERR();  //this is line 566
 if(atomptr->y==y && //eliminate unclosed buttons:
   !(atomptr->type==INPUT && (atomptr->data2 & 2) && 
atomptr->x==atomptr->xx) &&
    !(atomptr->type==TD || atomptr->type==TD_BACKGROUND ||
      atomptr->type==TABLE || atomptr->type==NAME))

I'm not sure what caused atmptr to not exist (at least, that's what the 
error appears to mean, to me)....

>>Comments, thoughts, insight into the code would be greatly appreciated! :)
>>    
>>
>       [Joe da Silva]  
>
>       A lot of this does suggest you have insufficient
>       conventional memory, although there is clearly
>       also an issue with the size of those cookies.
>  
>

Hmm...I suppose 615k is not enough? :( I'll attach a screenshot of the 
informational portion of Arachne (the panel that shows "Dos memory 
(KB)", etc...I've always thought that I was running her w/ enough memory 
to spare. :) But I've been wrong before...

david



-- Binary/unsupported file stripped by Ecartis --
-- Type: image/gif
-- File: First.gif



Arachne at FreeLists
-- Arachne, The Web Browser/Suite for DOS and Linux --

Other related posts: