[IRCServices] Crashes very soon after start

Andrew Church achurch at achurch.org
Tue Jul 30 19:34:00 PDT 2002


     This doesn't help much.  What version of Services are you running?
What command caused the error (try "print inbuf" in the main() frame in
gdb)?

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Hi, i have this gdb output for you guys to debug. I run irc.everyday.ee a
>nd i 
>can't upgrade to latest ircservices because it will crash. Also the 4.5.3
>9 
>crashed some time ago, but i didn't want to debug that.
>
>Margus.
>
>(gdb) c
>Continuing.
>
>Program received signal SIGSEGV, Segmentation fault.
>0x4009cabc in _IO_vfprintf (s=0xbfffecf0, format=0x80b6b50 "Unable to
> op 
>\002%s\002 on channel \002%s\002.",
>    ap=0xbfffee44) at ../sysdeps/i386/i486/bits/string.h:530
>530     ../sysdeps/i386/i486/bits/string.h: No such file or directory.
>        in ../sysdeps/i386/i486/bits/string.h
>(gdb) bt
>#0  0x4009cabc in _IO_vfprintf (s=0xbfffecf0, format=0x80b6b50 "Unabl
>e to op 
>\002%s\002 on channel \002%s\002.",
>    ap=0xbfffee44) at ../sysdeps/i386/i486/bits/string.h:530
>#1  0x400bdf04 in _IO_vsnprintf (string=0xbfffee80 "Unable to op \002OP
>\002 on 
>channel \002\005\bÐîÿ¿",
>    maxlen=1024, format=0x80b6b50 "Unable to op \002%s\002 on channel
> 
>\002%s\002.", args=0xbfffee3c)
>    at vsnprintf.c:130
>#2  0x08054a14 in my_vsnprintf (buf=0xbfffee80 "Unable to op \002OP\002
> on 
>channel \002\005\bÐîÿ¿", len=1024,
>    fmt=0x80b6b50 "Unable to op \002%s\002 on channel \002%s\002.", 
>args=0xbfffee3c) at compat.c:28
>#3  0x08054a48 in my_snprintf (buf=0xbfffee80 "Unable to op \002OP\002 
>on 
>channel \002\005\bÐîÿ¿", len=1024,
>    fmt=0x80b6b50 "Unable to op \002%s\002 on channel \002%s\002.") at 
>compat.c:40
>#4  0x08053b5f in do_opvoice (u=0x81df430, cmd=0x806b1b4 "OP") at 
>chanserv.c:2743
>#5  0x08053e5f in do_op (u=0x81df430) at chanserv.c:2802
>#6  0x080547ed in run_cmd (service=0x80b0728 "ChanServ", u=0x81df430,
> 
>list=0x80721d8, cmd=0xbffff7a2 "op")
>    at commands.c:42
>#7  0x0804c412 in chanserv (source=0xbffff9d0 "i1i", buf=0xbffff7a2 "
>op") at 
>chanserv.c:351
>#8  0x0805bdef in m_privmsg (source=0xbffff9d0 "i1i", ac=2, av=0x81
>55a50) at 
>messages.c:285
>#9  0x08065de0 in process () at process.c:209
>#10 0x080596f2 in main (ac=1, av=0xbffffac4, envp=0xbffffacc) at ma
>in.c:316
>#11 0x40061627 in __libc_start_main (main=0x80593a4 <main>, argc=1, 
>ubp_av=0xbffffac4, init=0x8049254 <_init>,
>    fini=0x806a240 <_fini>, rtld_fini=0x4000dcc4 <_dl_fini>, 
>stack_end=0xbffffabc)
>    at ../sysdeps/generic/libc-start.c:129
>(gdb) bt
>#0  0x4009cabc in _IO_vfprintf (s=0xbfffecf0, format=0x80b6b50 "Unabl
>e to op 
>\002%s\002 on channel \002%s\002.",
>    ap=0xbfffee44) at ../sysdeps/i386/i486/bits/string.h:530
>#1  0x400bdf04 in _IO_vsnprintf (string=0xbfffee80 "Unable to op \002OP
>\002 on 
>channel \002\005\bÐîÿ¿",
>    maxlen=1024, format=0x80b6b50 "Unable to op \002%s\002 on channel
> 
>\002%s\002.", args=0xbfffee3c)
>    at vsnprintf.c:130
>#2  0x08054a14 in my_vsnprintf (buf=0xbfffee80 "Unable to op \002OP\002
> on 
>channel \002\005\bÐîÿ¿", len=1024,
>    fmt=0x80b6b50 "Unable to op \002%s\002 on channel \002%s\002.", 
>args=0xbfffee3c) at compat.c:28
>#3  0x08054a48 in my_snprintf (buf=0xbfffee80 "Unable to op \002OP\002 
>on 
>channel \002\005\bÐîÿ¿", len=1024,
>    fmt=0x80b6b50 "Unable to op \002%s\002 on channel \002%s\002.") at 
>compat.c:40
>#4  0x08053b5f in do_opvoice (u=0x81df430, cmd=0x806b1b4 "OP") at 
>chanserv.c:2743
>#5  0x08053e5f in do_op (u=0x81df430) at chanserv.c:2802
>#6  0x080547ed in run_cmd (service=0x80b0728 "ChanServ", u=0x81df430,
> 
>list=0x80721d8, cmd=0xbffff7a2 "op")
>    at commands.c:42
>#7  0x0804c412 in chanserv (source=0xbffff9d0 "i1i", buf=0xbffff7a2 "
>op") at 
>chanserv.c:351
>#8  0x0805bdef in m_privmsg (source=0xbffff9d0 "i1i", ac=2, av=0x81
>55a50) at 
>messages.c:285
>#9  0x08065de0 in process () at process.c:209
>#10 0x080596f2 in main (ac=1, av=0xbffffac4, envp=0xbffffacc) at ma
>in.c:316
>#11 0x40061627 in __libc_start_main (main=0x80593a4 <main>, argc=1, 
>ubp_av=0xbffffac4, init=0x8049254 <_init>,
>    fini=0x806a240 <_fini>, rtld_fini=0x4000dcc4 <_dl_fini>, 
>stack_end=0xbffffabc)
>    at ../sysdeps/generic/libc-start.c:129
>(gdb) locals
>Undefined command: "locals".  Try "help".
>(gdb) info locals
>string_malloced = 0
>step0_jumps = {0, -13825, -13729, -13633, -13521, -13425, -13329, -1312
>1, 
>-12865, -12657, -12385, -12177, -12081,
>  -11969, -11665, -11421, -9146, -8989, -8973, -8957, -8641, -8144, -7195
>, 
>-7071, -6945, -8627, -6897, -11873,
>  -11777, -13217}
>step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, -12657, -12385, -12177, -1208
>1, 
>-11969, -11665, -11421, -9146, -8989,
>  -8973, -8957, -8641, -8144, -7195, -7071, -6945, -8627, -6897, -11873, 
>-11777, -13217}
>step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12385, -12177, -12081, -1
>1969, 
>-11665, -11421, -9146, -8989, -8973,
>  -8957, -8641, -8144, -7195, -7071, -6945, -8627, -6897, -11873, -11777,
> 
>-13217}
>step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12289, 0, 0, 0, -11665, 
>-11421, 
>-9146, -8989, -8973, 0, 0, 0, 0,
>  -7071, 0, 0, 0, 0, 0, 0}
>step3b_jumps = {0 <repeats 11 times>, -12081, 0, 0, -11665, -11421, -91
>46, 
>-8989, -8973, -8957, -8641, -8144,
>  -7195, -7071, -6945, -8627, -6897, 0, 0, 0}
>step4_jumps = {0 <repeats 14 times>, -11665, -11421, -9146, -8989, -897
>3, 
>-8957, -8641, -8144, -7195, -7071, -6945,
>  -8627, -6897, 0, 0, 0}
>is_negative = 0
>number = {longlong = 0, word = 0}
>base = 0
>the_arg = {pa_char = 0 '\000', pa_wchar = 0, pa_short_int = 0, pa
>_int = 0, 
>pa_long_int = 0, pa_long_long_int = 0,
>  pa_u_short_int = 0, pa_u_int = 0, pa_u_long_int = 0, pa_u_long_lo
>ng_int = 0, 
>pa_float = 0, pa_double = 0,
>  pa_long_double = 0, pa_string = 0x0, pa_wstring = 0x0, pa_pointer
> = 0x0}
>string = 0x1 <Address 0x1 out of bounds>
>alt = 0
>space = 0
>left = 0
>showsign = 0
>group = 0
>is_long_double = 0
>is_short = 0
>is_long = 0
>is_char = 0
>width = 0
>prec = -1
>use_outdigits = 0
>pad = 32 ' '
>spec = 115 's'
>_buffer = {__routine = 0, __arg = 0x0, __canceltype = 0, __prev =
> 0xffffffff}
>thousands_sep = 0x0
>grouping = 0xffffffff <Address 0xffffffff out of bounds>
>done = 30
>f = (unsigned char *) 0x80b6b6f "s\002."
>end_of_spec = (unsigned char *) 0x0
>---Type <return> to continue, or q <return> to quit---
>work_buffer = '\000' <repeats 45 times>, 
>"\020\000\000¦éÿ¿À\222\027@\000\000\000\000\031^\006\b\000\a\01
>3\bW\002\a\b8éÿ¿lùÿ¿@éÿ¿\000\a\013\bXùÿ¿P`\006\b\
>000\a\013\bW\002\a\b\210î\035\bwéÿ¿This 
>nickname has been 
>regisþ\003\000\000\002\000\000\000Âéÿ¿\210éÿ¿\024J\005\bÂ
>éÿ¿þ\003\000\000Äó\006\b¼éÿ\000àg\a\b\002\000\000\000
>¨éÿ¿\031^\006\b(h\a\bÜ«\006\b¸éÿ¿¼éÿ¿est0\002
>.\000\000\003\000\000\000Í¢\004\bàg\a\b\000\000\000\000\214\004\0
>00"...
>workend = 0xbfffecb8 "\177òÿ¿"
>mbstate = {__count = 0, __value = {__wch = 0, __wchb = "\000\00
>0\000"}}
>ap_save = 0xbfffee3c
>nspecs_done = 1
>save_errno = 0
>jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8, 8,
> 8, 8, 
>8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0,
>  26, 0, 25, 0, 19, 19, 19, 0, 29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 
>0, 0, 
>18, 0, 13, 0, 0, 0, 0, 0, 0, 26, 0,
>  20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27, 1
>6, 0, 
>0, 18, 0, 13}
>thousands_sep = 0x0
>grouping = 0xffffffff <Address 0xffffffff out of bounds>
>done = 30
>f = (unsigned char *) 0x80b6b6f "s\002."
>work_buffer = '\000' <repeats 45 times>, 
>"\020\000\000¦éÿ¿À\222\027@\000\000\000\000\031^\006\b\000\a\01
>3\bW\002\a\b8éÿ¿lùÿ¿@éÿ¿\000\a\013\bXùÿ¿P`\006\b\
>000\a\013\bW\002\a\b\210î\035\bwéÿ¿This 
>nickname has been 
>regisþ\003\000\000\002\000\000\000Âéÿ¿\210éÿ¿\024J\005\bÂ
>éÿ¿þ\003\000\000Äó\006\b¼éÿ\000àg\a\b\002\000\000\000
>¨éÿ¿\031^\006\b(h\a\bÜ«\006\b¸éÿ¿¼éÿ¿est0\002
>.\000\000\003\000\000\000Í¢\004\bàg\a\b\000\000\000\000\214\004\0
>00"...
>workend = 0xbfffecb8 "\177òÿ¿"
>mbstate = {__count = 0, __value = {__wch = 0, __wchb = "\000\00
>0\000"}}
>ap_save = 0xbfffee3c
>nspecs_done = 1
>save_errno = 0
>jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8, 8,
> 8, 8, 
>8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0,
>  26, 0, 25, 0, 19, 19, 19, 0, 29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 
>0, 0, 
>18, 0, 13, 0, 0, 0, 0, 0, 0, 26, 0,
>  20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27, 1
>6, 0, 
>0, 18, 0, 13}
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices