[IRCServices] Ircservices crash on db update after adding AOP or SOP to chanserv

Aaron Eldridge drefsab_zn at hotmail.com
Mon Oct 29 07:41:07 PDT 2007


Hi guys,
          I'm very new to this so sorry if im missing something obvious. I'm currently running hybrid 7.2.3 with ircservices 5.1.4 on a test server. All seams fine the nickserv is behaving properly and seams stable, I then registered a channel and all that worked fine. I then added an AOP to that channel and while everything seamed fine soon after the ircservices crashed. 
 
When I brought the services back up it seams the AOP wasn't saved (pointing me to it being a problem with the database's updating). I then added user as an SOP this time and again it crashed. The ircservices.log showed nothing wrong. So I deleted the entire Ircservices install and recompiled (with the core dump options) and configured again.
 
Tried it once again and again had the same problem, so I did the gdb backtrace (included below). If anyone could help point out where im going wrong I would greatly appreciate it as I am out of idea's.
 
Thanks for reading
Aaron
 
GNU gdb 6.4.90-debianCopyright (C) 2006 Free Software Foundation, Inc.GDB is free software, covered by the GNU General Public License, and you arewelcome 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 "i486-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.Reading symbols from /lib/libm.so.6...done.Loaded symbols for /lib/libm.so.6Reading symbols from /lib/libcrypt.so.1...done.Loaded symbols for /lib/libcrypt.so.1Reading symbols from /lib/libdl.so.2...done.Loaded symbols for /lib/libdl.so.2Reading symbols from /lib/libc.so.6...done.Loaded symbols for /lib/libc.so.6Reading symbols from /lib/ld-linux.so.2...done.Loaded symbols for /lib/ld-linux.so.2Reading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/protocol/hybrid.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/protocol/hybrid.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/encryption/md5.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/encryption/md5.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/encryption/unix-crypt.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/encryption/unix-crypt.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/database/standard.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/database/standard.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/mail/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/mail/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/mail/smtp.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/mail/smtp.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/operserv/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/operserv/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/operserv/akill.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/operserv/akill.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/operserv/news.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/operserv/news.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/operserv/sessions.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/operserv/sessions.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/operserv/sline.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/operserv/sline.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/access.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/access.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/link.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/link.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/mail-auth.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/nickserv/mail-auth.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/access-levels.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/access-levels.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/access-xop.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/chanserv/access-xop.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/forward.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/forward.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/ignore.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/memoserv/ignore.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/statserv/main.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/statserv/main.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/misc/helpserv.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/misc/helpserv.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/misc/xml-export.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/misc/xml-export.soReading symbols from /home/aaron/irc_d/services/lib/ircservices/modules/misc/xml-import.so...done.Loaded symbols for /home/aaron/irc_d/services/lib/ircservices/modules/misc/xml-import.soCore was generated by `./ircservices'.Program terminated with signal 11, Segmentation fault.#0  0xb7e1afb5 in write_string (s=0xc <Address 0xc out of bounds>, f=0x8257d58) at modules/database/fileutil.c:400400         len = strlen(s);
 
(gdb) bt#0  0xb7e1afb5 in write_string (s=0xc <Address 0xc out of bounds>, f=0x8257d58) at modules/database/fileutil.c:400#1  0xb7e1a00b in write_records (ti=0x8257d10, f=0x8257d58, recsize=10) at modules/database/standard.c:723#2  0xb7e19953 in standard_save_table (table=0xb7ce71d0) at modules/database/standard.c:561#3  0x080525da in save_all_dbtables () at databases.c:174#4  0x080593e5 in save_data_now () at main.c:271#5  0x080595e8 in main (ac=1, av=0xbfab0224, envp=0xbfab022c) at main.c:322
 
 
_________________________________________________________________
Get free emoticon packs and customisation from Windows Live. 
http://www.pimpmylive.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: ../attachments/20071029/e6a02eab/attachment.htm