On Mon, 27 Aug 2001, Pui Ng wrote:

(sorry about quoting the entire previous mail, but you might lose the
context, and not have the previous mail available)

This behaviour seems to now be 100% reproducible on the sparc/solaris
platform, with just obvlivion loaded.  the trigger seems to be a channel
mode -k without the corresponding key, and when the channel doesn't
already have a key.

Epic does not core on x86/freebsd with oblivion loaded, nor on
sparc/solaris without oblivion, so that would suggest another
architecture dependant bug, but only when the script is doing something
funny.

>$ epic -v
>ircII EPIC4-1.0.1 (Date of release: 20010417)
>
>(source patched with lastlog-patch from hop, whichis basically
>revision 1.1.1.1 of include/debug.h, include/lastlog.h, source/debug.c, 
>source/lastlog.c
>and revision 1.2 of include/window.h
>and revision 1.9 of source/window.c)
>
>>        Hardware type?
>>        Operating System? (try uname -a for most, or uname -X for SCO)
>
>SunOS 5.8 Generic_108528-03 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>
>>        Your compiler (include version, if known)
>
>$ gcc -v
>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
>
>>        What scripts/script packs you run (phoenix, uus, superpack, etc)
>
>oblivion 1.0c2b9,
>(from scripts archive, possibly modified) hybrid6, starutils, eustat3, imap, 
>recursion,
>other little scripts that i've cobbled together
>
>
>
>Problem occurs at run-time.  Seems to be essentially random; nothing on screen that 
>seems
>to be the cause.  This is not the first time it's happened, but it is the first time 
>i've
>obtained a core.  Corefile suggests it has something to do with parsing/stripping 
>channel modes.
>
>
>/xdebug +crash produces a core:
>
>$ gdb epic core
>GNU gdb 5.0
>Copyright 2000 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "sparc-sun-solaris2.8"...
>
>warning: core file may not match specified executable file.
>Core was generated by `epic'.
>Program terminated with signal 6, Abort.
>Reading symbols from /usr/lib/libsocket.so.1...done.
>Loaded symbols for /usr/lib/libsocket.so.1
>Reading symbols from /usr/lib/libnsl.so.1...done.
>Loaded symbols for /usr/lib/libnsl.so.1
>Reading symbols from /usr/lib/libresolv.so.2...done.
>Loaded symbols for /usr/lib/libresolv.so.2
>Reading symbols from /usr/lib/libcrypt_i.so.1...done.
>Loaded symbols for /usr/lib/libcrypt_i.so.1
>Reading symbols from /usr/lib/libm.so.1...done.
>Loaded symbols for /usr/lib/libm.so.1
>Reading symbols from /usr/lib/libc.so.1...done.
>Loaded symbols for /usr/lib/libc.so.1
>Reading symbols from /usr/lib/libdl.so.1...done.
>Loaded symbols for /usr/lib/libdl.so.1
>Reading symbols from /usr/lib/libmp.so.2...done.
>Loaded symbols for /usr/lib/libmp.so.2
>Reading symbols from /usr/lib/libgen.so.1...done.
>Loaded symbols for /usr/lib/libgen.so.1
>Reading symbols from 
>/usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1...done.
>Loaded symbols for /usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1
>Reading symbols from /usr/lib/nss_files.so.1...done.
>Loaded symbols for /usr/lib/nss_files.so.1
>Reading symbols from /usr/lib/nss_dns.so.1...done.
>Loaded symbols for /usr/lib/nss_dns.so.1
>#0  0xff19a790 in _libc_kill () from /usr/lib/libc.so.1
>(gdb) bt
>#0  0xff19a790 in _libc_kill () from /usr/lib/libc.so.1
>#1  0x4cb58 in irc_exit (really_quit=0, format=0x846b0 "Hmmm. %s has another bug.  Go 
>figure...")
>    at ./irc.c:310
>#2  0x4cc30 in coredump (unused=11) at ./irc.c:365
>#3  <signal handler called>
>#4  0xff132e5c in strlen () from /usr/lib/libc.so.1
>#5  0xff181890 in _doprnt () from /usr/lib/libc.so.1
>#6  0xff183a04 in vsnprintf () from /usr/lib/libc.so.1
>#7  0x467f0 in do_hook (which=37, format=0x87e48 "%s %s %c%c %s") at hook.c:705
>#8  0x5f8cc in strip_modes (from=0xffbed6b1 "gow`SAFC", channel=0xffbed6d7 "#uk",
>    line=0x6b <Address 0x6b out of bounds>) at parse.c:899
>#9  0x5f6ac in p_mode (from=0xffbed6b1 "gow`SAFC", ArgList=0xffbed6db) at parse.c:824
>#10 0x600d0 in parse_server (orig_line=0xa9000 "") at parse.c:1206
>#11 0x66314 in do_server (rd=0xffbef730) at server.c:756
>#12 0x4da8c in io (what=0x84bd0 "main") at ./irc.c:871
>#13 0x4e248 in main (argc=1, argv=0xffbef89c) at ./irc.c:1262
>
>

_______________________________________________
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list

Reply via email to