View Issue Details

IDProjectCategoryView StatusLast Update
0001792unrealircdpublic2004-05-19 10:41
Reportercrazytoon Assigned To 
PrioritynormalSeveritycrashReproducibilityN/A
Status closedResolutionopen 
Product Version3.2 
Summary0001792: the Ircd had to be restarted after the nose message it all connetions refused there also left to the stroke and services
Description [20:38] -irc.FuNNyChat.net- *** Notice -- [BUG] trying to add fd #-1 to 0x8150c00 (0x8151c20/0x814e560/0x814d440/0x8150c00), range is 0..1024
3rd party modules

Activities

syzop

2004-05-07 16:32

administrator   ~0006123

Do you have any 3rd party modules loaded (anything besides commands.so) or did you do any source modifications?

This looks very very weird.

crazytoon

2004-05-07 19:17

reporter   ~0006124

I have the following modules to run: [ 02:09 ] irc.FuNNyChat.net *** rmtkl (COMMANDS/rmtkl) [ 3RD ] - [ 02:09 ] irc.FuNNyChat.net *** clones (COMMAND/clone) [ 3RD ] - [ 02:09 ] irc.FuNNyChat.net *** COMMAND (Wrapper LIBRARY for m _ COMMANDS) - [ 02:09 ] irc.FuNNyChat.net *** noctcp (channel mode +D and user mode +m & +M) [ 3RD ] - [ 02:09 ] irc.FuNNyChat.net *** operpasswd (Failed OPERA attempts more notifier) [ 3RD ] - [ 02:09 ] irc.FuNNyChat.net *** m_blocknonalpha (prevents nicks with non alphabetic chars from joining A +y channel) [ 3RD ] - [ 02:09 ] irc.FuNNyChat.net *** jointhrottle (channel mode +j (join throttle)) [ 3RD otherwise I changed nothing. sorry for my English is translated google with;)

syzop

2004-05-08 10:33

administrator   ~0006128

Do you get it often?
I suspect it's one of those modules you have loaded.

Anyway, to trace this issue you would need to add the following line to src/fdlist.c line 54:
abort();
So then it will look like:
    if ((fd < 0) || (fd >= MAXCONNECTIONS))
    {
        sendto_realops("[BUG] trying to add fd #%d to %p (%p/%p/%p/%p), range is 0..%d",
            fd, listp, &default_fdlist, &busycli_fdlist, &serv_fdlist, &oper_fdlist,
            MAXCONNECTIONS);
        ircd_log(LOG_ERROR, "[BUG] trying to add fd #%d to %p (%p/%p/%p/%p), range is 0..%d",
            fd, listp, &default_fdlist, &busycli_fdlist, &serv_fdlist, &oper_fdlist,
            MAXCONNECTIONS);
        abort();
        return;
    }

And then run 'make' (and 'make install' if needed), and _restart_.

If the ircd then crashes, report it here.

syzop

2004-05-17 21:20

administrator   ~0006310

Any update on this crazytoon?
Also.. Which language do you speak normally?

crazytoon

2004-05-19 10:38

reporter   ~0006333

Hello syzop

Everything works well. No more crashes :)
syzop I speak German ;)

syzop

2004-05-19 10:41

administrator   ~0006334

Ah ok :p.
Weird then... If you crash again, let us know :).

Issue History

Date Modified Username Field Change
2004-05-07 16:21 crazytoon New Issue
2004-05-07 16:32 syzop Note Added: 0006123
2004-05-07 19:17 crazytoon Note Added: 0006124
2004-05-08 10:33 syzop Note Added: 0006128
2004-05-17 21:20 syzop Note Added: 0006310
2004-05-19 10:38 crazytoon Note Added: 0006333
2004-05-19 10:41 syzop Status new => closed
2004-05-19 10:41 syzop Note Added: 0006334