Eggdev: CVS version + new valgrind log (apparently no more memleaks)

Miguel Ventura hal9000 at
Wed Feb 4 06:33:46 CST 2004

I've downloaded new CVS version and compiled it (with stdarg's modifications
[like that wonderfull 'if' at server.c:873]). Bot quit acting stupid and
crashing. Running valgrind with same options as before (valgrind
--gdb-attach=yes -v --logfile=vallog ./eggdrop enforcer.conf) now complains
only about "Source and destination overlap in strcpy" by n_free (mem.c:395).
Maybe some should replace this one by a memmove().

Attached goes new valgrind log.

Shoot the .16 out!!! :D 

Miguel Ventura

-----Original Message-----
From: eggdev-bounces at [mailto:eggdev-bounces at] On
Behalf Of stdarg
Sent: quarta-feira, 4 de Fevereiro de 2004 2:44
To: eggdev at
Subject: Eggdev: valgrind errors

Well, I think I fixed some of the valgrind errors. Can people please test it
a bit? I made some changes to _wild_match that I'm not 100% sure about. Also
I seem to have fixed the server queue bug. It was easy to reproduce:

.tcl for {set i 0} {$i < 5} {incr i} { putserv "privmsg yourbot :hi $i"
-next } ; putserv "privmsg yourbot :hi!"

Would make it print the first "hi 4" message, then "hi!", then your queue is
stuck with 4 messages.

Anyway, this stuff definitely needs testing. That valgrind information was
very helpful! Maybe someone can run it again and see if anything has

Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vallog.pid3959
Type: application/octet-stream
Size: 27422 bytes
Desc: not available
URL: <>

More information about the Eggdev mailing list