[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Re: boo hiss
On Thu, Jan 10, 2002 at 09:10:48AM +0100, Ralf Wildenhues wrote:
> Mike Castle wrote:
> 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
I don't think that has anything to do with it at all. I did more runs, and
each one dies is a different place. However, I noticed several dying in
> 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?
Prolly confused gdb. It's a home grown linux system.
Anyway, I build with -DDEBUG_DMALLOC and saw something interesting.
1010658364: 81100: Dmalloc version '4.8.2' from 'http://dmalloc.com/'
1010658364: 81100: flags = 0x4e40d03, logfile '/tmp/logfile'
1010658364: 81100: interval = 100, addr = 0, seen # = 0
1010658364: 81100: starting time = 1010657942
1010658364: 81100: heap-check: failed OVER picket-fence magic-number check: pointer '0x87f23c8' from '../leafnode-2.0b8_ma9rc1/fetchnews.c:91'
1010658364: 81100: Dump of proper fence-top bytes: 'i\336\312\372'
1010658364: 81100: Dump of '0x87f23c8'+46: 'ng \000\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305\305'
1010658364: 81100: ERROR: fence_read: failed OVER picket-fence magic-number check (err 27)
And ../leafnode-2.0b8_ma9rc1/fetchnews.c:91 is:
89 mastr_vcat(s, spool, "/leaf.node/", server, portstr, suffix, 0);
91 res = critstrdup(mastr_str(s), "server_info");
93 return res;
I commented out the mastr_delete(s) and so far it's running better.
I'm off to bed. Check in the morning to see if it survived.
Mike Castle dalgoda@xxxxxxxxxxxxx www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list