[IRCServices] seg fault - possibly on manipulation of xOP lists

WhoWantsToKnow wwtk at hotmail.com
Thu Nov 8 21:02:28 PST 2007


Hello,

 

I am having an issue with services segfaulting on my server.  I can't really
gleen anything from the logs that would point to something that is being
done specifically at the time this happens.  There is nothing in the logs
except the normal kind of things going on right up until the services dies.
My IRCops tell me that it has happened to them on more than one occasion
when manipulating the xOP lists on various channels.

 

Excerpt from the logs

 

[Nov 08 18:58:02 2007] PANIC! signal 11 (no buffer)

[Nov 08 18:58:02 2007] Services terminating: Segmentation fault

 

 

Backtrace of core file:

 

Core was generated by `ircservices'.

Program terminated with signal 11, Segmentation fault.

Reading symbols from /lib/libm.so.3...done.

Loaded symbols for /lib/libm.so.3

Reading symbols from /lib/libcrypt.so.2...done.

Loaded symbols for /lib/libcrypt.so.2

Reading symbols from /lib/libc.so.5...done.

Loaded symbols for /lib/libc.so.5

Reading symbols from /libexec/ld-elf.so.1...done.

Loaded symbols for /libexec/ld-elf.so.1

#0  0x28183659 in strlen () from /lib/libc.so.5

(gdb) bt

#0  0x28183659 in strlen () from /lib/libc.so.5

#1  0x08073c2f in write_string (s=0x652a0036 <Address 0x652a0036 out of
bounds>, f=0x84aa000) at modules/database/fileutil.c:400

#2  0x080753a2 in write_records (ti=0x84a2fa0, f=0x84aa000, recsize=60) at
modules/database/standard.c:723

#3  0x08074d35 in standard_save_table (table=0x8127084) at
modules/database/standard.c:561

#4  0x0804f238 in save_all_dbtables () at databases.c:174

#5  0x08055980 in save_data_now () at main.c:271

#6  0x08055b1e in main (ac=2, av=0xbfbfee80, envp=0xbfbfee8c) at main.c:322

 

 

 

/quote version output:

Unreal3.2.7. irc1.midnight-torrents.com FhiXeOoZE [FreeBSD
ircd7.thehostbusters.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat Apr  1
14:48:44 CST 2006
admin at ircd7.thehostbusters.com:/usr/src/sys/i386/compile/IRCD7  i386=2309]

-

[23:49] -irc1.midnight-torrents.com- OpenSSL 0.9.7e 25 Oct 2004

-

[23:49] -irc1.midnight-torrents.com- zlib 1.2.1

-

NAMESX SAFELIST HCN MAXCHANNELS=30 CHANLIMIT=#:30 MAXLIST=b:60,e:60,I:60
NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20
WALLCHOPS are supported by this server

WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+
CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=Midnight-IRC
CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=~&@%+ EXCEPTS INVEX
are supported by this server

CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server

-

 

Server fundimentals:

 

[wwtk at ircd7]/home/wwtk/ircservices-5.1.3(124): gcc -v

Using built-in specs.

Configured with: FreeBSD/i386 system compiler

Thread model: posix

gcc version 3.4.2 [FreeBSD] 20040728

 

[wwtk at ircd7]/home/wwtk/ircservices-5.1.3(125): gmake -v

GNU Make 3.80

 

IRC services version is 5.1.3

 

Thanks for taking the time to check my issue,

 

WWTK

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: ../attachments/20071109/49d46246/attachment.html