[IRCServices Coding] Version 5 Beta Segfaults (warning, newbie submitter)

Andrew Church achurch at achurch.org
Sat Jun 1 21:23:43 PDT 2002


     This is odd.  Can you send me (privately) a copy of your
ircservices.conf and modules.conf files?

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

>Hey people
>I've run into a teeny problem and I was hoping that someone out there would
>be able to help me.
>
>I've been trying to get version 5beta running for a while now with no luck.
>I was following the version 5alpha releases very closely and playing around
>with them, but while version 5 was in alpha it was working fine on my old
>redhat machine.
>
>I recently installed Debian on a new machine that I had lying around and now
>I cant get ircservices 5 working, not even one of the alpha versions.
>Perhaps I'm missing a library of some sort.
>
>Im running Debian, so I used the .deb package and it gave the same error as
>below, so I tried to install it from the source, but still did the same
>thing.
>
><Begins large dump of hopefully useful info>
>
>Versions:
>ii  gcc            2.95.4-14      The GNU C compiler.
>ii  make           3.79.1-14      The GNU version of the "make" utility.
>
>
>What happens:
>---- snip ----
>ircd at goliath:~/ircservices$ ./ircservices -debug
>Segmentation fault
>---- snip ----
>
>no log file is created, so I cant show any output from it.
>
>I even recompiled with the option to core dump, and it didn't. Couldn't find
>the core file anywhere
>
>---- snip ----
>ircd:~/ircservices$ ./ircservices -debug
>Segmentation fault
>ircd:~/ircservices$ ls
>ircservices  ircservices-chk  lib
>ircd:~/ircservices$ cd lib
>ircd:~/ircservices$ ls
>convert-db                example-modules.conf  ircservices.conf  modules
>example-ircservices.conf  helpfiles             languages
>modules.conf
>ircd:~/ircservices$
>---- snip ----
>
>Seeing as I couldn't find a core file.. I decided to try gdb anyway
>(I really dont know what I'm doing, I'm just trying to provide as much
>information as possible)
>
>---- snip ----
>ircd at goliath:~/ircservices$ gdb
>GNU gdb 2002-04-01-cvs
>Copyright 2002 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 "i386-linux".
>(gdb) file ircservices
>Reading symbols from ircservices...done.
>(gdb) run
>Starting program: /home/ircd/ircservices/ircservices
>
>Program received signal SIGSEGV, Segmentation fault.
>0x0804e34c in do_all_directives (action=0, directives=0x805f7d8) at
>conffile.c:69
>69                      *(int32 *)d->params[i].ptr = val.intval;
>(gdb) bt
>#0  0x0804e34c in do_all_directives (action=0, directives=0x805f7d8) at
>conffile.c:69
>#1  0x0804f214 in configure (modulename=0x0, directives=0x805f7d8, action=3)
>at conffile.c:549
>#2  0x0804f55d in read_config () at init.c:141
>#3  0x0804ff35 in init (ac=1, av=0xbffffe24) at init.c:584
>#4  0x0805224b in main (ac=1, av=0xbffffe24, envp=0xbffffe2c) at main.c:168
>(gdb)
>---- snip ----
>
>I hope this is enough info for you to work with.
>
>Kieran
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding