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

Re: [leafnode-list] Re: boo hiss



Mike Castle wrote:
> On Wed, Jan 09, 2002 at 10:44:02PM -0800, Mike Castle wrote:
> > uw.archive: skipping articles 1-1817 inclusive (article limit)
> > uw.archive: no new articles
> > uw.tex: skipping articles 1-1936 inclusive (article limit)
> > uw.tex: no new articles
> > Segmentation fault
> 
> [...]
> #5  0x0804b45e in getgroup (g=0x402298f4, first=47073)
>     at ../leafnode-2.0b8_ma9rc1/fetchnews.c:864
> #6  0x0804c350 in do_group (ng=0x829ff60 "ca.driving", s=0xbfffec80, ngs=0x0, 
>     f=0x829c828) at ../leafnode-2.0b8_ma9rc1/fetchnews.c:1312
> #7  0x0804c533 in processupstream (server=0x805fea8 "news.sonic.net", port=0, 
>     lastrun=-1073742568, newsgrp=0x0)

I cannot reproduce the problem here, but it looks to me that a little
before this, do_group does a sprintf(*s,..) to argument s, and I am not
sure if it is big enough to hold the result.  Could someone check this
please?

If you can reproduce the problem:  printing out the contents of the
local variables and arguments could help (info args, info locals).

> #7  0x0804c533 in processupstream (server=0x805fea8 "news.sonic.net", port=0, 
>     lastrun=-1073742568, newsgrp=0x0)
      ^^^^^^^^^^^^^^^^^^^
Oh, and BTW: What is your system?  Signed time_t or confused gdb?

HTH Ralf

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list