lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Lynx271f crashes on VMS


From: newsmgr
Subject: LYNX-DEV Lynx271f crashes on VMS
Date: Sat, 13 Dec 1997 17:16:32 +1000

                      Problems with Lynx 271f - 2-dec-97
                      ==================================

        I attempted to build and install the current lynx271f, the build was
clean but attempting to use it produced some problems.

(1) Crash on exit...
        Start lynx then do 'q'

Are you sure you want to quit? [Y]

%SYSTEM-F-ACCVIO, access violation, reason mask=05, virtual address=FFFF0031, 
PC=00145F6D, PSL=03C00000
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           00145F6D  00145F6D
                                                           0014B394  0014B394
UCX$CRTLIBXFR   HTONS                                      8021A19A  802EECB2
                                                           0014AEB2  0014AEB2
LYEXIT          LYexit                           4468      00000033  0007CB73
LYMAIN          main                            20694      0000180B  00086BF3


From LYexit.c list file...

 4393           PRIVATE void LYCompleteExit NOPARAMS;
 4394           
 4395           /*
 4396            *  Purpose:            Terminates program.
 4397            *  Arguments:          status  Exit code.
 4398            *  Return Value:       void
 4399            *  Remarks/Portability/Dependencies/Restrictions:
 4400            *      Function calls stdlib.h exit
 4401            *  Revision History:
 4402            *      06-15-94        created Lynx 2-3-1 Garrett Arch Blythe
 4403            */
 4404           PUBLIC void LYexit ARGS1(
 4405                   int,            status)
 4406           {
 4407    1      #ifndef VMS     /*  On VMS, the VMSexit() handler does these. - 
FM */
 4408   X           if (LYOutOfMemory == TRUE) {
 4409   X               /*
 4410   X                *  Ignore further interrupts. - FM
 4411   X                */
 4412   X               (void) signal (SIGHUP, SIG_IGN);
 4413   X               (void) signal (SIGTERM, SIG_IGN);
 4414   X               (void) signal (SIGINT, SIG_IGN);
 4415   X       #ifndef __linux__
 4416   X               (void) signal(SIGBUS, SIG_IGN);
 4417   X       #endif /* !__linux__ */
 4418   X               (void) signal(SIGSEGV, SIG_IGN);
 4419   X               (void) signal(SIGILL, SIG_IGN);
 4420   X       
 4421   X                /*
 4422   X                 *  Flush all messages. - FM
 4423   X                 */
 4424   X                fflush(stderr);
 4425   X                fflush(stdout);
 4426   X       
 4427   X               /*
 4428   X                *  Deal with curses, if on, and clean up. - FM
 4429   X                */
 4430   X               if (LYCursesON) {
 4431   X                   sleep(AlertSecs);
 4432   X               }
 4433   X               cleanup_sig(0);
 4434   X       #ifndef __linux__
 4435   X               signal(SIGBUS, SIG_DFL);
 4436   X       #endif /* !__linux__ */
 4437   X               signal(SIGSEGV, SIG_DFL);
 4438   X               signal(SIGILL, SIG_DFL);
 4439   X           }
 4440    1      #endif /* !VMS */
 4441    1      
 4442    1          /*
 4443    1           *  Do functions registered with LYatexit. - GAB
 4444    1           */
 4445    1          LYCompleteExit();
 4446    1      
 4447    1      #ifndef VMS
 4448   X       #ifdef SYSLOG_REQUESTED_URLS
 4449   X           syslog(LOG_INFO, "Session over");
 4450   X           closelog();
 4451   X       #endif /* SYSLOG_REQUESTED_URLS */
 4452    1      #endif /* !VMS */
 4453    1      
 4454    1      #ifdef exit
 4455    1      /*  Make sure we use stdlib exit and not LYexit. - GAB
 4456    1      */
 4457    1      #undef exit
 4458    1      #endif /* exit */
 4459    1      
 4460    1      #ifndef VMS     /*  On VMS, the VMSexit() handler does these. - 
FM */
 4461   X           if (LYOutOfMemory == TRUE) {
 4462   X               LYOutOfMemory = FALSE;
 4463   X               printf("\r\n%s\r\n\r\n", MEMORY_EXHAUSTED_ABORT);
 4464   X               fflush(stdout);
 4465   X           }
 4466   X           *stderr = LYOrigStderr;
 4467    1      #endif /* !VMS */
 4468    1          exit(status);
 4469    1      }
 4470           



(2) Crash with Trace on...

Start Lynx, press Crtl-T then attempt to follow an external link.

Getting http://werple.net.au/~lions/header.htm

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, 
PC=00149FCC, PSL=0BC00000
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           00149FCC  00149FCC
                                                           001465B2  001465B2
