[ircd-ratbox] why irc.dks.ca split today / ratbox bug? (AGAIN!!)

Aaron Sethman androsyn at ratbox.org
Sun Sep 21 18:21:54 EDT 2003


Looks like a different bug...Could you give me a bt full on this?

Thanks,

Aaron

On Sun, 21 Sep 2003, Simon Story wrote:

> Looks like this happened again. (Was it ever really fixed?)
>
> Seems you can't /rehash rejectcache without ircd going poof. We are running
> Ratbox 1.2-1.
>
> Sep 21 15:38:34 <local4.notice> irc ircd[9014]: REHASH From
> Surreal!surreal at the.internet{surreal}[65.49.91.182]
> Sep 21 15:38:42 <local4.notice> irc ircd[9014]: REHASH From
> Surreal!surreal at the.internet{surreal}[65.49.91.182]
> Sep 21 15:38:50 <local4.notice> irc ircd[9014]: REHASH TKLINES From
> Surreal[surreal at the.internet]
> Sep 21 15:38:59 <local4.notice> irc ircd[9014]: REHASH REJECTCACHE From
> Surreal[surreal at the.internet]
> Sep 21 15:39:05 <kern.info> irc /kernel: pid 9014 (ircd), uid 100: exited on
> signal 11
>
> - Simon
>
> > ---------- Forwarded message ----------
> > Date: Thu, 7 Aug 2003 11:10:07 -0400 (EDT)
> > From: Aaron Sethman <androsyn at ratbox.org>
> > To: Mike Jackson <mike at secsup.ca>
> > Cc: ircd-ratbox at lists.ratbox.org, leeh at leeh.co.uk
> > Subject: Re: [ircd-ratbox] why irc.dks.ca split today / ratbox bug? (fwd)
> >
> > I believe I fixed this bug in CVS.  I don't seem to remember if Lee pushed
> > out a new rc or not.
> >
> > Aaron
> >
> > On Fri, 1 Aug 2003, Mike Jackson wrote:
> >
> > > Sure, here it is:
> > >
> > > (gdb) bt full
> > > #0  0x8072da8 in auth_error (auth=0x89aef60) at s_auth.c:251
> > >         auth = (struct AuthRequest *) 0x89aef60
> > > #1  0x8073394 in auth_connect_callback (fd=484, error=4, data=0x89aef60)
> > >     at s_auth.c:497
> > >         error = 1059628032
> > >         auth = (struct AuthRequest *) 0x89aef60
> > >         us = {sin_len = 64 '@', sin_family = 250 '', sin_port = 49087,
> > > sin_addr = {
> > >     s_addr = 134695565}, sin_zero = "\001\000\001\000"}
> > >         them = {sin_len = 64 '@', sin_family = 250 '', sin_port = 49087,
> > >   sin_addr = {s_addr = 134674935}, sin_zero = "\034O xA\b"}
> > >         authbuf =
> > > "\020\001\a\b\020C\rK`\034O\004\000\000\000t\006\b8]o\b\223\001\000"
> > >         ulen = 16
> > >         tlen = 16
> > > #2  0x807456c in comm_connect_callback (fd=484, status=4) at s_bsd.c:686
> > >         fd = 484
> > > #3  0x80746b7 in comm_connect_tryconnect (fd=484, notused=0x0) at
> > > s_bsd.c:796
> > >         fd = 484
> > >         retval = 1059628032
> > > #4  0x8074c27 in comm_select (delay=0) at s_bsd_kqueue.c:278
> > >         fd = 484
> > >         hdl = (PF *) 0x3f28a400
> > >         F = (fde_t *) 0x86fa6a0
> > >         delay = 0
> > >         num = 141534880
> > >         i = 2
> > >         ke = {{ident = 12, filter = -1, flags = 1, fflags = 0, data = 2,
> > >     udata = 0x0}, {ident = 160, filter = -1, flags = 1, fflags = 0, data =
> > > 19,
> > >     udata = 0x0}, {ident = 403, filter = -1, flags = 1, fflags = 0, data =
> > > 59,
> > >     udata = 0x0}, {ident = 484, filter = -2, flags = 32785, fflags = 61,
> > >     data = 65535, udata = 0x0}, {ident = 43, filter = -1, flags = 1,
> > > fflags = 0,
> > >     data = 17, udata = 0x0}, {ident = 379, filter = -1, flags = 1, fflags
> > > = 0,
> > >     data = 597, udata = 0x0}, {ident = 435, filter = -1, flags = 1, fflags
> > > = 0,
> > >     data = 19, udata = 0x0}, {ident = 42, filter = -1, flags = 1, fflags =
> > > 0,
> > >     data = 18, udata = 0x0}, {ident = 80, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 16, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 832, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 103, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 829, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 811, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 665, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 699, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 402, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 873, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 702, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 771, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 608, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 628, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 612, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 267, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 428, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 194, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 844, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 871, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 299, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 325, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 915, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 926, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 432, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 182, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 166, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 829, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 648, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 574, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 543, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 873, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 702, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 965, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 552, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 308, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 197, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 50, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 887, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 893, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 187, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 92, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 152, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 329, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 936, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 652, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 322, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 117, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 688, filter = -1, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 892, filter = -2, flags = 16384,
> > > fflags = 0,
> > >     data = 9, udata = 0x0}, {ident = 0, filter = 0, flags = 0, fflags = 0,
> > > data = 0,
> > >     udata = 0x0} <repeats 70 times>}
> > >         poll_time = {tv_sec = 0, tv_nsec = 0}
> > > #5  0x8065e9a in io_loop () at ircd.c:344
> > >         st = 1059628032
> > >         delay = 1059628032
> > > #6  0x8066848 in main (argc=0, argv=0xbfbffb94) at ircd.c:774
> > > No locals.
> > > (gdb)
> > >
> > > Cheers,
> > >
> > >   - Mike
> > >
> > > On Fri, 1 Aug 2003, Aaron Sethman wrote:
> > >
> > > > Hmm..could you do a bt full?
> > > >
> > > > Aaron
> > > >
> > > > On Thu, 31 Jul 2003, Mike Jackson wrote:
> > > >
> > > > > FYI -
> > > > >
> > > > > ---------- Forwarded message ----------
> > > > > Date: Thu, 31 Jul 2003 00:35:54 -0500 (EST)
> > > > > From: Mike Jackson
> > > > > To: admins at ca-efnet.org
> > > > > Subject: why irc.dks.ca split today / ratbox bug?
> > > > >
> > > > > Hi folks,
> > > > >
> > > > > Just a little bit of clarification as to why DKS split today.  It
> > appears
> > > > > I have stumbled upon a nasty little bug in ratbox.
> > > > >
> > > > > Here is what syslog told me:
> > > > >
> > > > > Jul 31 01:06:47 <local4.notice> irc ircd[351]: REHASH tklines From
> > zodiack[mike at oblivion.dks.ca]
> > > > > Jul 31 01:06:55 <local4.notice> irc ircd[351]: REHASH tdlines From
> > zodiack[mike at oblivion.dks.ca]
> > > > > Jul 31 01:07:00 <local4.notice> irc ircd[351]: REHASH rejectcache From
> > zodiack[mike at oblivion.dks.ca]
> > > > > Jul 31 01:07:20 <kern.info> irc /kernel: pid 351 (ircd), uid 100:
> > exited on signal 11 (core dumped)
> > > > >
> > > > > Here is the backtrace info from gdb:
> > > > >
> > > > > (gdb) bt
> > > > > #0  0x8072da8 in auth_error (auth=0x89aef60) at s_auth.c:251
> > > > > #1  0x8073394 in auth_connect_callback (fd=484, error=4,
> > data=0x89aef60) at s_auth.c:497
> > > > > #2  0x807456c in comm_connect_callback (fd=484, status=4) at
> > s_bsd.c:686
> > > > > #3  0x80746b7 in comm_connect_tryconnect (fd=484, notused=0x0) at
> > s_bsd.c:796
> > > > > #4  0x8074c27 in comm_select (delay=0) at s_bsd_kqueue.c:278
> > > > > #5  0x8065e9a in io_loop () at ircd.c:344
> > > > > #6  0x8066848 in main (argc=0, argv=0xbfbffb94) at ircd.c:774
> > > > >
> > > > > Here is the ratbox code:
> > > > >
> > > > > s_auth.c:251         sendheader(auth->client, REPORT_FAIL_ID);
> > > > > s_auth.c:497         auth_error(auth);
> > > > > s_bsd.c:686          hdl(fd, status, fd_table[fd].connect.data);
> > > > > s_bsd.c:796          comm_connect_callback(fd, COMM_ERR_CONNECT);
> > > > > s_bsd_kqueue.c:278   hdl(fd, F->write_data);
> > > > > ircd.c:344           comm_select(0);
> > > > > ircd.c:774           io_loop();
> > > > >
> > > > >
> > > > > Now I'm no ratbox coder by any means but I'm assuming this is not
> > normal
> > > > > and has something to do with I/O, the KQUEUE routines and the file
> > > > > descriptor table.
> > > > >
> > > > > I'm going to investigate this with the fl and the rest of the ratbox
> > > > > development team and see what we can dig up.
> > > > >
> > > > > Cheers,
> > > > >
> > > > >   - Mike
> > > > >
> > > > > --                                       .
> > > > >  ._______________________________________:_.
> > > > >  | Mike Jackson          mikjacks at UU.NET |
> > > > >  |---------------------------------------|
> > > > >  | Network Specialist,        MCI Canada |
> > > > >  | Juniper Networks Certified, JNCIA #85 |
> > > > >  `---------------------------------------'
> > > > >  "change is inevitable, progress is not."
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > ircd-ratbox mailing list
> > > > > ircd-ratbox at lists.ratbox.org
> > > > > http://lists.ratbox.org/cgi-bin/mailman/listinfo/ircd-ratbox
> > > > >
> > > >
> > >
> > > --                                       .
> > >  ._______________________________________:_.
> > >  | Mike Jackson          mikjacks at UU.NET |
> > >  |---------------------------------------|
> > >  | Network Specialist,        MCI Canada |
> > >  | Juniper Networks Certified, JNCIA #85 |
> > >  `---------------------------------------'
> > >  "change is inevitable, progress is not."
> > >
> > > _______________________________________________
> > > ircd-ratbox mailing list
> > > ircd-ratbox at lists.ratbox.org
> > > http://lists.ratbox.org/cgi-bin/mailman/listinfo/ircd-ratbox
> > >
> >
> >
>
>
> _______________________________________________
> ircd-ratbox mailing list
> ircd-ratbox at lists.ratbox.org
> http://lists.ratbox.org/cgi-bin/mailman/listinfo/ircd-ratbox
>


More information about the ircd-ratbox mailing list