[IRCServices] ircservices-5.0.57 convert-db utility crashes when converting from anope db.

Gabriel Baez gabriel.baez at solid-ircd.com
Mon Jun 19 09:44:12 PDT 2006




services version: ircservices-5.0.57
System info: OS RedHat Enterprise 4

Linux  2.6.9-34.EL #1  i686  GNU/Linux

gcc info:

sheik at shellshed.com [~]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)


sheik@*****  [~/services2/lib]# ./convert-db -v +anope /home/sheik/services
Loading nick.db...
Loading chan.db...
Loading oper.db...
Loading exception.db...
Loading news.db...
Data files successfully loaded.
Checking data integrity...
Segmentation fault



gdb info:

(gdb) run -v +anope /home/sheik/services
Starting program: /home/sheik/services2/lib/convert-db -v +anope
/home/sheik/services
Loading nick.db...
Loading chan.db...
Loading oper.db...
Loading exception.db...
Loading news.db...
Data files successfully loaded.
Checking data integrity...

Program received signal SIGSEGV, Segmentation fault.
0x00a208e3 in strchr () from /lib/tls/libc.so.6
(gdb) bt
#0  0x00a208e3 in strchr () from /lib/tls/libc.so.6
#1  0x0804a440 in main (ac=4, av=0xbfecb354) at convert-db.c:594
(gdb) bt full
#0  0x00a208e3 in strchr () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x0804a440 in main (ac=4, av=0xbfecb354) at convert-db.c:594
        j = Variable "j" is not available.
(gdb)


any suggestions?