LYCOOKIE        LYCookie                        19712      0000005C  0007A6F0
HTTP            HTLoadHTTP                      16373      00000A74  000C2970
HTACCESS        HTLoadDocument                  14588      0000026D  000BADD1
HTACCESS        HTLoadAbsolute                  14758      0000004F  000BB14B
LYGETFILE       getfile                         19317      00000CA4  0007EDF8
LYMAINLOOP      mainloop                        25427      00000663  00088A9B
LYMAIN          main                            20689      000017F8  00086BE0
>
[m
[24;1H
[;H
[2J
%SYSTEM-F-ACCVIO, access violation, reason mask=05, virtual address=FFFF0031, 
PC=00145F6D, PSL=03C00000

  Improperly handled condition, image exit forced.

        Signal arguments              Stack contents

        Number = 00000005                00000000
        Name   = 0000000C                2FFC0000
                 00000005                00143608
                 FFFF0031                7FE357DC
                 00145F6D                0014B394
                 03C00000                00000006
                                         00000006
                                         001588BC
                                         00000000
                                         7FE354E5

        Register dump

        R0 = 00000000  R1 = 0015FC48  R2 = 00000006  R3 = 00000006
        R4 = 001588BC  R5 = 00000000  R6 = 7FE354E5  R7 = FFFF0000
        R8 = FFFF0044  R9 = FFFF00F4  R10= 00000006  R11= 001588D8
        AP = 7FE3575C  FP = 7FE3571C  SP = 7FE35798  PC = 00145F6D
        PSL= 03C00000

From the LYCOOKIE.C list file..

19693           /*
19694           **  Entry function from creating a Cookie: request header
19695           **  if needed. - AK & FM
19696           */
19697           PUBLIC char * LYCookie ARGS4(
19698                   CONST char *,   hostname,
19699                   CONST char *,   path,
19700                   int,            port,
19701                   BOOL,           secure)
19702           {
19703    1          char *header = NULL;
19704    1          HTList *hl = domain_list, *next = NULL;
19705    1          domain_entry *de;
19706    1      
19707    1          if (TRACE) {
19708    2              fprintf(stderr,
19709    2                      "LYCookie: Searching for '%s:%i', '%s'.\n",
19710    2                      (hostname ? hostname : "(null)"),
19711    2                      port,
19712    2                      (path ? path : "(null)"));
19713    2          }
19714    1      
19715    1          /*
19716    1           *  Search the cookie_list elements in the domain_list
19717    1           *  for any cookies associated with the //hostname:port/path
19718    1           */
19719    1          while (hl) {
19720    2              de = (domain_entry *)hl->object;
19721    2              next = hl->next;
19722    2      
19723    2              if (de != NULL) {
19724    3                  if (!HTList_isEmpty(de->cookie_list)) {
19725    4                      /*
19726    4                       *  Scan the domain's cookie_list for
19727    4                       *  any cookies we should include in
19728    4                       *  our request header.
19729    4                       */
19730    4                      header = scan_cookie_sublist(hostname, path, 
port,
19731    4                                                   de->cookie_list, 
header, secure);
19732    4                  } else if (de->bv == QUERY_USER) {
19733    4                      /*
19734    4                       *  No cookies in this domain, and no default
19735    4                       *  accept/reject choice was set by the user,
19736    4                       *  so delete the domain. - FM
19737    4                       */
19738    4                      FREE(de->domain);
19739    4                      HTList_delete(de->cookie_list);
19740    4                      de->cookie_list = NULL;
19741    4                      HTList_removeObject(domain_list, de);
19742    4                      de = NULL;
19743    4                  }
19744    3              }
19745    2              hl = next;
19746    2          }
19747    1          if (header)
19748    1              return(header);
19749    1      
19750    1          /*
19751    1           *  If we didn't set a header, perhaps all the cookies have
19752    1           *  expired and we deleted the last of them above, so check
19753    1           *  if we should delete and NULL the domain_list. - FM
19754    1           */
19755    1          if (domain_list) {
19756    2              if (HTList_isEmpty(domain_list)) {
19757    3                  HTList_delete(domain_list);
19758    3                  domain_list = NULL;
19759    3              }
19760    2          }
19761    1          return(NULL);
19762    1      }



(VAX VMS 5.5-2, UCX 4.1, VAX C 3.2, Lynx 271f 2-dec-97)

                                Regards
 *      *     *     *     *       Tony Bolton   
****  ****   **     **   **       TBolton 'at' mhl.nsw.gov.au
** **** **   *********   **       MANLY HYDRAULICS LABORATORY.
**  **  **   *********   **       110B King ST. Manly Vale 2093 Sydney AUSTRALIA
**      **   **     **   ******** Phone +61 2 99490200 FAX +61 2 99486185
 *      *     *     *     ******  http://www.mhl.nsw.gov.au 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]