🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46211

Re: INN 2.3.0 public beta

#46211
From: Karl Kleinpaste
Date: Sun, 30 Apr 2000 00:00
48 lines
2872 bytes
This is just getting weirder by the minute.  Inside PLartfilter():

(gdb) n
89          hdr = perl_get_hv("hdr", 1);
(gdb) 
90          for (hp = ARTheaders; hp < ARTheadersENDOF; hp++) {
(gdb) p hdr
$6 = (HV *) 0x81810d8
(gdb) p *hdr
$7 = {sv_any = 0x81b6070, sv_refcnt = 1, sv_flags = 536870923}
(gdb) p *hdr->sv_any
$8 = {xhv_array = 0x0, xhv_fill = 0, xhv_max = 7, xhv_keys = 0, xnv_nv = 0, 
  xmg_magic = 0x0, xmg_stash = 0x0, xhv_riter = -1, xhv_eiter = 0x0, 
  xhv_pmroot = 0x0, xhv_name = 0x0}
(gdb) n
91              if (hp->Found && hp->Value && strcmp(hp->Name, "Path") != 0)
(gdb) p hp
$9 = (ARTHEADER *) 0x812b17c
(gdb) p *hp
$10 = {Name = 0x810ce5f "Approved", Type = HTstd, Size = 8, 
  Value = 0x81547c0 "", Length = 0, Found = 0, Allocated = 1}
(gdb) n
90          for (hp = ARTheaders; hp < ARTheadersENDOF; hp++) {
(gdb) 
91              if (hp->Found && hp->Value && strcmp(hp->Name, "Path") != 0)
(gdb) p *hp
$11 = {Name = 0x810ce57 "Control", Type = HTstd, Size = 7, 
  Value = 0x8154fc8 "", Length = 0, Found = 0, Allocated = 1}
(gdb) n
90          for (hp = ARTheaders; hp < ARTheadersENDOF; hp++) {
(gdb) 
91              if (hp->Found && hp->Value && strcmp(hp->Name, "Path") != 0)
(gdb) p *hp
$12 = {Name = 0x810ce52 "Date", Type = HTreq, Size = 4, 
  Value = 0x81557d0 "Sun, 30 Apr 2000 13:53:36 -0400", Length = 31, Found = 1, 
  Allocated = 1}
(gdb) n
92                  hv_store(hdr, (char *) hp->Name, strlen(hp->Name),
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
0x400fc712 in chunk_alloc (ar_ptr=0x40191d60, nb=24) at malloc.c:2764

A simple Date header blows up?

I can't debug inside hv_store aka Perl_hv_store...

Technical Details
Message-ID: <vxk7ldfqw15.fsf@mesquite.charcoal.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <vxkg0s6t1oi.fsf@mesquite.charcoal.com> <vxk4s8msziu.fsf@mesquite.charcoal.com> <ylln1wghnk.fsf@windlord.stanford.edu> <vxkbt2rqx19.fsf@mesquite.charcoal.com>

Show Full Headers
Complete Article Headers
Message-ID: <vxk7ldfqw15.fsf@mesquite.charcoal.com>
Subject: Re: INN 2.3.0 public beta
Date: Sun, 30 Apr 2000 00:00:00 +0000
From: Karl Kleinpaste <karl@charcoal.com>
References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <vxkg0s6t1oi.fsf@mesquite.charcoal.com> <vxk4s8msziu.fsf@mesquite.charcoal.com> <ylln1wghnk.fsf@windlord.stanford.edu> <vxkbt2rqx19.fsf@mesquite.charcoal.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 617568698
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: postmaster@cs.cmu.edu
X-Trace: cantaloupe.srv.cs.cmu.edu 957119573 1479 128.2.194.2 (30 Apr 2000 18:32:53 GMT)
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Organization: Charcoal Communicators
Mime-Version: 1.0
User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2 (Iris)
NNTP-Posting-Date: 30 Apr 2000 18:32:53 GMT
Newsgroups: news.software.nntp