Subject: ircd-hybrid 7.0 on NetBSD-current
To: None <>
From: Sean Davis <>
List: current-users
Date: 02/19/2004 20:41:02
I've noticed that ircd-hybrid 7.0 is unstable to the point of unusability on
NetBSD 1.6ZK i386 and alpha (I can try sparc64, but I suspect it'll die
there too)

The traceback I was able to get from gdb (on i386) is:
#0  0x48131b16 in strcasecmp () from /usr/lib/
#1  0x480b5ff6 in __gettext_iconv () from /usr/lib/
#2  0x480b5e24 in dcngettext () from /usr/lib/
#3  0x480b4f0b in gettext () from /usr/lib/
#4  0x08063eac in oper_up (source_p=0x4819deb0, aconf=0x8313380)
    at s_user.c:1369
#5  0x080772d0 in m_oper (client_p=0x4819deb0, source_p=0x4819deb0, parc=3, 
    parv=0x8261be0) at m_oper.c:148
#6  0x080595ee in handle_command (mptr=0x80a2e40, client_p=0x4819deb0, 
    from=0x4819deb0, i=3, hpara=0x8261be0) at parse.c:394
#7  0x080592c2 in parse (client_p=0x4819deb0, pbuffer=0x825dbc0 "OPER", 
    bufend=0x825dbd0 "") at parse.c:300
#8  0x08058b32 in parse_client_queued (client_p=0x4819deb0) at packet.c:174
#9  0x08058fe8 in read_packet (fd=6, data=0x4819deb0) at packet.c:442
#10 0x0805bf50 in comm_select (delay=1209371728) at s_bsd_kqueue.c:271
#11 0x080550e6 in io_loop () at ircd.c:336
#12 0x08055824 in main (argc=0, argv=0xbfbffb8c) at ircd.c:763
#13 0x08049a12 in ___start ()

On alpha, the first two frames were the same (different numbers, of course,
but same calls) and after those two, gdb decided the stack was broken and
wouldn't tell me any more. I highly doubt this is a problem in ircd, because
it was working just fine on 1.6ZE, although it did segfault once, for
reasons I never fully investigated.

Should I file a PR? this isn't the pkgsrc ircd, since that hasn't been
updated since hybrid 6.2...


/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!