[IRCServices] Fwd: Services 5.0.2 crash on rehash

Andrew Kempe andrewk at isdial.net
Fri Nov 1 08:29:00 PST 2002


Just FYI, Andrew is away at the moment, so you may not get a response
immediately... :)

Andrew

----- Original Message -----
From: "Dan Sully" <daniel at electricrain.com>
To: <ircservices at ircservices.za.net>
Sent: Friday, November 01, 2002 7:58 AM
Subject: [IRCServices] Fwd: Services 5.0.2 crash on rehash


> I get a segfault whenever I try to rehash services. Using unreal -
>
> *** Server irc.holonet.org: Unreal3.2-Selene[beta12]+(debug). CDFhiIXeOo
[Linux 2.4.19 4 SMP i686]
> *** MAP KNOCK SAFELIST HCN MAXCHANNELS=10 MAXBANS=60 NICKLEN=30
TOPICLEN=307 KICKLEN=307 MAXTARGETS=20
> AWAYLEN=307 are supported by this server
> *** WALLCHOPS WATCH=128 SILENCE=5 MODES=13 CHANTYPES=# PREFIX=(ohv)@%+
> CHANMODES=ohvbeqa,kfL,l,psmntirRcOAQKVHGCuzN NETWORK=Holonet-IRC are
supported by this server
>
> $ gdb /pkg/ircservices-5.0.2/sbin/ircservices
> GNU gdb 5.2.1
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
are
> welcome to change it and/or distribute copies of it under certain
conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
details.
> This GDB was configured as "i686-pc-linux-gnu"...
> (gdb) r -nofork -dir=/home/i/ircs -log=/var/log/irc/services
> Starting program:
/pkg/ircservices-5.0.2/sbin/ircservices -nofork -dir=/home/i/ircs -log=/var/
log/irc/services
> [Oct 26 21:00:52 2002] IRC Services 5.0.2 starting up
> [Oct 26 21:00:54 2002] operserv/sline: warning: client IP addresses not
available with this IRC server
> [Oct 26 21:01:02 2002] nickserv/main: Legolas!Grimlock at 155.225.110.217
identified for nick Legolas
> [Oct 26 21:01:06 2002] operserv/main: Numa: rehash
>
> We're now into glibc 2.2.5 land at malloc/malloc.c:3142
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x2ab379a6 in __libc_free (mem=0x7ffffe9b) at malloc.c:3142
> 3142      ar_ptr = arena_for_ptr(p);
> (gdb) bt
> #0  0x2ab379a6 in __libc_free (mem=0x7ffffe9b) at malloc.c:3142
> #1  0x0804ee13 in do_all_directives (action=0, directives=0x8062be0) at
conffile.c:40
> #2  0x0804fd50 in configure (modulename=0x7ff00000 "",
directives=0x8062be0, action=2) at conffile.c:558
> #3  0x080517f7 in reconfigure () at init.c:938
> #4  0x2ac6be4d in do_rehash (u=0x8243a90) at main.c:1200
> #5  0x0804e93e in run_cmd (service=0x81bfac0 "OperServ", u=0x8243a90,
id=0x7ff00000, cmd=0x7ffff8dc "rehash")
>     at commands.c:176
> #6  0x2ac69398 in operserv (source=0x8243a90 "", target=0x7ff00000 "",
buf=0x8243a90 "") at main.c:266
> #7  0x080568e9 in call_callback_5 (module=0x0, id=2147483291,
arg1=0x7ffffb10, arg2=0x7ffff8d2,
>     arg3=0x7ffff8dc, arg4=0x0, arg5=0x0) at modules.c:658
> #8  0x08054226 in m_privmsg (source=0x7ffffb10 "Numa", ac=2, av=0x8242888)
at messages.c:249
> #9  0x2ac04008 in do_receive_message (source=0x7ff00000 "", cmd=0x7ff00000
"", ac=2146435072, av=0x7ff00000)
>     at token.c:43
> #10 0x080568e9 in call_callback_5 (module=0x0, id=2147483291,
arg1=0x7ffffb10, arg2=0x7ffffad0, arg3=0x2,
>     arg4=0x8242888, arg5=0x8242888) at modules.c:658
> #11 0x08056eae in process () at process.c:127
> #12 0x08058ae4 in check_sockets () at sockets.c:445
> #13 0x08053a3f in main (ac=2146435072, av=0x7ffffd64, envp=0x7ffffd78) at
main.c:248
> #14 0x2aae1532 in __libc_start_main (main=0x8053740 <main>, argc=4,
ubp_av=0x7ffffd64,
>     init=0x804be64 <_init>, fini=0x2aac04cc <_dl_debug_mask>, rtld_fini=0,
stack_end=0x7ffffe9b)
>     at ../sysdeps/generic/libc-start.c:129
>
> -D
> --
> <ZangTT> berkeley db - it's mostly about the hash()
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://www.ircservices.za.net/mailman/listinfo/ircservices
>
>