[IRCServices] Segfault on Opteron (64-bit) Linux

Liverbugg liverbugg at rinux.org
Tue Oct 12 00:29:41 PDT 2004


Sean Kelly wrote:

>On Tue, Oct 12, 2004 at 02:40:50AM -0400, Liverbugg wrote:
>...
>  
>
>>I was just setting up everything to give you remote access and I found a
>>core file and this looks a bit more useful then the last GDB output
>>
>>Squall ircservices # gdb bin/ircservices lib/ircservices/core
>>    
>>
>...
>  
>
>>(gdb) bt
>>    
>>
>
>You might consider a 'bt full'. That will show local variables and likely
>be a lot more helpful.
>
>  
>
Don't know if this is going to get mangled by my client...

(gdb) bt full
#0  0x0000002a956d7baf in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1  0x000000000047a1cd in do_receive_message (
    source=0xffffffffbffff1d0 <Address 0xffffffffbffff1d0 out of bounds>,
    cmd=0xffffffffbffff190 <Address 0xffffffffbffff190 out of bounds>, 
ac=2,
    av=0x71bf30) at modules/protocol/unreal.c:949
No locals.
#2  0x0000000000412b41 in call_callback_5 (module=0x5abaa0, id=27,
    arg1=0xffffffffbffff1d0, arg2=0xffffffffbffff190, arg3=0x2, 
arg4=0x71bf30,
    arg5=0x0) at modules.c:699
        cl = (CallbackList *) 0x676bd0
        res = 0
        i = 0
#3  0x00000000004134d6 in process () at process.c:136
        source = "irc.lanchelms.com", '\0' <repeats 39 times>, 
"ÿþþþ\005\000\000"
        cmd = "NOTICE\000\000\223¢F\000\000\000\000\000Pòÿ¿\003", '\0' 
<repeats 11 times>, " òÿ¿\177\000\000\000A+A\000\000\000\000\000 
\207\\\000\000\000\000\000 ºZ\000\000\000\000"
        buf = "NOTICE\000AUTH\000\000*** Looking up your 
hostname...\000p your 
hostname...\000\000ðÿ¿\177\000\000\000Ä8A\000\000\000\000\000\002\000ÿ¿\177\000\000\000v8A\000\000\000\000\0000\000\000\0000\000\000\000\bñÿ¿\177\000\000\000 
ðÿ¿\177\000\000\000Ôág\225*\000\000\000\230hI", '\0' <repeats 13 times>, 
"\003\000\
000\000\000\000\000\000 
`\207\225*\000\000\000@¬q\000\000\000\000\000¾vkA\000\000\000\000°Sg\000\000\000\000\000ÐSg\000\000\000\000\000\000\001ó\t\000\000\000\000_\031@"...
        s = 0x7fbfffef97 "AUTH"
        ac = 2
        av = (char **) 0x71bf30
#4  0x000000000040df39 in readfirstline_callback (s=0x71c1b0,
    param_unused=0x41) at main.c:160
No locals.
#5  0x00000000004164f1 in check_sockets () at sockets.c:516
        newline = 0x71c950 "\n"
        left = 65
        newleft = 65
        rfds = {fds_bits = {1, 0 <repeats 15 times>}}
        wfds = {fds_bits = {0 <repeats 16 times>}}
        tv = {tv_sec = 2, tv_usec = 999000}
        i = 0
        res = 65
        s = (Socket *) 0x71c1b0
        s2 = (Socket *) 0x0
#6  0x000000000040e2d3 in main (ac=1, av=0x7fbffff538, envp=0x7fbffff548)
    at main.c:267
        now = 1097561790
        now_msec = -1949837413
        last_update = 1097561790
        last_check = 2345129883
(gdb)