[ircd-ratbox] Problems running ratbox-1.5-3 on PPC

Jesse Solway dragonzkeep at gmail.com
Thu Sep 23 12:42:53 EDT 2004


The problem we're experiencing is with ircd-ratbox-1.5-3.

The ircd compiles and starts fine, but if you attempt to send a
PRIVMSG or NOTICE to a channel, it cores. PRIVMSGS and NOTICES between
clients do not cause the cores, only when the target is a channel.

I have attached a gdb backtrace.

The platform is PowerPC running Debian Linux on a 2.4.27 kernel.

Thank you in advance for any suggestions.

Regards,

Jesse Solway
-------------- next part --------------
(gdb) bt full
#0  0x363867fc in strlen () from /lib/libc.so.6
No symbol table info available.
#1  0x3635561c in vfprintf () from /lib/libc.so.6
No symbol table info available.
#2  0x36375d48 in vsnprintf () from /lib/libc.so.6
No symbol table info available.
#3  0x1001c2dc in linebuf_putmsg (bufhead=0x7982baa8, format=0x36b01998 ":%s", va_args=0x7982ba78, 
    prefixfmt=0x10051358 ":%s %s %s ") at linebuf.c:572
        bufline = (buf_line_t *) 0x364963e4
        len = 20
        prefix_args = {{gpr = 121 'y', fpr = 130 '\202', overflow_arg_area = 0x7982b728, reg_save_area = 0x20042221}}
#4  0x10039c4c in sendto_channel_butone (one=0x364aaed0, from=0x364aaed0, chptr=0x364d2698, command=0x36b01934 "PRIVMSG", 
    pattern=0x10060000 <Address 0x10060000 out of bounds>) at send.c:473
        args = {{gpr = 32 ' ', fpr = 4 '\004', overflow_arg_area = 0x7982b8d0, reg_save_area = 0x7982b6fe}}
        local_linebuf = {list = {head = 0x3645021c, tail = 0x7982b310, length = 2038610112}, len = 909464116, alloclen = 0, 
  writeofs = 0, numlines = 0}
        remote_linebuf = {list = {head = 0x0, tail = 0x0, length = 0}, len = 0, alloclen = 268828672, writeofs = 268752510, 
  numlines = 2038608752}
        target_p = (struct Client *) 0x364aaf24
        msptr = (struct membership *) 0x1
        ptr = (dlink_node *) 0x8
        next_ptr = (dlink_node *) 0x364d2734
#5  0x36b00954 in msg_channel (p_or_n=0, command=0x36b01934 "PRIVMSG", client_p=0x364aaed0, source_p=0x364aaed0, chptr=0x364d2698, 
    text=0x1039f60a "test") at core/m_message.c:447
        result = 1
#6  0x36b00414 in m_message (p_or_n=0, command=0x364aaed0 "6J®Ð\020;\016t", client_p=0x1039f60a, source_p=0x364aaed0, 
    parc=2139029504, parv=0x364d2698) at core/m_message.c:210
        i = 0
#7  0x100278a4 in handle_command (mptr=0x364aaed0, client_p=0x36b19b04, from=0x0, i=0, hpara=0x364d2698) at parse.c:388
        handler = 0x1
#8  0x100272fc in parse (client_p=0x0, pbuffer=0x36b11e04 "6M&\230", bufend=0x1039f60e "") at parse.c:301
        ii = 1
        from = (struct Client *) 0x36b01934
        ch = 0x1039f5fc "PRIVMSG"
        s = 0x1039f604 "#moo"
        end = 0x1039f60d "t"
        i = 0
        numeric = 0x7982ba78 "\a"
        mptr = (struct Message *) 0x36b11a90
#9  0x10026fa8 in client_dopacket (client_p=0x364aaed0, buffer=0x1039f5fc "PRIVMSG", length=18) at packet.c:507
No locals.
#10 0x1002671c in parse_client_queued (client_p=0x364aaed0) at packet.c:152
        i = 0
        dolen = 2038610448
        checkflood = 1
        lclient_p = (struct LocalUser *) 0x364b7a98
#11 0x10026d2c in read_packet (fd=1, data=0x0) at packet.c:418
        client_p = (struct Client *) 0x364aaed0
        lclient_p = (struct LocalUser *) 0x1039f5fc
        length = 910916248
        lbuf_len = 1
        fd_r = 0
        binary = 18
#12 0x1002d378 in comm_select (delay=910513416) at s_bsd_select.c:214
        num = 1
        fd = 5
        hdl = (PF *) 0x10026c24 <read_packet>
        F = (fde_t *) 0x36455508
        to = {tv_sec = 4, tv_usec = 2038610016}
#13 0x10019d08 in io_loop () at ircd.c:365
        empty_cycles = 50
        st = 1
        delay = 1
#14 0x1001a71c in main (argc=2038610000, argv=0x36355234) at ircd.c:795
No locals.
(gdb)


More information about the ircd-ratbox mailing list