Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 11:04:07 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        brad@mrunix.net
Cc:        freebsd-ports@freebsd.org, ache@freebsd.org
Subject:   webalizer 2.00.12 segmentation faults ...
Message-ID:  <Pine.BSF.4.21.0008161058110.92127-100000@thelab.hub.org>

next in thread | raw e-mail | index | archive | help

Trying to processes several hundred megabyte files using:

gzcat $1 | /usr/local/bin/webalizer -o ../../stats/webalizer -D dnscache -N 20

is generating a core file under FreeBSD 4.1-STABLE ...

I've enabled debugging, and its showing:

(gdb) where
#0  0x8057708 in process_list (l_list=0x80dba80) at dns_resolv.c:534
#1  0x8057023 in dns_resolver (log_fp=0x0) at dns_resolv.c:331
#2  0x8049ece in main (argc=7, argv=0xbfbff788) at webalizer.c:472
(gdb) list
529                       if(debug_mode)
530                          printf("Giving %s (%lx) to Child %d for resolving\n",
531                                  child[i].cur->string,
532                                  (unsigned long)child[i].cur->addr.s_addr, i);
533     
534                       trav = trav->llist;
535                    }
536                    else /* List is complete */
537                    {
538                       close(child[i].outpipe[1]);                    /* Go away */
(gdb) print trav
$1 = 0x32303200
(gdb) print trav->llist
Cannot access memory at address 0x32303208.
(gdb) 

I checked out the Webalizer mailng list, and it mentions on July 1st news:

"I've received quite a few patches that need to be merged into the main
code base, such as support for IIS/W3C extended logs, fixes for the DNS
code and a few other odds and ends, so be patient and the code shall soon
be yours."

I'm wondering if any of these pertain to the above bug/issue, or whether
this is something in the FreeBSD port that needs to be addressed ...

Thanks ...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008161058110.92127-100000>